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 20459-9710128) Lines: 985 1027 95.9 %
Date: 2017-04-27 05:33:52 Functions: 54 54 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
ZM_to_GAP 36
ZM_to_zm_canon 174
ZM_trunc_to_zm 10512
ZV_trunc_to_zv 50598
Z_trunc 354174
aut 5628
autom 84
bachcomp 132
bacher 36
checkvecs 156
fingerprint 120
gen_comb 360
gen_group 84
init_bacher 120
init_comb 84
init_flags 120
init_qfauto 156
init_qfgroup 84
init_qfisom 180
is_qfisom 300
iso 444
isometry 36
isostab 408
matgen 14004
operate 1412364
orbdelete 6618
orbit 2406
orbitlen 7212
orbsubtract 2406
possible 9096
qf_to_zmV 174
qfauto 84
qfauto0 84
qfautoexport 12
qfisom 36
qfisom0 36
qfisom_bestmat 108
qfisom_candidates 10224
qfisom_candidates_novec 120
qfisominit 60
qfisominit0 60
qforbits 18
scp 173538
scpforms 3504
scpvecs 3588
scpvector 4637484
stab 624
stabil 6768
unpack_qfisominit 60
zmV_apply_zm 24
zm_apply_zm 24
zm_divmod 6768
zm_maxdiag 288
zv_canon 11910882

Generated by: LCOV version 1.11