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 - qfsolve.c (source / functions) Hit Total Coverage
Test: PARI/GP v2.10.0 lcov report (development 21353-12523aa) Lines: 595 604 98.5 %
Date: 2017-11-24 06:20:58 Functions: 30 30 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
qfparam 42
qflocalinvariant 119
blocks4 497
det_minors 784
id 973
qfbreduce 1722
qfbsqrt 2268
qflllgram_indefgoon2 2268
quadclass2 2660
qfb_factorback 3955
qf_apply_transvect_Z 4172
qfsolve 4291
qfsolve_i 4291
check_symmetric 4333
qflocalinvariants 4620
both_pm1 4658
hilberts 7273
qfminimize 8211
qfb 8456
qflllgram_indefgoon 10983
qf_apply_tau 12375
qfsolvemodp 17969
partialgaussred 21203
qflllgram_indef 21203
qftriv 21203
principal_minor 28876
vecextend 33685
kermodp 49805
ZsymM_Z_divexact 61033
completebasis 83497

Generated by: LCOV version 1.11