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 21342-bb34613) Lines: 1797 1881 95.5 %
Date: 2017-11-18 06:21:14 Functions: 114 116 98.3 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
vecthetanullk 0
vecthetanullk_tau 0
cxerfc_r1 7
kbessel2 7
ser_E 7
ser_eta 7
ser_j2 7
thetanullk 7
weberf2 7
hyperu 14
init_cache 14
polylogP 14
polylogvec 14
ser_j 14
theta 14
weberf 14
weberf1 14
zetap 14
check_unit_disc 21
dilog 21
hurwitz_p 21
inteta_pol 21
polylogD 21
ser_addmulXn 21
Harmonic 28
cxpolylog 28
gerfc 28
kbessel1 28
sumdedekind 28
apply_eta_correction 35
jbesselhvec 35
weber0 35
jell 42
logabs 42
zetahurwitz 42
veceint1 49
cxanalyze 70
eta 70
eta0 70
qq 70
reverse 91
serexp0 91
polylog0 126
serlambertW 133
_jbesselh 140
gpolylog 140
jbesselvec 140
kbesselvec 140
mplambertW0 196
mplambertW 203
polylog 203
hbessel1 252
hbessel2 252
ibessel 252
mp_sum_j 252
sum_jall 252
mpveceint1 259
jbesselh 336
zetaBorwein 354
cxeint1 357
coeffEu 476
glambertW 539
incgam_asymp_partial 546
nbessel 658
jbessel 763
incgam 1106
incgamc 1414
sqrt32 1477
bernreal_use_zeta 1638
mpeint1 1974
double_eta_quotient 2093
e12 2093
incgamspec 2394
eint1 2471
kbessel 2611
bernreal_use_zeta_i 2639
_kbessel1 2800
incgam_asymp 2821
szeta 3080
kbesselintern 3437
get_xinf 3822
_jbessel 4074
jbesselintern 4438
findextraincgam 5579
incgamc_i 5586
incgam_0 6041
u_sumdedekind_coprime 6251
sumdedekind_coprime 6258
bessel_get_lim 6566
optim_zeta 6692
czeta 6706
mygamma 7651
veczetas 7679
veczeta 7721
eta_form 8372
form_to_quad 8372
to_form 8372
gzeta 8589
trueeta 8862
upper_to_cx 8932
bernfrac_using_zeta 10033
bernreal_using_zeta 10040
expmx_xs 10101
inv_szeta_euler 10218
eiPi_frac 10374
exp_IPiQ 10990
incgam0 11515
trueE2 13440
vecthetanullk_loop 13440
inteta 16417
eta_reduced 17290
eta_correction 17304
exp_IPiC 17304
rX_s_eval 487288
dblmodulus 4471174
bernreal 8593923

Generated by: LCOV version 1.11