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 21343-6216058) Lines: 313 326 96.0 %
Date: 2017-11-19 06:21:17 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 9058
Klargeinit0 9072
gammamellininvasymp_i 9072
Kderivsmall 39399
dbllambertW_1 42161
dbllambertW0 48842
lemma526_i 118212
evalvec 128570
sercoeff 156133
dblcoro526 302778
fun_vp 396140
get_tmax 1855396
Kderivlarge 2190798
Kderivlarge_optim 2190798
get_D 2199856
gammamellininvrt 2224464
GMi_get_m 2230197
GMi_get_tmax 2230197
GMi_get_VS 2269596
GMi_get_VL 4381596
GMi_get_Vga 4432447

Generated by: LCOV version 1.11