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 17420-b2ea0e2) Lines: 1430 1564 91.4 %
Date: 2015-02-01 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 1946
aux 399
checkgal 2023
checkgroup 756
chk_perm 994
conjcyclo 175
embed_disc 18963
embed_roots 1484
fixedfieldfactmod 798
fixedfieldfactor 42
fixedfieldinclusion 539
fixedfieldorbits 1547
fixedfieldsurmer 1659
fixedfieldsympol 1547
freetest 805
frobeniusliftall 581
galois_group 406
galois_test_perm 68460
galoisanalysis 2344
galoisborne 1785
galoisconj 1686
galoisconj0 42
galoisconj1 517
galoisconj2 0
galoisconj2pol 0
galoisconj4 0
galoisconj4_main 2295
galoiscosets 42
galoisdolift 1813
galoisexport 28
galoisfindfrobenius 1694
galoisfindgroups 329
galoisfixedfield 749
galoisfrobeniuslift 1792
galoisfrobeniustest 1599
galoisgen 1736
galoisgenfixedfield 798
galoisgenliftauto 1029
galoisgrouptopol 1001
galoisidentify 392
galoisinit 609
galoisisabelian 168
galoisisnormal 56
galoismakepsi 434
galoispermtopol 756
galoispermtopol_i 1218
galoissubfields 42
galoissubgroups 56
get_image 1029
improves 12691
init_group 2344
initgaloisborne 3353
initlift 1813
inittest 805
inittestlift 532
intheadlong 962199
is2sparse 77
is_group 1281
lincomb 3766
listznstarelts 651
makeLden 1715
matheadlong 980
matrixnorm 1974
monomorphismratlift 1946
monoratlift 5160
muldiv 0
notgalois 608
numberofconjugates 517
padicisint 32557
permtopol 5502
polheadlong 45311
poltopermtest 3907
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 3269
vandermondeinversemod 1827
vandermondeinverseprep 3353
vecheadlong 21532
vectopol 6265
wpow 1029

Generated by: LCOV version 1.9