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.10.0 lcov report (development 21183-045fc66) Lines: 92559 100723 91.9 %
Date: 2017-10-19 06:23:01 Functions: 8136 8633 94.2 %
Legend: Rating: low: < 75 % medium: >= 75 % high: >= 90 %

Filename Sort by name Line Coverage Sort by line coverage Functions Sort by function coverage
F2x.c
92.1%92.1%
92.1 % 1450 / 1575 94.1 % 174 / 185
F2xqE.c
94.2%94.2%
94.2 % 420 / 446 94.8 % 55 / 58
FF.c
94.9%94.9%
94.9 % 1033 / 1089 96.1 % 124 / 129
Fle.c
83.2%83.2%
83.2 % 232 / 279 75.0 % 30 / 40
Flx.c
92.0%92.0%
92.0 % 2888 / 3138 92.2 % 341 / 370
FlxqE.c
97.0%97.0%
97.0 % 916 / 944 99.0 % 96 / 97
Flxq_log.c
95.1%95.1%
95.1 % 444 / 467 100.0 % 28 / 28
FpE.c
91.9%91.9%
91.9 % 981 / 1068 92.1 % 105 / 114
FpV.c
75.8%75.8%
75.8 % 643 / 848 77.3 % 92 / 119
FpX.c
93.0%93.0%
93.0 % 1247 / 1341 96.6 % 144 / 149
FpXQX_factor.c
84.7%84.7%
84.7 % 1421 / 1678 87.5 % 105 / 120
FpXX.c
91.3%91.3%
91.3 % 821 / 899 95.3 % 101 / 106
FpX_factor.c
92.9%92.9%
92.9 % 1497 / 1611 95.0 % 133 / 140
Hensel.c
96.2%96.2%
96.2 % 535 / 556 97.9 % 47 / 48
QX_factor.c
95.9%95.9%
95.9 % 719 / 750 97.6 % 41 / 42
Qfb.c
91.8%91.8%
91.8 % 850 / 926 93.0 % 93 / 100
RgV.c
86.4%86.4%
86.4 % 465 / 538 89.8 % 79 / 88
RgX.c
89.6%89.6%
89.6 % 1460 / 1629 91.8 % 167 / 182
ZG.c
55.7%55.7%
55.7 % 44 / 79 57.1 % 8 / 14
ZV.c
91.1%91.1%
91.1 % 772 / 847 94.8 % 110 / 116
ZX.c
92.0%92.0%
92.0 % 527 / 573 93.5 % 72 / 77
alglin1.c
94.6%94.6%
94.6 % 3243 / 3427 95.4 % 292 / 306
alglin2.c
89.0%89.0%
89.0 % 906 / 1018 93.1 % 67 / 72
alglin3.c
91.6%91.6%
91.6 % 470 / 513 87.5 % 42 / 48
aprcl.c
84.6%84.6%
84.6 % 610 / 721 98.1 % 51 / 52
arith1.c
92.3%92.3%
92.3 % 2818 / 3053 93.7 % 251 / 268
arith2.c
93.4%93.4%
93.4 % 596 / 638 96.6 % 86 / 89
base1.c
94.8%94.8%
94.8 % 1425 / 1503 87.3 % 110 / 126
base2.c
86.1%86.1%
86.1 % 2011 / 2335 93.6 % 161 / 172
base3.c
94.0%94.0%
94.0 % 1593 / 1695 95.2 % 180 / 189
base4.c
89.9%89.9%
89.9 % 1314 / 1462 91.0 % 131 / 144
base5.c
92.6%92.6%
92.6 % 1031 / 1113 94.7 % 72 / 76
bb_group.c
92.7%92.7%
92.7 % 519 / 560 97.1 % 33 / 34
bb_hnf.c
95.0%95.0%
95.0 % 435 / 458 95.5 % 42 / 44
bibli1.c
94.9%94.9%
94.9 % 1033 / 1089 91.4 % 64 / 70
bibli2.c
97.4%97.4%
97.4 % 1051 / 1079 97.9 % 95 / 97
bit.c
91.2%91.2%
91.2 % 372 / 408 91.7 % 33 / 36
bnflog.c
97.9%97.9%
97.9 % 275 / 281 100.0 % 24 / 24
buch1.c
94.8%94.8%
94.8 % 636 / 671 93.6 % 44 / 47
buch2.c
92.6%92.6%
92.6 % 2303 / 2486 94.7 % 143 / 151
buch3.c
94.1%94.1%
94.1 % 1392 / 1479 96.3 % 104 / 108
buch4.c
80.6%80.6%
80.6 % 390 / 484 81.8 % 27 / 33
char.c
97.1%97.1%
97.1 % 774 / 797 100.0 % 63 / 63
concat.c
90.5%90.5%
90.5 % 304 / 336 100.0 % 15 / 15
crvwtors.c
98.8%98.8%
98.8 % 318 / 322 100.0 % 29 / 29
dirichlet.c
95.5%95.5%
95.5 % 84 / 88 100.0 % 8 / 8
ecpp.c
92.1%92.1%
92.1 % 845 / 917 94.2 % 97 / 103
ellanal.c
91.7%91.7%
91.7 % 666 / 726 94.8 % 55 / 58
elliptic.c
94.1%94.1%
94.1 % 4154 / 4416 97.6 % 369 / 378
ellisog.c
97.1%97.1%
97.1 % 925 / 953 100.0 % 75 / 75
ellsea.c
85.8%85.8%
85.8 % 997 / 1162 92.8 % 77 / 83
elltors.c
97.3%97.3%
97.3 % 392 / 403 91.7 % 22 / 24
galconj.c
95.4%95.4%
95.4 % 1601 / 1678 98.0 % 99 / 101
gen1.c
93.3%93.3%
93.3 % 1742 / 1867 100.0 % 88 / 88
gen2.c
87.7%87.7%
87.7 % 1351 / 1541 92.6 % 138 / 149
gen3.c
92.5%92.5%
92.5 % 2109 / 2281 95.9 % 212 / 221
hnf_snf.c
91.1%91.1%
91.1 % 1493 / 1639 94.4 % 84 / 89
hyperell.c
95.9%95.9%
95.9 % 490 / 511 100.0 % 41 / 41
ifactor1.c
81.1%81.1%
81.1 % 1428 / 1760 87.5 % 84 / 96
kummer.c
86.0%86.0%
86.0 % 719 / 836 91.1 % 51 / 56
lfun.c
95.5%95.5%
95.5 % 1326 / 1389 98.5 % 133 / 135
lfunutils.c
92.7%92.7%
92.7 % 1137 / 1227 96.2 % 102 / 106
lll.c
91.3%91.3%
91.3 % 422 / 462 93.3 % 28 / 30
map.c
90.3%90.3%
90.3 % 260 / 288 90.9 % 30 / 33
matperm.c
100.0%
100.0 % 76 / 76 100.0 % 4 / 4
mellininv.c
97.2%97.2%
97.2 % 317 / 326 100.0 % 30 / 30
mftrace.c
84.1%84.1%
84.1 % 4200 / 4993 88.6 % 429 / 484
modsym.c
95.4%95.4%
95.4 % 2139 / 2242 99.1 % 228 / 230
nffactor.c
92.1%92.1%
92.1 % 1113 / 1208 94.3 % 66 / 70
perm.c
92.7%92.7%
92.7 % 609 / 657 94.6 % 70 / 74
polarit1.c
95.6%95.6%
95.6 % 306 / 320 100.0 % 30 / 30
polarit2.c
90.6%90.6%
90.6 % 1691 / 1867 95.4 % 145 / 152
polarit3.c
85.4%85.4%
85.4 % 1265 / 1481 90.5 % 133 / 147
polclass.c
96.3%96.3%
96.3 % 925 / 961 98.3 % 57 / 58
polmodular.c
95.4%95.4%
95.4 % 2503 / 2625 100.0 % 150 / 150
prime.c
91.0%91.0%
91.0 % 583 / 641 97.1 % 66 / 68
qfisom.c
95.9%95.9%
95.9 % 985 / 1027 100.0 % 54 / 54
qfsolve.c
98.5%98.5%
98.5 % 595 / 604 100.0 % 30 / 30
random.c
100.0%
100.0 % 136 / 136 100.0 % 16 / 16
rootpol.c
91.3%91.3%
91.3 % 1514 / 1658 94.0 % 109 / 116
subcyclo.c
94.9%94.9%
94.9 % 526 / 554 97.5 % 39 / 40
subgroup.c
95.0%95.0%
95.0 % 344 / 362 100.0 % 22 / 22
trans1.c
96.6%96.6%
96.6 % 1950 / 2018 96.6 % 141 / 146
trans2.c
96.0%96.0%
96.0 % 993 / 1034 100.0 % 63 / 63
trans3.c
95.5%95.5%
95.5 % 1800 / 1884 98.3 % 114 / 116
volcano.c
93.7%93.7%
93.7 % 418 / 446 100.0 % 22 / 22
zetamult.c
98.4%98.4%
98.4 % 246 / 250 95.5 % 21 / 22

Generated by: LCOV version 1.11