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 - qfisom.c (source / functions) Hit Total Coverage
Test: PARI/GP v2.8.0 lcov report (development 18898-50fc0a2) Lines: 985 1027 95.9 %
Date: 2016-05-04 Functions: 54 54 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 668 774 86.3 %

Function Name Sort by function name Hit count Sort by hit count
ZM_to_GAP 42
ZM_to_zm_canon 203
ZM_trunc_to_zm 12264
ZV_trunc_to_zv 59031
Z_trunc 413203
aut 6566
autom 98
bachcomp 154
bacher 42
checkvecs 182
fingerprint 140
gen_comb 420
gen_group 98
init_bacher 140
init_comb 98
init_flags 140
init_qfauto 182
init_qfgroup 98
init_qfisom 210
is_qfisom 350
iso 518
isometry 42
isostab 476
matgen 16338
operate 1647758
orbdelete 7721
orbit 2807
orbitlen 8414
orbsubtract 2807
possible 10612
qf_to_zmV 203
qfauto 98
qfauto0 98
qfautoexport 14
qfisom 42
qfisom0 42
qfisom_bestmat 126
qfisom_candidates 11928
qfisom_candidates_novec 140
qfisominit 70
qfisominit0 70
qforbits 21
scp 202461
scpforms 4088
scpvecs 4186
scpvector 5410398
stab 728
stabil 7896
unpack_qfisominit 70
zmV_apply_zm 28
zm_apply_zm 28
zm_divmod 7896
zm_maxdiag 336
zv_canon 13896029

Generated by: LCOV version 1.9