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 17566-be4cfd0) Lines: 1430 1564 91.4 %
Date: 2015-02-27 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 1960
aux 399
checkgal 2170
checkgroup 756
chk_perm 994
conjcyclo 175
embed_disc 18963
embed_roots 1498
fixedfieldfactmod 798
fixedfieldfactor 42
fixedfieldinclusion 539
fixedfieldorbits 1547
fixedfieldsurmer 1659
fixedfieldsympol 1547
freetest 805
frobeniusliftall 581
galois_group 406
galois_test_perm 68460
galoisanalysis 2358
galoisborne 1799
galoisconj 1686
galoisconj0 42
galoisconj1 517
galoisconj2 0
galoisconj2pol 0
galoisconj4 0
galoisconj4_main 2358
galoiscosets 42
galoisdolift 1827
galoisexport 28
galoisfindfrobenius 1708
galoisfindgroups 329
galoisfixedfield 749
galoisfrobeniuslift 1806
galoisfrobeniustest 1599
galoisgen 1750
galoisgenfixedfield 798
galoisgenliftauto 1029
galoisgrouptopol 1001
galoisidentify 392
galoisinit 672
galoisisabelian 168
galoisisnormal 56
galoismakepsi 434
galoispermtopol 861
galoispermtopol_i 1323
galoissubfields 42
galoissubgroups 56
get_image 1029
improves 12761
init_group 2358
initgaloisborne 3381
initlift 1827
inittest 805
inittestlift 532
intheadlong 962199
is2sparse 77
is_group 1281
lincomb 3766
listznstarelts 651
makeLden 1729
matheadlong 980
matrixnorm 2044
monomorphismratlift 1960
monoratlift 5174
muldiv 0
notgalois 608
numberofconjugates 517
padicisint 32557
permtopol 5607
polheadlong 45311
poltopermtest 3921
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 3297
vandermondeinversemod 1890
vandermondeinverseprep 3381
vecheadlong 21532
vectopol 6370
wpow 1029

Generated by: LCOV version 1.9