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.11.0 lcov report (development 22860-5579deb0b) Lines: 314 326 96.3 %
Date: 2018-07-18 05:36:42 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 189
ishankelspec 1820
Kderivsmallinit 1827
RgV_MOD2 1827
gammapoles 1827
MOD2 5565
gammamellininv 5733
gammamellininvinit 11578
Klargeinit0 11592
gammamellininvasymp_i 11592
dbllambertW_1 52885
Kderivsmall 59776
dbllambertW0 70538
sercoeff 186345
evalvec 207705
fun_vp 486482
lemma526_i 501591
dblcoro526 1516696
get_tmax 4592379
Kderivlarge 4912367
Kderivlarge_optim 4912367
get_D 4923945
gammamellininvrt 4966410
GMi_get_m 4972143
GMi_get_tmax 4972143
GMi_get_VS 5031919
GMi_get_VL 9824734
GMi_get_Vga 9895962

Generated by: LCOV version 1.13