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 - trans3.c (source / functions) Hit Total Coverage
Test: PARI/GP v2.8.0 lcov report (development 19230-c71492b) Lines: 1712 1917 89.3 %
Date: 2016-07-30 07:10:28 Functions: 108 117 92.3 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
Harmonic 28
_jbessel 4046
_jbesselh 140
_kbessel1 2800
apply_eta_correction 35
bernfrac_using_zeta 3305
bernreal 8611178
bernreal_use_zeta 455
bernreal_using_zeta 3599
bessel_get_lim 6566
check_unit_disc 21
coeffEu 0
cxanalyze 70
cxeint1 357
cxerfc_r1 7
cxpolylog 28
czeta 7385
dblmodulus 4559341
dilog 14
double_eta_quotient 2093
e12 2121
eiPi_frac 10402
eint1 32222
eta 56
eta0 56
eta_correction 17276
eta_form 8372
eta_reduced 17262
exp_IPiC 17276
exp_IPiQ 10962
expmx_xs 9534
findextraincgam 4767
form_to_quad 8372
gerfc 28
get_xinf 3801
glambertW 476
gpolylog 119
gzeta 7665
hbessel1 224
hbessel2 224
hurwitz_p 21
hyperu 14
ibessel 224
incgam 1106
incgam0 10948
incgam_0 35904
incgam_asymp 3612
incgam_asymp_partial 0
incgamc 1407
incgamc_i 4767
incgamspec 2394
init_cache 14
inteta 16389
inteta_pol 21
inv_szeta_euler 3613
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 31725
mplambertW 175
mplambertW0 168
mpveceint1 266
mygamma 6314
n_s 122807
nbessel 686
optim_zeta 7371
pol_mod_xn 0
polylog 196
polylog0 105
polylogD 21
polylogP 14
polylogvec 14
qq 56
rX_s_eval 482720
reverse 84
ser_E 0
ser_addmulXn 21
ser_eta 0
ser_j 7
ser_j2 0
serexp0 84
serlambertW 126
sqrt32 1505
sum_jall 259
sumdedekind 28
sumdedekind_coprime 6258
szeta 1498
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 7137
veczetas 7116
weber0 35
weberf 14
weberf1 14
weberf2 7
zetaBorwein 119
zetap 14

Generated by: LCOV version 1.11