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-bordeaux1.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.8.0 lcov report (development 17234-4181bc5) Lines: 1430 1564 91.4 %
Date: 2014-12-18 Functions: 86 90 95.6 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 829 1071 77.4 %

Function Name Sort by function name Hit count Sort by hit count
Vmatrix 980
a4galoisgen 21
automorphismlift 1932
aux 399
checkgal 2023
checkgroup 756
chk_perm 994
conjcyclo 154
embed_disc 17094
embed_roots 1470
fixedfieldfactmod 798
fixedfieldfactor 42
fixedfieldinclusion 539
fixedfieldorbits 1547
fixedfieldsurmer 1659
fixedfieldsympol 1547
freetest 805
frobeniusliftall 581
galois_group 406
galois_test_perm 68460
galoisanalysis 2316
galoisborne 1771
galoisconj 1637
galoisconj0 42
galoisconj1 503
galoisconj2 0
galoisconj2pol 0
galoisconj4 0
galoisconj4_main 2246
galoiscosets 42
galoisdolift 1799
galoisexport 28
galoisfindfrobenius 1680
galoisfindgroups 329
galoisfixedfield 749
galoisfrobeniuslift 1778
galoisfrobeniustest 1598
galoisgen 1722
galoisgenfixedfield 798
galoisgenliftauto 1029
galoisgrouptopol 987
galoisidentify 392
galoisinit 609
galoisisabelian 168
galoisisnormal 56
galoismakepsi 434
galoispermtopol 756
galoispermtopol_i 1218
galoissubfields 42
galoissubgroups 56
get_image 1029
improves 12621
init_group 2316
initgaloisborne 3325
initlift 1799
inittest 805
inittestlift 532
intheadlong 962199
is2sparse 77
is_group 1281
lincomb 3766
listznstarelts 651
makeLden 1701
matheadlong 980
matrixnorm 1918
monomorphismratlift 1932
monoratlift 5112
muldiv 0
notgalois 594
numberofconjugates 503
padicisint 32557
permtopol 5439
polheadlong 45311
poltopermtest 3893
s4galoisgen 21
s4makelift 133
s4releveauto 133
s4test 2331
stpow 2464
sympol_aut_evalmod 798
sympol_eval 2128
sympol_eval_newtonsum 2569
sympol_is1to1_lg 1785
testpermutation 1372
vandermondeinverse 3241
vandermondeinversemod 1813
vandermondeinverseprep 3325
vecheadlong 21532
vectopol 6202
wpow 1029

Generated by: LCOV version 1.9