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.10.0 lcov report (development 20459-9710128) Lines: 1824 1908 95.6 %
Date: 2017-04-28 05:33:48 Functions: 115 117 98.3 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
Harmonic 24
_jbessel 3492
_jbesselh 120
_kbessel1 2400
apply_eta_correction 30
bernfrac_using_zeta 8562
bernreal 7464000
bernreal_use_zeta 1392
bernreal_use_zeta_i 2262
bernreal_using_zeta 8568
bessel_get_lim 5628
check_unit_disc 18
coeffEu 408
cxanalyze 60
cxeint1 306
cxerfc_r1 6
cxpolylog 24
czeta 5748
dblmodulus 3874980
dilog 18
double_eta_quotient 1794
e12 1794
eiPi_frac 8892
eint1 2118
eta 54
eta0 54
eta_correction 14808
eta_form 7176
eta_reduced 14796
exp_IPiC 14808
exp_IPiQ 9396
expmx_xs 8658
findextraincgam 4782
form_to_quad 7176
gerfc 24
get_xinf 3276
glambertW 456
gpolylog 120
gzeta 7338
hbessel1 216
hbessel2 216
hurwitz_p 18
hyperu 12
ibessel 216
incgam 948
incgam0 9870
incgam_0 5178
incgam_asymp 2418
incgam_asymp_partial 468
incgamc 1212
incgamc_i 4788
incgamspec 2052
init_cache 12
inteta 14166
inteta_pol 12
inv_szeta_euler 8718
jbessel 654
jbesselh 288
jbesselhvec 30
jbesselintern 3804
jbesselvec 120
jell 36
kbessel 2238
kbessel1 24
kbessel2 6
kbesselintern 2946
kbesselvec 120
logabs 36
mp_sum_j 216
mpeint1 1692
mplambertW 174
mplambertW0 168
mpveceint1 222
mygamma 6558
n_s 87708
nbessel 564
optim_zeta 5736
polylog 174
polylog0 108
polylogD 18
polylogP 12
polylogvec 12
qq 54
rX_s_eval 413904
reverse 72
ser_E 6
ser_addmulXn 18
ser_eta 6
ser_j 12
ser_j2 6
serexp0 72
serlambertW 108
sqrt32 1266
sum_jall 216
sumdedekind 24
sumdedekind_coprime 5364
szeta 2616
theta 12
thetanullk 6
to_form 7176
trueE2 11466
trueeta 7572
u_sumdedekind_coprime 5358
upper_to_cx 7632
veceint1 42
vecthetanullk 0
vecthetanullk_loop 11466
vecthetanullk_tau 0
veczeta 6150
veczetas 6114
weber0 30
weberf 12
weberf1 12
weberf2 6
zetaBorwein 294
zetahurwitz 36
zetap 12

Generated by: LCOV version 1.11