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 21343-6216058) Lines: 94977 102504 92.7 %
Date: 2017-11-19 06:21:17 Functions: 8441 8885 95.0 %
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
76.6%76.6%
76.6 % 712 / 930 79.1 % 102 / 129
buch4.c
80.6%80.6%
80.6 % 390 / 484 81.8 % 27 / 33
ifactor1.c
81.1%81.1%
81.1 % 1428 / 1760 87.5 % 84 / 96
Fle.c
83.2%83.2%
83.2 % 232 / 279 75.0 % 30 / 40
aprcl.c
84.6%84.6%
84.6 % 610 / 721 98.1 % 51 / 52
FpXQX_factor.c
84.7%84.7%
84.7 % 1421 / 1678 87.5 % 105 / 120
ellsea.c
85.8%85.8%
85.8 % 997 / 1162 92.8 % 77 / 83
kummer.c
86.0%86.0%
86.0 % 719 / 836 91.1 % 51 / 56
polarit3.c
86.2%86.2%
86.2 % 1307 / 1517 90.8 % 139 / 153
RgV.c
86.4%86.4%
86.4 % 463 / 536 90.6 % 87 / 96
base2.c
86.3%86.3%
86.3 % 2019 / 2339 93.6 % 161 / 172
gen2.c
87.8%87.8%
87.8 % 1357 / 1546 92.7 % 140 / 151
alglin2.c
89.8%89.8%
89.8 % 914 / 1018 94.4 % 68 / 72
base4.c
90.0%90.0%
90.0 % 1303 / 1448 90.9 % 130 / 143
map.c
90.3%90.3%
90.3 % 260 / 288 90.9 % 30 / 33
polarit2.c
90.3%90.3%
90.3 % 1737 / 1924 95.5 % 150 / 157
RgX.c
90.4%90.4%
90.4 % 1453 / 1608 92.9 % 170 / 183
concat.c
90.5%90.5%
90.5 % 304 / 336 100.0 % 15 / 15
prime.c
91.0%91.0%
91.0 % 583 / 641 97.1 % 66 / 68
hnf_snf.c
91.1%91.1%
91.1 % 1493 / 1639 94.4 % 84 / 89
bit.c
91.2%91.2%
91.2 % 372 / 408 91.7 % 33 / 36
lll.c
91.3%91.3%
91.3 % 422 / 462 93.3 % 28 / 30
ZV.c
91.3%91.3%
91.3 % 759 / 831 95.0 % 113 / 119
FpXX.c
91.3%91.3%
91.3 % 821 / 899 95.3 % 101 / 106
rootpol.c
91.4%91.4%
91.4 % 1516 / 1658 94.0 % 109 / 116
alglin3.c
91.6%91.6%
91.6 % 466 / 509 87.8 % 43 / 49
ellanal.c
91.7%91.7%
91.7 % 666 / 726 94.8 % 55 / 58
Qfb.c
91.8%91.8%
91.8 % 850 / 926 93.0 % 93 / 100
FpE.c
91.9%91.9%
91.9 % 982 / 1068 92.1 % 105 / 114
ecpp.c
92.1%92.1%
92.1 % 845 / 917 94.2 % 97 / 103
nffactor.c
92.1%92.1%
92.1 % 1113 / 1208 94.3 % 66 / 70
Flx.c
92.2%92.2%
92.2 % 2833 / 3074 92.2 % 344 / 373
arith1.c
92.3%92.3%
92.3 % 2931 / 3177 93.7 % 267 / 285
base5.c
92.5%92.5%
92.5 % 1031 / 1114 94.7 % 72 / 76
lfunutils.c
92.6%92.6%
92.6 % 1135 / 1226 96.2 % 102 / 106
bb_group.c
92.7%92.7%
92.7 % 519 / 560 97.1 % 33 / 34
perm.c
92.7%92.7%
92.7 % 609 / 657 94.6 % 70 / 74
buch2.c
92.6%92.6%
92.6 % 2303 / 2486 94.7 % 143 / 151
F2x.c
92.8%92.8%
92.8 % 1436 / 1548 94.1 % 174 / 185
gen3.c
92.8%92.8%
92.8 % 2116 / 2281 95.9 % 212 / 221
FpX.c
93.0%93.0%
93.0 % 1241 / 1335 96.6 % 144 / 149
FpX_factor.c
92.9%92.9%
92.9 % 1521 / 1637 95.0 % 134 / 141
arith2.c
93.5%93.5%
93.5 % 600 / 642 96.7 % 88 / 91
gen1.c
93.6%93.6%
93.6 % 1745 / 1865 100.0 % 88 / 88
alglin1.c
93.7%93.7%
93.7 % 3339 / 3565 94.3 % 312 / 331
volcano.c
93.7%93.7%
93.7 % 418 / 446 100.0 % 22 / 22
ZX.c
94.0%94.0%
94.0 % 548 / 583 94.9 % 75 / 79
base3.c
94.0%94.0%
94.0 % 1586 / 1688 95.2 % 180 / 189
elliptic.c
94.1%94.1%
94.1 % 4154 / 4416 97.6 % 369 / 378
F2xqE.c
94.2%94.2%
94.2 % 420 / 446 94.8 % 55 / 58
buch3.c
94.1%94.1%
94.1 % 1392 / 1479 96.3 % 104 / 108
lfun.c
94.2%94.2%
94.2 % 1311 / 1391 98.5 % 133 / 135
bb_hnf.c
94.6%94.6%
94.6 % 469 / 496 95.7 % 44 / 46
buch1.c
94.8%94.8%
94.8 % 636 / 671 93.6 % 44 / 47
base1.c
94.8%94.8%
94.8 % 1421 / 1499 87.3 % 110 / 126
FF.c
94.8%94.8%
94.8 % 1027 / 1083 96.1 % 124 / 129
subcyclo.c
94.9%94.9%
94.9 % 522 / 550 97.6 % 40 / 41
subgroup.c
95.0%95.0%
95.0 % 344 / 362 100.0 % 22 / 22
bibli1.c
95.0%95.0%
95.0 % 1035 / 1089 91.4 % 64 / 70
polmodular.c
95.4%95.4%
95.4 % 2503 / 2625 100.0 % 150 / 150
dirichlet.c
95.5%95.5%
95.5 % 84 / 88 100.0 % 8 / 8
galconj.c
95.4%95.4%
95.4 % 1601 / 1678 98.0 % 99 / 101
modsym.c
95.4%95.4%
95.4 % 2147 / 2250 99.1 % 230 / 232
Flxq_log.c
95.5%95.5%
95.5 % 446 / 467 100.0 % 28 / 28
trans3.c
95.5%95.5%
95.5 % 1797 / 1881 98.3 % 114 / 116
polarit1.c
95.6%95.6%
95.6 % 306 / 320 100.0 % 30 / 30
hyperell.c
95.8%95.8%
95.8 % 482 / 503 100.0 % 41 / 41
QX_factor.c
95.9%95.9%
95.9 % 719 / 750 97.6 % 41 / 42
qfisom.c
95.9%95.9%
95.9 % 985 / 1027 100.0 % 54 / 54
mellininv.c
96.0%96.0%
96.0 % 313 / 326 96.7 % 29 / 30
trans2.c
96.0%96.0%
96.0 % 993 / 1034 100.0 % 63 / 63
Hensel.c
96.2%96.2%
96.2 % 535 / 556 97.9 % 47 / 48
polclass.c
96.3%96.3%
96.3 % 925 / 961 98.3 % 57 / 58
FlxqE.c
97.0%97.0%
97.0 % 916 / 944 99.0 % 96 / 97
ellisog.c
97.1%97.1%
97.1 % 925 / 953 100.0 % 75 / 75
elltors.c
97.3%97.3%
97.3 % 392 / 403 91.7 % 22 / 24
char.c
97.2%97.2%
97.2 % 776 / 798 100.0 % 63 / 63
bibli2.c
97.4%97.4%
97.4 % 1051 / 1079 97.9 % 95 / 97
mftrace.c
97.5%97.5%
97.5 % 6264 / 6425 99.7 % 644 / 646
trans1.c
97.6%97.6%
97.6 % 1971 / 2020 98.6 % 144 / 146
bnflog.c
97.9%97.9%
97.9 % 275 / 281 100.0 % 24 / 24
zetamult.c
98.4%98.4%
98.4 % 246 / 250 95.5 % 21 / 22
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
matperm.c
100.0%
100.0 % 76 / 76 100.0 % 4 / 4
random.c
100.0%
100.0 % 136 / 136 100.0 % 16 / 16

Generated by: LCOV version 1.11