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 - galconj.c (source / functions) Hit Total Coverage
Test: PARI/GP v2.10.0 lcov report (development 20422-b487f4d) Lines: 1512 1589 95.2 %
Date: 2017-03-22 05:51:54 Functions: 91 93 97.8 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
Vmatrix 1379
a4galoisgen 28
automorphismlift 2142
aux 588
checkgal 3367
checkgroup 1904
checkgroupelts 1701
chk_perm 1491
conjclasses_count 294
conjclasses_expand 294
conjcyclo 63
embed_disc 19453
embed_roots 1430
fixedfieldfactmod 1176
fixedfieldfactor 63
fixedfieldinclusion 784
fixedfieldorbits 2198
fixedfieldsurmer 2275
fixedfieldsympol 2198
freetest 1197
frobeniusliftall 812
galois_group 1393
galois_test_perm 92596
galoisanalysis 3318
galoisborne 1988
galoischartable 294
galoisconj 2065
galoisconj0 42
galoisconj1 637
galoisconj4 0
galoisconj4_main 3206
galoisconjclasses 294
galoiscosets 63
galoisdolift 1946
galoisexport 28
galoisfindfrobenius 1855
galoisfindgroups 455
galoisfixedfield 1022
galoisfrobeniuslift 1918
galoisfrobeniustest 2099
galoisgen 1911
galoisgenfixedfield 1176
galoisgenliftauto 1484
galoisgrouptopol 441
galoisidentify 392
galoisinit 2072
galoisisabelian 168
galoisisnormal 56
galoismakepsi 651
galoispermtopol 1106
galoispermtopol_i 1589
galoissubfields 49
galoissubgroups 63
get_image 1484
groupelts_chartable 294
improves 14877
init_group 3318
initgaloisborne 3677
initlift 1946
inittest 1197
inittestlift 707
intheadlong 985747
is2sparse 119
is_group 2674
lincomb 5138
listznstarelts 812
makeLden 1883
matheadlong 1379
matrixnorm 7683
monomorphismratlift 2142
monoratlift 5961
muldiv 0
notgalois 1407
numberofconjugates 637
padicisint 37555
permtopol 5481
polheadlong 42252
poltopermtest 4144
s4galoisgen 28
s4makelift 196
s4releveauto 196
s4test 3059
stpow 3444
sympol_aut_evalmod 1176
sympol_eval 2520
sympol_eval_newtonsum 3717
sympol_is1to1_lg 2422
testpermutation 1953
vandermondeinverse 3586
vandermondeinverseprep 3677
vecheadlong 24871
vectopol 6615
wpow 1484

Generated by: LCOV version 1.11