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-bordeaux1.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 18579-f9e35ad) Lines: 1431 1568 91.3 %
Date: 2016-02-06 Functions: 86 90 95.6 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 832 1075 77.4 %

Function Name Sort by function name Hit count Sort by hit count
Vmatrix 1029
a4galoisgen 21
automorphismlift 2044
aux 399
checkgal 2401
checkgroup 777
chk_perm 1015
conjcyclo 182
embed_disc 19376
embed_roots 1799
fixedfieldfactmod 847
fixedfieldfactor 42
fixedfieldinclusion 539
fixedfieldorbits 1617
fixedfieldsurmer 1729
fixedfieldsympol 1617
freetest 854
frobeniusliftall 630
galois_group 427
galois_test_perm 68509
galoisanalysis 2701
galoisborne 1883
galoisconj 1756
galoisconj0 42
galoisconj1 545
galoisconj2 0
galoisconj2pol 0
galoisconj4 0
galoisconj4_main 2708
galoiscosets 42
galoisdolift 1911
galoisexport 28
galoisfindfrobenius 1792
galoisfindgroups 350
galoisfixedfield 770
galoisfrobeniuslift 1890
galoisfrobeniustest 1725
galoisgen 1834
galoisgenfixedfield 847
galoisgenliftauto 1078
galoisgrouptopol 1036
galoisidentify 392
galoisinit 952
galoisisabelian 168
galoisisnormal 56
galoismakepsi 483
galoispermtopol 1015
galoispermtopol_i 1477
galoissubfields 42
galoissubgroups 56
get_image 1078
improves 13111
init_group 2701
initgaloisborne 3773
initlift 1911
inittest 854
inittestlift 581
intheadlong 965566
is2sparse 91
is_group 1302
lincomb 3703
listznstarelts 700
makeLden 1813
matheadlong 1029
matrixnorm 2478
monomorphismratlift 2044
monoratlift 5394
muldiv 0
notgalois 867
numberofconjugates 545
padicisint 32886
permtopol 5866
polheadlong 45458
poltopermtest 4124
s4galoisgen 21
s4makelift 133
s4releveauto 133
s4test 2303
stpow 2562
sympol_aut_evalmod 847
sympol_eval 2198
sympol_eval_newtonsum 2730
sympol_is1to1_lg 1855
testpermutation 1428
vandermondeinverse 3682
vandermondeinversemod 1974
vandermondeinverseprep 3773
vecheadlong 21910
vectopol 6629
wpow 1078

Generated by: LCOV version 1.9