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 16962-5a32637) Lines: 1627 1804 90.2 %
Date: 2014-10-29 Functions: 104 110 94.5 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 801 1091 73.4 %

Function Name Sort by function name Hit count Sort by hit count
Harmonic 28
R_abs_shallow 0
_jbessel 1736
_jbesselh 147
_kbessel1 490
apply_eta_correction 35
bernfrac_using_zeta 2507
bernreal 2213348
bernreal_use_zeta 1015
bernreal_using_zeta 2801
bessel_get_lim 1946
check_unit_disc 21
cxanalyze 70
cxeint1 217
cxerfc_r1 7
cxpolylog 28
czeta 9387
dblmodulus 2961
dilog 14
double_eta_quotient 1967
e12 1925
eiPi_frac 9786
eint1 2037
eta 42
eta0 42
eta_correction 16478
eta_form 7868
eta_reduced 16464
exp_IPiC 16478
exp_IPiQ 10542
form_to_quad 7868
gerfc 28
get_xinf 2520
gexp1 42
glambertW 294
gpolylog 119
gzeta 9464
hbessel1 224
hbessel2 224
hurwitz_p 21
hyperu 14
ibessel 224
incgam 1106
incgam0 4228
incgam_0 5915
incgam_asymp 889
incgam_cf 805
incgamc 2394
incgamspec 280
init_cache 14
inteta 15663
inteta_pol 7
inv_szeta_euler 2815
jbessel 595
jbesselh 308
jbesselhvec 35
jbesselintern 1932
jbesselvec 140
jell 35
kbessel 273
kbessel1 28
kbessel2 7
kbesselintern 1127
kbesselvec 140
logabs 42
mp_sum_j 259
mpeint1 1736
mplambertW 84
mplambertW0 77
mpveceint1 266
n_s 159962
nbessel 686
optim_zeta 9373
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 1337
sum_jall 259
sumdedekind 28
sumdedekind_coprime 5852
szeta 2464
theta 14
thetanullk 7
to_form 7868
trueE2 12901
trueeta 8540
twistpartialzeta 0
u_sumdedekind_coprime 5845
upper_half 8596
veceint1 49
vecthetanullk 0
vecthetanullk_loop 12901
vecthetanullk_tau 0
weber0 35
weberf 14
weberf1 14
weberf2 7
zetaBorwein 525
zetaBorweinRecycled 0
zetap 14

Generated by: LCOV version 1.9