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-bordeaux1.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 16827-3d78da8) Lines: 917 959 95.6 %
Date: 2014-09-29 Functions: 49 49 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 611 708 86.3 %

Function Name Sort by function name Hit count Sort by hit count
ZM_to_GAP 42
ZM_trunc_to_zm 8085
ZV_trunc_to_zv 41482
Z_trunc 304451
aut 4823
autom 63
bachcomp 154
bacher 42
checkvecs 119
fingerprint 91
gen_comb 224
gen_group 63
init_bacher 91
init_comb 49
init_flags 91
init_qfauto 119
init_qfgroup 63
init_qfisom 133
is_qfisom 224
iso 448
isometry 28
isostab 420
matgen 12852
operate 1195320
orbdelete 5299
orbit 2023
orbitlen 6559
orbsubtract 2023
possible 8568
qf_to_zmV 119
qfauto 63
qfauto0 63
qfautoexport 14
qfisom 28
qfisom0 28
qfisom_candidates 8582
qfisom_candidates_novec 91
qfisominit 42
qfisominit0 42
scp 182623
scpforms 2695
scpvecs 2744
scpvector 4398674
stab 504
stabil 6230
unpack_qfisominit 42
zm_divmod 6230
zm_maxdiag 133
zv_canon 10757901

Generated by: LCOV version 1.9