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 22307-7f6745a) Lines: 314 326 96.3 %
Date: 2018-04-22 06:16: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 189
Kderivsmallinit 1603
RgV_MOD2 1603
gammapoles 1603
ishankelspec 1603
MOD2 4669
gammamellininv 5733
gammamellininvinit 11515
Klargeinit0 11529
gammamellininvasymp_i 11529
Kderivsmall 41345
dbllambertW_1 48391
dbllambertW0 52107
evalvec 136109
sercoeff 165520
fun_vp 416685
lemma526_i 491133
dblcoro526 1504985
get_tmax 2000209
Kderivlarge 2332797
Kderivlarge_optim 2332797
get_D 2344312
gammamellininvrt 2368409
GMi_get_m 2374142
GMi_get_tmax 2374142
GMi_get_VS 2415487
GMi_get_VL 4665594
GMi_get_Vga 4718391

Generated by: LCOV version 1.11