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 - hypergeom.c (source / functions) Hit Total Coverage
Test: PARI/GP v2.16.2 lcov report (development 29420-55f63b8cfe) Lines: 682 686 99.4 %
Date: 2024-07-03 09:03:24 Functions: 69 69 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
F01 21
F10 350
F20 56
F21 30254
F21_i 30324
F21finite 4739
F21finite_i 119
F21finitelim 8505
F21finitetaylor 4739
F21ind 29435
F21lam 28
F21taylor 11592
F21taylor1 12572
F21taylor4 189
F21taylor5 91
F21taylor6 84
F21taylorind 24570
F21taylorlim 8505
F31 56
F32 49
FBaux1 4431
FBaux2 8505
Ftaylor 24430
Npoch 114065
Npochden 38465
OK_gadd 5796
Qp_hypergeom 77
RgV_z_add 6048
airy 42
airy_i 70
bind 203
check_hyp1 91
cind 59073
divgamma2 140
fF21 73738
fF31 17472
fF32 11298
f_pochall 2086
f_pochall_alt 371
hypergeom 3031
hypergeom_arg 6062
hypergeom_i 3318
hypersimplify 3297
hyperu 14
hyperu_F11 70
hyperu_i 70
int21 119
intnumsplit 119
is0 73871
islong 12936
isnegint 27811
isnegint2 115997
isnegint_approx 58870
mkendpt 385
mul3 73738
mulgamma2 28819
mulgammav2 28602
multgam 28
myint32 42
normpol2 111888
ok_F32 63
poch 114331
precFtaylor 37674
serhypergeom 63
sumz 63
vnormpol2 75348
vp 161
vpoch 56
zind 111482

Generated by: LCOV version 1.16