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 - mellininv.c (source / functions) Hit Total Coverage
Test: PARI/GP v2.10.0 lcov report (development 21739-44c3c17) Lines: 311 327 95.1 %
Date: 2018-01-20 06:18:48 Functions: 29 30 96.7 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
dbllemma526 0
gammamellininvasymp 14
stripzeros 182
Kderivsmallinit 1547
RgV_MOD2 1547
gammapoles 1547
ishankelspec 1547
MOD2 4536
gammamellininv 5733
gammamellininvinit 10101
Klargeinit0 10115
gammamellininvasymp_i 10115
Kderivsmall 41289
dbllambertW_1 42294
dbllambertW0 51075
lemma526_i 119554
evalvec 135962
sercoeff 156133
dblcoro526 333341
fun_vp 396140
get_tmax 1996779
Kderivlarge 2329899
Kderivlarge_optim 2329899
get_D 2340000
gammamellininvrt 2365455
GMi_get_m 2371188
GMi_get_tmax 2371188
GMi_get_VS 2412477
GMi_get_VL 4659798
GMi_get_Vga 4712539

Generated by: LCOV version 1.11