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.1 lcov report (development 22726-9e20c6a88) Lines: 998 1029 97.0 %
Date: 2018-06-23 05:36:28 Functions: 55 55 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
qfautoexport 14
qforbits 21
check_qfauto 35
ZM_to_GAP 42
bacher 42
zmV_apply_zm 42
zm_apply_zm 42
isometry 56
qfisom 56
qfisom0 56
qfisominit 84
qfisominit0 84
unpack_qfisominit 84
autom 112
gen_group 112
init_qfgroup 112
qfauto 112
qfauto0 112
init_comb 126
bachcomp 154
qfisom_bestmat 154
fingerprint 168
init_bacher 168
init_flags 168
qfisom_candidates_novec 168
checkvecs 224
init_qfauto 224
ZM_to_zm_canon 245
init_qfisom 252
qf_to_zmV 259
zm_maxdiag 406
is_qfisom 420
gen_comb 532
isostab 609
iso 665
stab 840
orbit 3185
orbsubtract 3185
scpforms 5117
scpvecs 5243
aut 7294
orbdelete 8253
stabil 9170
zm_divmod 9947
possible 12432
qfisom_candidates 13132
ZM_trunc_to_zm 15351
matgen 18984
orbitlen 21518
ZV_trunc_to_zv 75873
scp 245574
Z_trunc 544313
operate 4580121
scpvector 7060298
zv_canon 19679366

Generated by: LCOV version 1.13