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 to exceed 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.12.0 lcov report (development 23171-a5c0ed393) Lines: 311 323 96.3 %
Date: 2018-10-20 05:38:07 Functions: 30 31 96.8 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
dbllemma526 0
gammamellininvasymp 14
stripzeros 252
ishankelspec 1827
Kderivsmallinit 1834
RgV_MOD2 1834
gammapoles 1834
MOD2 5586
gammamellininv 5733
gammamellininvinit 11788
Klargeinit0 11802
gammamellininvasymp_i 11802
dbllambertW_1 53102
Kderivsmall 59895
dbllambertW0 70755
sumVga 71935
sercoeff 186828
evalvec 208062
fun_vp 487371
lemma526_i 501899
dblcoro526 1517991
get_tmax 4598553
Kderivlarge 4923315
Kderivlarge_optim 4923315
get_D 4935103
gammamellininvrt 4977477
GMi_get_m 4983210
GMi_get_tmax 4983210
GMi_get_VS 5043105
GMi_get_VL 9846630
GMi_get_Vga 9917977

Generated by: LCOV version 1.13