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 - qfisom.c (source / functions) Hit Total Coverage
Test: PARI/GP v2.8.0 lcov report (development 16624-25b9976) Lines: 917 959 95.6 %
Date: 2014-06-24 Functions: 49 49 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 611 708 86.3 %

Function Name Sort by function name Hit count Sort by hit count
ZM_to_GAP 30
ZM_trunc_to_zm 5775
ZV_trunc_to_zv 29630
Z_trunc 217465
aut 3370
autom 45
bachcomp 110
bacher 30
checkvecs 85
fingerprint 65
gen_comb 160
gen_group 45
init_bacher 65
init_comb 35
init_flags 65
init_qfauto 85
init_qfgroup 45
init_qfisom 95
is_qfisom 160
iso 320
isometry 20
isostab 300
matgen 8844
operate 855195
orbdelete 3765
orbit 1425
orbitlen 4522
orbsubtract 1425
possible 6120
qf_to_zmV 85
qfauto 45
qfauto0 45
qfautoexport 10
qfisom 20
qfisom0 20
qfisom_candidates 6055
qfisom_candidates_novec 65
qfisominit 30
qfisominit0 30
scp 130445
scpforms 1925
scpvecs 1960
scpvector 3141910
stab 360
stabil 4287
unpack_qfisominit 30
zm_divmod 4287
zm_maxdiag 95
zv_canon 7602398

Generated by: LCOV version 1.9