Code coverage tests

This page documents the degree to which the PARI/GP source code is tested by our public test suite, distributed with the source distribution in directory src/test/. This is measured by the gcov utility; we then process gcov output using the lcov frond-end.

We test a few variants depending on Configure flags on the pari.math.u-bordeaux.fr machine (x86_64 architecture), and agregate them in the final report:

The target is 90% coverage for all mathematical modules (given that branches depending on DEBUGLEVEL or DEBUGMEM are not covered). This script is run to produce the results below.

LCOV - code coverage report
Current view: top level - basemath Hit Total Coverage
Test: PARI/GP v2.8.0 lcov report (development 19226-b907b8d) Lines: 79675 86897 91.7 %
Date: 2016-07-29 07:10:27 Functions: 6805 7229 94.1 %
Legend: Rating: low: < 75 % medium: >= 75 % high: >= 90 %

Filename Sort by name Line Coverage Sort by line coverage Functions Sort by function coverage
ZG.c
55.7%55.7%
55.7 % 44 / 79 57.1 % 8 / 14
FpV.c
75.0%75.0%
75.0 % 611 / 815 76.1 % 86 / 113
buch4.c
81.3%81.3%
81.3 % 383 / 471 80.6 % 25 / 31
ifactor1.c
81.6%81.6%
81.6 % 1385 / 1698 89.3 % 75 / 84
Fle.c
83.2%83.2%
83.2 % 232 / 279 75.0 % 30 / 40
RgV.c
83.4%83.4%
83.4 % 441 / 529 86.2 % 75 / 87
ellsea.c
84.3%84.3%
84.3 % 979 / 1161 90.4 % 75 / 83
base2.c
85.7%85.7%
85.7 % 1895 / 2212 93.7 % 149 / 159
polarit3.c
85.9%85.9%
85.9 % 1368 / 1593 88.9 % 128 / 144
polarit2.c
86.0%86.0%
86.0 % 1494 / 1738 91.7 % 122 / 133
gen2.c
86.5%86.5%
86.5 % 1324 / 1531 92.4 % 134 / 145
FpXX.c
87.0%87.0%
87.0 % 719 / 826 93.1 % 94 / 101
alglin2.c
88.6%88.6%
88.6 % 945 / 1066 93.3 % 70 / 75
trans3.c
89.3%89.3%
89.3 % 1712 / 1917 92.3 % 108 / 117
Flx.c
89.9%89.9%
89.9 % 2605 / 2898 90.7 % 313 / 345
map.c
90.0%90.0%
90.0 % 260 / 289 90.9 % 30 / 33
ZV.c
90.0%90.0%
90.0 % 733 / 814 93.7 % 104 / 111
prime.c
90.2%90.2%
90.2 % 561 / 622 95.3 % 61 / 64
hnf_snf.c
90.2%90.2%
90.2 % 1386 / 1537 92.6 % 75 / 81
lll.c
90.4%90.4%
90.4 % 443 / 490 93.5 % 29 / 31
concat.c
90.6%90.6%
90.6 % 307 / 339 100.0 % 15 / 15
alglin3.c
90.7%90.7%
90.7 % 458 / 505 87.2 % 41 / 47
bit.c
90.7%90.7%
90.7 % 372 / 410 91.7 % 33 / 36
gen3.c
90.8%90.8%
90.8 % 2037 / 2244 96.3 % 206 / 214
galconj.c
91.0%91.0%
91.0 % 1414 / 1554 95.5 % 85 / 89
rootpol.c
91.0%91.0%
91.0 % 1508 / 1658 94.0 % 109 / 116
RgX.c
91.1%91.1%
91.1 % 1255 / 1377 93.2 % 138 / 148
FpX_factor.c
91.1%91.1%
91.1 % 1471 / 1614 93.2 % 123 / 132
nffactor.c
91.3%91.3%
91.3 % 1127 / 1234 92.9 % 65 / 70
FpE.c
91.4%91.4%
91.4 % 917 / 1003 92.5 % 98 / 106
ellanal.c
91.6%91.6%
91.6 % 667 / 728 94.8 % 55 / 58
base4.c
91.7%91.7%
91.7 % 1424 / 1553 93.6 % 131 / 140
bb_group.c
91.7%91.7%
91.7 % 499 / 544 97.0 % 32 / 33
arith1.c
91.9%91.9%
91.9 % 2617 / 2847 94.2 % 229 / 243
Qfb.c
92.0%92.0%
92.0 % 833 / 905 93.8 % 91 / 97
arith2.c
92.2%92.2%
92.2 % 543 / 589 96.2 % 76 / 79
lfunutils.c
92.4%92.4%
92.4 % 994 / 1076 95.7 % 88 / 92
base5.c
92.3%92.3%
92.3 % 1032 / 1118 94.8 % 73 / 77
gen1.c
92.3%92.3%
92.3 % 1786 / 1934 100.0 % 89 / 89
buch2.c
92.3%92.3%
92.3 % 2305 / 2496 94.4 % 136 / 144
FpX.c
92.5%92.5%
92.5 % 1228 / 1328 96.1 % 147 / 153
elliptic.c
92.7%92.7%
92.7 % 3605 / 3887 96.6 % 316 / 327
base1.c
93.0%93.0%
93.0 % 1549 / 1665 88.6 % 117 / 132
subcyclo.c
93.3%93.3%
93.3 % 527 / 565 97.4 % 38 / 39
F2x.c
93.2%93.2%
93.2 % 1229 / 1318 96.9 % 154 / 159
alglin1.c
93.2%93.2%
93.2 % 2255 / 2419 92.3 % 203 / 220
buch3.c
93.5%93.5%
93.5 % 1388 / 1484 91.3 % 95 / 104
volcano.c
93.7%93.7%
93.7 % 418 / 446 100.0 % 22 / 22
lfun.c
93.8%93.8%
93.8 % 1232 / 1313 98.5 % 128 / 130
F2xqE.c
93.9%93.9%
93.9 % 401 / 427 94.4 % 51 / 54
Flxq_log.c
93.9%93.9%
93.9 % 419 / 446 100.0 % 27 / 27
base3.c
94.0%94.0%
94.0 % 1369 / 1456 95.7 % 132 / 138
perm.c
94.2%94.2%
94.2 % 540 / 573 96.9 % 62 / 64
trans2.c
94.5%94.5%
94.5 % 958 / 1014 98.4 % 62 / 63
ZX.c
94.5%94.5%
94.5 % 433 / 458 96.5 % 55 / 57
QX_factor.c
94.7%94.7%
94.7 % 727 / 768 95.3 % 41 / 43
buch1.c
94.8%94.8%
94.8 % 636 / 671 93.6 % 44 / 47
FF.c
94.8%94.8%
94.8 % 911 / 961 96.3 % 104 / 108
char.c
94.8%94.8%
94.8 % 551 / 581 100.0 % 47 / 47
subgroup.c
95.3%95.3%
95.3 % 345 / 362 100.0 % 22 / 22
bibli1.c
95.3%95.3%
95.3 % 979 / 1027 92.3 % 60 / 65
polmodular.c
95.4%95.4%
95.4 % 2458 / 2576 100.0 % 145 / 145
polarit1.c
95.5%95.5%
95.5 % 319 / 334 100.0 % 31 / 31
FpXQX_factor.c
95.7%95.7%
95.7 % 786 / 821 93.1 % 67 / 72
FlxqE.c
95.8%95.8%
95.8 % 906 / 946 99.0 % 96 / 97
Hensel.c
95.9%95.9%
95.9 % 514 / 536 97.4 % 38 / 39
hyperell.c
96.0%96.0%
96.0 % 498 / 519 100.0 % 43 / 43
qfisom.c
95.9%95.9%
95.9 % 985 / 1027 100.0 % 54 / 54
polclass.c
96.2%96.2%
96.2 % 921 / 957 98.3 % 59 / 60
bibli2.c
96.4%96.4%
96.4 % 1024 / 1062 95.7 % 89 / 93
modsym.c
96.7%96.7%
96.7 % 2047 / 2116 99.5 % 214 / 215
mellininv.c
96.9%96.9%
96.9 % 316 / 326 100.0 % 30 / 30
trans1.c
97.0%97.0%
97.0 % 1826 / 1883 97.8 % 135 / 138
elltors.c
97.2%97.2%
97.2 % 383 / 394 91.3 % 21 / 23
dirichlet.c
97.3%97.3%
97.3 % 109 / 112 100.0 % 13 / 13
random.c
97.8%97.8%
97.8 % 133 / 136 100.0 % 16 / 16
ellisog.c
98.2%98.2%
98.2 % 642 / 654 100.0 % 54 / 54
qfsolve.c
98.5%98.5%
98.5 % 595 / 604 100.0 % 30 / 30
crvwtors.c
98.8%98.8%
98.8 % 318 / 322 100.0 % 29 / 29
zetamult.c
99.1%99.1%
99.1 % 109 / 110 100.0 % 10 / 10

Generated by: LCOV version 1.11