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 - language - compat.c (source / functions) Hit Total Coverage
Test: PARI/GP v2.8.0 lcov report (development 17110-9967e23) Lines: 0 60 0.0 %
Date: 2014-11-26 Functions: 0 29 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 35 0.0 %

Function Name Sort by function name Hit count Sort by hit count
_factpol 0
buchfu 0
buchgenforcefu 0
buchgenfu 0
buchinitforcefu 0
buchinitfu 0
buchray 0
buchrayinit 0
buchrayinitgen 0
factoredbase 0
factoreddiscf 0
factorpadic0 0
ghell2 0
lseriesell0 0
nfbasis0 0
nfbasis_flag_translate 0
nfdisc0 0
polylogd 0
polylogdold 0
polylogp 0
principalideal 0
prod0 0
rounderror 0
sigmak0 0
smallbuchinit 0
sturm0 0
sum0 0
suppressed 0
weipell 0

Generated by: LCOV version 1.9