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 19378-5335519) Lines: 1420 1502 94.5 %
Date: 2016-08-31 06:11:49 Functions: 85 87 97.7 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
Vmatrix 1050
a4galoisgen 21
automorphismlift 1638
aux 399
checkgal 2422
checkgroup 777
chk_perm 1029
conjcyclo 56
embed_disc 19397
embed_roots 1363
fixedfieldfactmod 868
fixedfieldfactor 56
fixedfieldinclusion 553
fixedfieldorbits 1652
fixedfieldsurmer 1764
fixedfieldsympol 1652
freetest 875
frobeniusliftall 665
galois_group 742
galois_test_perm 68530
galoisanalysis 2526
galoisborne 1491
galoisconj 1805
galoisconj0 42
galoisconj1 552
galoisconj4 0
galoisconj4_main 2470
galoiscosets 56
galoisdolift 1505
galoisexport 28
galoisfindfrobenius 1386
galoisfindgroups 350
galoisfixedfield 784
galoisfrobeniuslift 1484
galoisfrobeniustest 1747
galoisgen 1428
galoisgenfixedfield 868
galoisgenliftauto 1099
galoisgrouptopol 378
galoisidentify 392
galoisinit 1491
galoisisabelian 168
galoisisnormal 56
galoismakepsi 497
galoispermtopol 1022
galoispermtopol_i 1505
galoissubfields 42
galoissubgroups 56
get_image 1099
improves 11606
init_group 2526
initgaloisborne 3227
initlift 1505
inittest 875
inittestlift 595
intheadlong 966644
is2sparse 91
is_group 1316
lincomb 3703
listznstarelts 714
makeLden 1407
matheadlong 1050
matrixnorm 2086
monomorphismratlift 1638
monoratlift 5000
muldiv 0
notgalois 1098
numberofconjugates 552
padicisint 33005
permtopol 4634
polheadlong 45584
poltopermtest 3752
s4galoisgen 21
s4makelift 133
s4releveauto 133
s4test 2303
stpow 2604
sympol_aut_evalmod 868
sympol_eval 2233
sympol_eval_newtonsum 2821
sympol_is1to1_lg 1890
testpermutation 1449
vandermondeinverse 3136
vandermondeinverseprep 3227
vecheadlong 22050
vectopol 5495
wpow 1099

Generated by: LCOV version 1.11