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.8.0 lcov report (development 18888-55e726a) Lines: 1435 1568 91.5 %
Date: 2016-04-30 Functions: 86 90 95.6 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 840 1079 77.8 %

Function Name Sort by function name Hit count Sort by hit count
Vmatrix 1043
a4galoisgen 21
automorphismlift 2317
aux 399
checkgal 2415
checkgroup 777
chk_perm 1029
conjcyclo 182
embed_disc 19376
embed_roots 1335
fixedfieldfactmod 861
fixedfieldfactor 56
fixedfieldinclusion 553
fixedfieldorbits 1645
fixedfieldsurmer 1757
fixedfieldsympol 1645
freetest 868
frobeniusliftall 665
galois_group 742
galois_test_perm 68523
galoisanalysis 3198
galoisborne 2170
galoisconj 1777
galoisconj0 42
galoisconj1 545
galoisconj2 0
galoisconj2pol 0
galoisconj4 0
galoisconj4_main 3268
galoiscosets 56
galoisdolift 2184
galoisexport 28
galoisfindfrobenius 2065
galoisfindgroups 350
galoisfixedfield 784
galoisfrobeniuslift 2163
galoisfrobeniustest 1753
galoisgen 2107
galoisgenfixedfield 861
galoisgenliftauto 1092
galoisgrouptopol 1057
galoisidentify 392
galoisinit 1491
galoisisabelian 168
galoisisnormal 56
galoismakepsi 497
galoispermtopol 1015
galoispermtopol_i 1477
galoissubfields 42
galoissubgroups 56
get_image 1092
improves 14350
init_group 3198
initgaloisborne 3878
initlift 2184
inittest 868
inittestlift 595
intheadlong 966196
is2sparse 91
is_group 1316
lincomb 3703
listznstarelts 714
makeLden 2086
matheadlong 1043
matrixnorm 2765
monomorphismratlift 2317
monoratlift 5707
muldiv 0
notgalois 1091
numberofconjugates 545
padicisint 32956
permtopol 5922
polheadlong 45584
poltopermtest 4425
s4galoisgen 21
s4makelift 133
s4releveauto 133
s4test 2303
stpow 2590
sympol_aut_evalmod 861
sympol_eval 2226
sympol_eval_newtonsum 2814
sympol_is1to1_lg 1883
testpermutation 1442
vandermondeinverse 3787
vandermondeinversemod 2324
vandermondeinverseprep 3878
vecheadlong 21994
vectopol 6783
wpow 1092

Generated by: LCOV version 1.9