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-bordeaux1.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 - trans3.c (source / functions) Hit Total Coverage
Test: PARI/GP v2.8.0 lcov report (development 17862-bbf675f) Lines: 1675 1830 91.5 %
Date: 2015-05-30 Functions: 106 111 95.5 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 829 1107 74.9 %

Function Name Sort by function name Hit count Sort by hit count
Harmonic 28
R_abs_shallow 0
_jbessel 4046
_jbesselh 147
_kbessel1 2800
apply_eta_correction 35
bernfrac_using_zeta 2878
bernreal 8188949
bernreal_use_zeta 448
bernreal_using_zeta 3172
bessel_get_lim 6566
check_unit_disc 21
cxanalyze 70
cxeint1 217
cxerfc_r1 7
cxpolylog 28
czeta 4557
dblmodulus 14427
dilog 14
double_eta_quotient 2093
e12 2121
eiPi_frac 10402
eint1 29919
eta 42
eta0 42
eta_correction 17276
eta_form 8372
eta_reduced 17262
exp_IPiC 17276
exp_IPiQ 10962
form_to_quad 8372
gerfc 28
get_xinf 980
gexp1 42
glambertW 476
gpolylog 119
gzeta 4753
hbessel1 224
hbessel2 224
hurwitz_p 21
hyperu 14
ibessel 224
incgam 1106
incgam0 4228
incgam_0 33797
incgam_asymp 889
incgam_cf 805
incgamc 2394
incgamspec 280
init_cache 14
inteta 16375
inteta_pol 7
inv_szeta_euler 3186
jbessel 595
jbesselh 308
jbesselhvec 35
jbesselintern 4242
jbesselvec 140
jell 35
kbessel 2583
kbessel1 28
kbessel2 7
kbesselintern 3437
kbesselvec 140
logabs 42
mp_sum_j 259
mpeint1 29618
mplambertW 392
mplambertW0 385
mpveceint1 266
n_s 84112
nbessel 686
optim_zeta 4543
pol_mod_xn 0
polylog 196
polylog0 105
polylogD 21
polylogP 14
polylogvec 14
qq 42
rX_s_eval 528269
reverse 84
ser_addmulXn 21
ser_j 7
serexp0 84
serlambertW 126
sqrt32 1505
sum_jall 259
sumdedekind 28
sumdedekind_coprime 6258
szeta 1505
theta 14
thetanullk 7
to_form 8372
trueE2 13342
trueeta 8834
twistpartialzeta 0
u_sumdedekind_coprime 6251
upper_half 8890
veceint1 49
vecthetanullk 0
vecthetanullk_loop 13342
vecthetanullk_tau 0
veczeta 2405
veczetas 2384
weber0 35
weberf 14
weberf1 14
weberf2 7
zetaBorwein 133
zetap 14

Generated by: LCOV version 1.9