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 20291-5fbfea9) Lines: 1509 1586 95.1 %
Date: 2017-02-25 05:49:34 Functions: 91 93 97.8 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
Vmatrix 1365
a4galoisgen 28
automorphismlift 2128
aux 588
checkgal 3367
checkgroup 1904
checkgroupelts 1701
chk_perm 1491
conjclasses_count 294
conjclasses_expand 294
conjcyclo 63
embed_disc 19397
embed_roots 1401
fixedfieldfactmod 1169
fixedfieldfactor 63
fixedfieldinclusion 784
fixedfieldorbits 2191
fixedfieldsurmer 2268
fixedfieldsympol 2191
freetest 1190
frobeniusliftall 805
galois_group 1386
galois_test_perm 92547
galoisanalysis 3304
galoisborne 1974
galoischartable 294
galoisconj 2058
galoisconj0 42
galoisconj1 637
galoisconj4 0
galoisconj4_main 3199
galoisconjclasses 294
galoiscosets 63
galoisdolift 1932
galoisexport 28
galoisfindfrobenius 1841
galoisfindgroups 455
galoisfixedfield 1022
galoisfrobeniuslift 1904
galoisfrobeniustest 2085
galoisgen 1897
galoisgenfixedfield 1169
galoisgenliftauto 1477
galoisgrouptopol 441
galoisidentify 392
galoisinit 2065
galoisisabelian 168
galoisisnormal 56
galoismakepsi 644
galoispermtopol 1113
galoispermtopol_i 1596
galoissubfields 49
galoissubgroups 63
get_image 1477
groupelts_chartable 294
improves 14821
init_group 3304
initgaloisborne 3628
initlift 1932
inittest 1190
inittestlift 700
intheadlong 983612
is2sparse 119
is_group 2674
lincomb 5803
listznstarelts 805
makeLden 1869
matheadlong 1365
matrixnorm 7669
monomorphismratlift 2128
monoratlift 5913
muldiv 0
notgalois 1407
numberofconjugates 637
padicisint 37408
permtopol 5474
polheadlong 42133
poltopermtest 4095
s4galoisgen 28
s4makelift 196
s4releveauto 196
s4test 3577
stpow 3416
sympol_aut_evalmod 1169
sympol_eval 2513
sympol_eval_newtonsum 3696
sympol_is1to1_lg 2408
testpermutation 1939
vandermondeinverse 3537
vandermondeinverseprep 3628
vecheadlong 24703
vectopol 6608
wpow 1477

Generated by: LCOV version 1.11