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.10.0 lcov report (development 21351-66b5338) Lines: 985 1027 95.9 %
Date: 2017-11-22 06:21:08 Functions: 54 54 100.0 %
Legend: Lines: hit not hit

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

Generated by: LCOV version 1.11