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

Generated by: LCOV version 1.13