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 21342-bb34613) Lines: 1601 1678 95.4 %
Date: 2017-11-18 06:21:14 Functions: 99 101 98.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
galoisconj4 0
muldiv 0
galoisexport 28
s4galoisgen 28
a4galoisgen 35
galoisconj0 42
galoissubfields 49
cc_char_det 56
galoischardet 56
galoisisnormal 56
conjcyclo 63
fixedfieldfactor 63
galoiscosets 63
galoissubgroups 63
embed_roots 80
is2sparse 119
galoisisabelian 168
s4makelift 196
s4releveauto 196
conjclasses_count 301
galoisconjclasses 301
galoisidentify 392
galoisgrouptopol 441
galoisfindgroups 469
cc_chartable 511
galoischartable 511
aux 588
galoisconj1 637
numberofconjugates 637
galoismakepsi 714
checkgroup 763
inittestlift 770
fixedfieldinclusion 784
frobeniusliftall 875
listznstarelts 875
galoisfixedfield 1022
Qevproj_RgX 1057
galois_group 1225
fixedfieldfactmod 1316
galoisgenfixedfield 1316
sympol_aut_evalmod 1316
freetest 1344
inittest 1344
galoischarpoly 1386
notgalois 1407
checkgaloischar 1442
galoischar_charpoly 1442
chk_perm 1491
galoischar_dim 1498
Vmatrix 1540
matheadlong 1540
galoisgenliftauto 1645
get_image 1645
wpow 1645
galoisfindfrobenius 2100
makeLden 2128
testpermutation 2128
galoisfrobeniuslift 2163
galoisgen 2163
galoisdolift 2191
initlift 2191
galoisborne 2247
galoisfrobeniustest 2261
galoisinit 2324
fixedfieldorbits 2338
fixedfieldsympol 2338
automorphismlift 2387
monomorphismratlift 2387
fixedfieldsurmer 2415
sympol_is1to1_lg 2562
sympol_eval 2660
s4test 3136
galoisconj4_main 3458
galoisanalysis 3570
init_group 3570
stpow 3766
sympol_eval_newtonsum 3941
checkgroupelts 4452
poltopermtest 4536
lincomb 5236
vandermondeinverse 5469
initgaloisborne 5560
vandermondeinverseprep 5560
is_group 5971
monoratlift 6458
galoisconj 10941
galoischar_aut_charpoly 12215
galoispermtopol 14602
galoispermtopol_i 15085
improves 16249
matrixnorm 16615
permtopol 19166
embed_disc 19453
checkgal 19950
vectopol 20300
vecheadlong 26712
cc_id 34783
padicisint 39424
polheadlong 42504
galois_test_perm 92848
intheadlong 1013698

Generated by: LCOV version 1.11