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 to exceed 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 - ellpadic.c (source / functions) Hit Total Coverage
Test: PARI/GP v2.16.2 lcov report (development 29115-f22e516b23) Lines: 588 611 96.2 %
Date: 2024-03-28 08:06:56 Functions: 47 47 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
ellQp_L 7
ellpadicregulator 7
get_Euler 7
log_prec 7
ellpadiclog 14
ellpadics2_tate 14
ellpadicbsd 28
torsion_order 28
ellpadics2 35
Qp_ascending_Landen 56
ellpadicL 63
ellformaldifferential 70
ellformalexp 70
ellformalpoint 70
ellQp_u2 77
ellpadicL_init 91
ellpadicL_symbol 91
doellQp_Tate 119
ellformallogsigma_t 126
ellpadic_i 126
logsigma_prec 126
tfromx 126
ellQp_ab 133
ellnonsingularmultiple 140
ellpadicheight 140
ellformallog 147
ellQp_AGM 154
ellQp_q 154
FpE_issingular 182
ellpadicfrobenius 189
ellQp_u 210
addii5 224
xmP 224
Qp_agm2_sequence 259
ellformalpoint_i 266
precp_fix 266
doellQp_root 287
doellQp_ab 336
ellformaldifferential_i 343
Qp_descending_Landen 357
addii4 448
ellformalw 497
ellQp_root 546
addii3 672
Tate_prec 707
ellQp_Tate_uniformization 819
rellg 4102

Generated by: LCOV version 1.14