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.12.0 lcov report (development 22872-edcf83abb) Lines: 1599 1680 95.2 %
Date: 2018-07-20 05:36:03 Functions: 101 103 98.1 %
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
cc_char_det 56
galoischardet 56
galoisisnormal 56
galoissubfields 56
conjcyclo 63
galoissubgroups 70
fixedfieldfactor 84
galoiscosets 84
embed_roots 117
galoisisabelian 168
is2sparse 196
s4makelift 196
s4releveauto 196
conjclasses_count 308
galoisconjclasses 308
galoisidentify 392
galoisgrouptopol 442
galoisfindgroups 469
cc_chartable 539
galoischartable 539
aux 588
galoismakepsi 721
galoisconj1 735
numberofconjugates 735
checkgroup 770
inittestlift 777
fixedfieldinclusion 805
chiFT 861
frobeniusliftall 882
listznstarelts 882
galoisfixedfield 1085
galois_group 1239
fixedfieldfactmod 1324
galoisgenfixedfield 1324
sympol_aut_evalmod 1324
freetest 1352
inittest 1352
galoischarpoly 1428
checkgaloischar 1484
galoischar_charpoly 1484
notgalois 1505
galoischar_dim 1540
Vmatrix 1548
matheadlong 1548
chk_perm 1554
galoisgenliftauto 1653
get_image 1653
wpow 1653
galoisfindfrobenius 2087
makeLden 2115
testpermutation 2136
galoisfrobeniuslift 2150
galoisgen 2150
galoisdolift 2178
initlift 2178
galoisborne 2255
galoisfrobeniustest 2276
galoisinit 2310
automorphismlift 2374
monomorphismratlift 2374
fixedfieldorbits 2409
fixedfieldsympol 2409
fixedfieldsurmer 2486
sympol_is1to1_lg 2633
sympol_eval 2731
s4test 2947
galoisconj4_main 3543
galoisanalysis 3655
init_group 3655
stpow 3782
chival 3920
sympol_eval_newtonsum 4020
Qevproj_RgX 4186
poltopermtest 4544
checkgroupelts 4592
lincomb 4963
vandermondeinverse 6059
is_group 6139
initgaloisborne 6150
vandermondeinverseprep 6150
monoratlift 6476
galoisconj 11208
galoischar_aut_charpoly 12341
galoispermtopol 14854
galoispermtopol_i 15337
improves 16190
matrixnorm 16909
permtopol 19434
embed_disc 19453
checkgal 20405
vectopol 20715
vecheadlong 26762
cc_id 36904
padicisint 39466
polheadlong 42532
galois_test_perm 92856
intheadlong 1014042

Generated by: LCOV version 1.13