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 20459-9710128) Lines: 1512 1589 95.2 %
Date: 2017-04-29 05:33:44 Functions: 91 93 97.8 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
Vmatrix 1182
a4galoisgen 24
automorphismlift 1836
aux 504
checkgal 2886
checkgroup 1632
checkgroupelts 1458
chk_perm 1278
conjclasses_count 252
conjclasses_expand 252
conjcyclo 54
embed_disc 16674
embed_roots 1200
fixedfieldfactmod 1008
fixedfieldfactor 54
fixedfieldinclusion 672
fixedfieldorbits 1884
fixedfieldsurmer 1950
fixedfieldsympol 1884
freetest 1026
frobeniusliftall 696
galois_group 1194
galois_test_perm 79368
galoisanalysis 2844
galoisborne 1704
galoischartable 252
galoisconj 1770
galoisconj0 36
galoisconj1 546
galoisconj4 0
galoisconj4_main 2748
galoisconjclasses 252
galoiscosets 54
galoisdolift 1668
galoisexport 24
galoisfindfrobenius 1590
galoisfindgroups 390
galoisfixedfield 876
galoisfrobeniuslift 1644
galoisfrobeniustest 1788
galoisgen 1638
galoisgenfixedfield 1008
galoisgenliftauto 1272
galoisgrouptopol 378
galoisidentify 336
galoisinit 1776
galoisisabelian 144
galoisisnormal 48
galoismakepsi 558
galoispermtopol 948
galoispermtopol_i 1362
galoissubfields 42
galoissubgroups 54
get_image 1272
groupelts_chartable 252
improves 12750
init_group 2844
initgaloisborne 3150
initlift 1668
inittest 1026
inittestlift 606
intheadlong 844926
is2sparse 102
is_group 2292
lincomb 4404
listznstarelts 696
makeLden 1614
matheadlong 1182
matrixnorm 6624
monomorphismratlift 1836
monoratlift 5142
muldiv 0
notgalois 1206
numberofconjugates 546
padicisint 32190
permtopol 4698
polheadlong 36216
poltopermtest 3552
s4galoisgen 24
s4makelift 168
s4releveauto 168
s4test 2622
stpow 2952
sympol_aut_evalmod 1008
sympol_eval 2160
sympol_eval_newtonsum 3186
sympol_is1to1_lg 2076
testpermutation 1674
vandermondeinverse 3072
vandermondeinverseprep 3150
vecheadlong 21318
vectopol 5670
wpow 1272

Generated by: LCOV version 1.11