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 22303-eb3e11d) Lines: 1602 1679 95.4 %
Date: 2018-04-21 06:16:28 Functions: 99 101 98.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
Qevproj_RgX 1057
Vmatrix 1548
a4galoisgen 35
automorphismlift 2395
aux 588
cc_char_det 56
cc_chartable 511
cc_id 34783
checkgal 19999
checkgaloischar 1442
checkgroup 770
checkgroupelts 4452
chk_perm 1533
conjclasses_count 301
conjcyclo 63
embed_disc 19453
embed_roots 101
fixedfieldfactmod 1324
fixedfieldfactor 105
fixedfieldinclusion 826
fixedfieldorbits 2388
fixedfieldsurmer 2465
fixedfieldsympol 2388
freetest 1352
frobeniusliftall 882
galois_group 1232
galois_test_perm 92856
galoisanalysis 3585
galoisborne 2297
galoischar_aut_charpoly 12215
galoischar_charpoly 1442
galoischar_dim 1498
galoischardet 56
galoischarpoly 1386
galoischartable 511
galoisconj 11012
galoisconj0 42
galoisconj1 644
galoisconj4 0
galoisconj4_main 3473
galoisconjclasses 301
galoiscosets 105
galoisdolift 2199
galoisexport 28
galoisfindfrobenius 2108
galoisfindgroups 469
galoisfixedfield 1064
galoisfrobeniuslift 2171
galoisfrobeniustest 2276
galoisgen 2171
galoisgenfixedfield 1324
galoisgenliftauto 1653
galoisgrouptopol 442
galoisidentify 392
galoisinit 2331
galoisisabelian 168
galoisisnormal 56
galoismakepsi 721
galoispermtopol 14602
galoispermtopol_i 15085
galoissubfields 56
galoissubgroups 70
get_image 1653
improves 16274
init_group 3585
initgaloisborne 6143
initlift 2199
inittest 1352
inittestlift 777
intheadlong 1014042
is2sparse 119
is_group 6020
lincomb 4963
listznstarelts 882
makeLden 2136
matheadlong 1548
matrixnorm 16686
monomorphismratlift 2395
monoratlift 6490
muldiv 0
notgalois 1414
numberofconjugates 644
padicisint 39466
permtopol 19182
polheadlong 42532
poltopermtest 4565
s4galoisgen 28
s4makelift 196
s4releveauto 196
s4test 2947
stpow 3782
sympol_aut_evalmod 1324
sympol_eval 2710
sympol_eval_newtonsum 4027
sympol_is1to1_lg 2612
testpermutation 2136
vandermondeinverse 6052
vandermondeinverseprep 6143
vecheadlong 26762
vectopol 20610
wpow 1653

Generated by: LCOV version 1.11