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 22303-eb3e11d) Lines: 96956 104329 92.9 %
Date: 2018-04-21 06:16:28 Functions: 8714 9171 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
60.3%60.3%
60.3 % 44 / 73 57.1 % 8 / 14
FpV.c
75.3%75.3%
75.3 % 706 / 937 79.4 % 104 / 131
Fle.c
86.8%86.8%
86.8 % 296 / 341 79.6 % 39 / 49
buch4.c
80.6%80.6%
80.6 % 390 / 484 81.8 % 27 / 33
crvwtors.c
84.2%84.2%
84.2 % 271 / 322 82.8 % 24 / 29
FpXQX_factor.c
83.8%83.8%
83.8 % 1529 / 1824 86.2 % 125 / 145
ifactor1.c
80.2%80.2%
80.2 % 1462 / 1823 87.0 % 87 / 100
base1.c
95.0%95.0%
95.0 % 1534 / 1614 87.6 % 113 / 129
alglin3.c
91.6%91.6%
91.6 % 466 / 509 87.8 % 43 / 49
FpXX.c
84.0%84.0%
84.0 % 827 / 984 88.6 % 101 / 114
polarit3.c
87.3%87.3%
87.3 % 1304 / 1493 89.8 % 141 / 157
base4.c
90.2%90.2%
90.2 % 1400 / 1552 90.9 % 140 / 154
bibli1.c
95.0%95.0%
95.0 % 1035 / 1089 91.4 % 64 / 70
kummer.c
86.5%86.5%
86.5 % 743 / 859 91.5 % 54 / 59
elltors.c
97.3%97.3%
97.3 % 394 / 405 91.7 % 22 / 24
bit.c
91.2%91.2%
91.2 % 372 / 408 91.7 % 33 / 36
RgV.c
88.6%88.6%
88.6 % 475 / 536 91.7 % 88 / 96
FpE.c
91.8%91.8%
91.8 % 980 / 1068 92.1 % 105 / 114
Flx.c
92.1%92.1%
92.1 % 2831 / 3075 92.2 % 344 / 373
gen2.c
87.7%87.7%
87.7 % 1321 / 1507 92.5 % 135 / 146
bb_hnf.c
91.1%91.1%
91.1 % 581 / 638 92.7 % 51 / 55
RgX.c
90.4%90.4%
90.4 % 1452 / 1607 92.9 % 171 / 184
Qfb.c
91.8%91.8%
91.8 % 850 / 926 93.0 % 93 / 100
ellanal.c
91.6%91.6%
91.6 % 665 / 726 93.1 % 54 / 58
lll.c
91.8%91.8%
91.8 % 424 / 462 93.3 % 28 / 30
buch1.c
94.8%94.8%
94.8 % 640 / 675 93.6 % 44 / 47
arith1.c
92.4%92.4%
92.4 % 2946 / 3188 93.8 % 270 / 288
rootpol.c
91.5%91.5%
91.5 % 1519 / 1661 94.0 % 109 / 116
FpX_factor.c
92.9%92.9%
92.9 % 1234 / 1329 94.1 % 111 / 118
F2x.c
92.3%92.3%
92.3 % 1422 / 1541 94.1 % 174 / 185
buch2.c
93.5%93.5%
93.5 % 2338 / 2500 94.1 % 144 / 153
FpX.c
90.8%90.8%
90.8 % 1311 / 1444 94.5 % 154 / 163
nffactor.c
92.5%92.5%
92.5 % 1152 / 1246 94.5 % 69 / 73
hnf_snf.c
91.0%91.0%
91.0 % 1520 / 1670 94.5 % 86 / 91
alglin1.c
93.1%93.1%
93.1 % 3416 / 3670 94.7 % 338 / 357
base5.c
92.5%92.5%
92.5 % 1031 / 1114 94.7 % 72 / 76
F2xqE.c
94.2%94.2%
94.2 % 420 / 446 94.8 % 55 / 58
alglin2.c
90.6%90.6%
90.6 % 952 / 1051 94.9 % 74 / 78
perm.c
93.2%93.2%
93.2 % 653 / 701 94.9 % 75 / 79
ZX.c
94.0%94.0%
94.0 % 552 / 587 95.1 % 77 / 81
ZV.c
91.2%91.2%
91.2 % 765 / 839 95.1 % 116 / 122
ecpp.c
90.7%90.7%
90.7 % 618 / 681 95.3 % 81 / 85
base3.c
93.9%93.9%
93.9 % 1593 / 1697 95.2 % 180 / 189
zetamult.c
98.4%98.4%
98.4 % 246 / 250 95.5 % 21 / 22
polarit2.c
90.0%90.0%
90.0 % 1781 / 1979 95.4 % 166 / 174
FF.c
94.7%94.7%
94.7 % 1068 / 1128 95.6 % 129 / 135
prime.c
90.8%90.8%
90.8 % 624 / 687 95.9 % 70 / 73
buch3.c
94.1%94.1%
94.1 % 1392 / 1479 96.3 % 104 / 108
lfunutils.c
92.2%92.2%
92.2 % 1179 / 1279 96.3 % 104 / 108
gen3.c
92.5%92.5%
92.5 % 2037 / 2202 96.2 % 204 / 212
mellininv.c
96.3%96.3%
96.3 % 314 / 326 96.7 % 29 / 30
arith2.c
93.5%93.5%
93.5 % 600 / 642 96.7 % 88 / 91
bb_group.c
92.7%92.7%
92.7 % 519 / 560 97.1 % 33 / 34
subcyclo.c
94.9%94.9%
94.9 % 522 / 550 97.6 % 40 / 41
ellsea.c
95.9%95.9%
95.9 % 1118 / 1166 97.6 % 81 / 83
QX_factor.c
95.9%95.9%
95.9 % 719 / 750 97.6 % 41 / 42
elliptic.c
93.4%93.4%
93.4 % 3710 / 3973 97.7 % 339 / 347
bibli2.c
97.3%97.3%
97.3 % 1034 / 1063 97.9 % 93 / 95
Hensel.c
96.4%96.4%
96.4 % 537 / 557 97.9 % 47 / 48
aprcl.c
84.6%84.6%
84.6 % 610 / 721 98.1 % 51 / 52
galconj.c
95.4%95.4%
95.4 % 1602 / 1679 98.0 % 99 / 101
base2.c
94.6%94.6%
94.6 % 2010 / 2125 98.2 % 160 / 163
polclass.c
97.1%97.1%
97.1 % 842 / 867 98.3 % 59 / 60
trans3.c
95.5%95.5%
95.5 % 1888 / 1977 98.3 % 117 / 119
lfun.c
95.4%95.4%
95.4 % 1343 / 1408 98.5 % 133 / 135
trans1.c
97.3%97.3%
97.3 % 2017 / 2072 98.7 % 149 / 151
FlxqE.c
97.0%97.0%
97.0 % 917 / 945 99.0 % 96 / 97
mftrace.c
97.3%97.3%
97.3 % 7089 / 7283 99.6 % 732 / 735
modsym.c
97.5%97.5%
97.5 % 2549 / 2615 99.6 % 274 / 275
matperm.c
100.0%
100.0 % 78 / 78 100.0 % 4 / 4
dirichlet.c
95.5%95.5%
95.5 % 84 / 88 100.0 % 8 / 8
concat.c
90.5%90.5%
90.5 % 304 / 336 100.0 % 15 / 15
random.c
100.0%
100.0 % 142 / 142 100.0 % 16 / 16
Ser.c
100.0%
100.0 % 121 / 121 100.0 % 17 / 17
volcano.c
93.5%93.5%
93.5 % 417 / 446 100.0 % 22 / 22
subgroup.c
95.0%95.0%
95.0 % 344 / 362 100.0 % 22 / 22
bnflog.c
97.9%97.9%
97.9 % 275 / 281 100.0 % 24 / 24
Flxq_log.c
95.3%95.3%
95.3 % 445 / 467 100.0 % 28 / 28
polarit1.c
96.2%96.2%
96.2 % 308 / 320 100.0 % 30 / 30
qfsolve.c
98.5%98.5%
98.5 % 595 / 604 100.0 % 30 / 30
map.c
95.5%95.5%
95.5 % 275 / 288 100.0 % 33 / 33
hyperell.c
95.8%95.8%
95.8 % 482 / 503 100.0 % 41 / 41
ellpadic.c
96.0%96.0%
96.0 % 581 / 605 100.0 % 47 / 47
qfisom.c
97.0%97.0%
97.0 % 999 / 1030 100.0 % 55 / 55
char.c
97.3%97.3%
97.3 % 783 / 805 100.0 % 63 / 63
trans2.c
96.3%96.3%
96.3 % 1009 / 1048 100.0 % 65 / 65
ellisog.c
97.2%97.2%
97.2 % 946 / 973 100.0 % 76 / 76
gen1.c
94.0%94.0%
94.0 % 1723 / 1833 100.0 % 88 / 88
polmodular.c
97.1%97.1%
97.1 % 2344 / 2414 100.0 % 148 / 148

Generated by: LCOV version 1.11