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.11.0 lcov report (development 22851-e834f1b2f) Lines: 1897 2012 94.3 %
Date: 2018-07-16 05:36:59 Functions: 117 119 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
polylogP 14
polylogvec 14
ser_j 14
theta 14
weberf 14
weberf1 14
zetap 14
zetap_i 14
Harmonic 21
RgXn_eta 21
check_unit_disc 21
cxpolylog 21
dilog 21
polylogD 21
ser_addmulXn 21
gerfc 28
kbessel1 28
sumdedekind 28
apply_eta_correction 35
jbesselhvec 35
weber0 35
jell 42
logabs 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
init_cache 161
hurwitzp_i 168
hurwitzp 175
mplambertW0 196
mplambertW 203
polylog 203
zetahurwitz 217
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
sqrt32 1323
incgamc 1414
e12 1939
mpeint1 1974
bernreal_use_zeta 1976
double_eta_quotient 2093
incgamspec 2394
szeta 2457
bernreal_use_zeta_i 2459
eint1 2471
kbessel 2611
_kbessel1 2800
incgam_asymp 2821
kbesselintern 3437
get_xinf 3829
_jbessel 4074
jbesselintern 4438
binsplit 5138
findextraincgam 5579
incgamc_i 5586
incgam_0 6041
u_sumdedekind_coprime 6251
sumdedekind_coprime 6258
bessel_get_lim 6566
optim_zeta 6734
czeta 6748
mygamma 7651
bernfrac_using_zeta 7740
bernreal_using_zeta 7747
inv_szeta_euler 8056
eta_form 8372
form_to_quad 8372
to_form 8372
gzeta 8638
trueeta 8869
veczetas 8904
upper_to_cx 8939
veczeta 8946
expmx_xs 10101
eiPi_frac 10220
exp_IPiQ 10997
incgam0 11515
vecthetanullk_loop 13461
cxEk 13720
inteta 16436
eta_reduced 17297
eta_correction 17311
exp_IPiC 17311
rX_s_eval 487288
bernreal 8619961
dblmodulus 9955066

Generated by: LCOV version 1.13