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.16.1 lcov report (development 28676-df828f1c94) Lines: 350 355 98.6 %
Date: 2023-08-26 07:54:43 Functions: 40 40 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
dbllemma526 14
gammamellininvasymp 28
stripzeros 252
ishankelspec 2885
Kderivsmallinit 2891
RgV_MOD2 2891
gammapoles 2891
get_SM 2926
get_SMd 2926
GMi_get_Vga 5726
gammamellininv 5824
MOD2 9408
RMOD2 9408
get_gamma 10402
RgV_is_CV 14035
gammamellininvinit 14042
Klargeinit 14049
gammamellininvasymp_i 14049
get_Vga 14063
sumVga 17171
Kderivsmall 73969
evalvec 257425
sercoeff 472332
lemma526_i 532123
vp 876818
dblcoro526 1749992
get_tmax 4456390
GMi_get_M 4797072
Kderivlarge_optim 4797074
GMi_get_cd 4797086
GMi_get_m 4797103
Kderivlarge 4797142
GMi_get_status 4797144
get_D 4811136
gammamellininvrt 4865482
GMi_get_tmax 4871208
gammamellininvrt_i 4871360
GMi_get_VS 4945051
GMi_get_A2 9593513
GMi_get_degree 9673244

Generated by: LCOV version 1.14