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 - ellsea.c (source / functions) Hit Total Coverage
Test: PARI/GP v2.10.0 lcov report (development 21348-d75f58f) Lines: 997 1162 85.8 %
Date: 2017-11-20 06:21:05 Functions: 77 83 92.8 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
Fp_elldivpol 0
Fq_polmodular_eval 0
RgXY_deflatex 0
Zq_sqrt 0
corr 0
find_isogenous_from_J 0
ellmodulareqn 35
get_seadata 35
seadata_filename 35
FpXQ_elldivpol 42
Fq_to_Flx 68
find_trace_lp1_roots 77
Flxq_elldivpolmod_init 205
Flxq_find_eigen_Frobenius 205
Flxq_find_eigen_value_power 205
find_eigen_value_oneroot 350
find_trace_one_root 385
Flxq_study_eqn 396
Flxq_elldivpol34 410
FpXQ_study_eqn 518
separation 826
Fp_ellcard_SEA 868
get_FqE_group 882
match_and_sort 882
get_bound_bsgs 903
champion 910
Fq_ellcard_SEA 917
FqX_homogenous_div 1183
FqX_numer_isog_abscissa 1190
find_kernel_power 1190
Zq_inv 1463
pari_init_seadata 1538
multiple_crt 1596
BSGS_pre 1652
compute_diff 1652
possible_traces 1652
get_lgatkin 1736
Fq_ellj 2107
find_isogenous_from_Atkin 2338
Zq_ellj 2373
add_atkin 3535
find_trace_Atkin 4242
find_isogenous_from_canonical 4256
find_trace_Elkies_power 4676
Fq_find_eigen_value_power 5255
FqX_homogenous_eval 5460
find_eigen_value_power 5460
Fq_find_eigen_Frobenius 5605
Fq_elldivpolmod_close 5810
compute_u 6013
find_isogenous 6594
find_kernel 7945
Fp_study_eqn 8477
Fq_elldivpolmod 8491
find_trace 9002
get_modular_eqn 9002
study_modular_eqn 9002
list_to_pol 9023
seadata_cache 9023
seadata_parse 9023
Fq_elldivpol2 9135
Fq_elldivpol2d 9135
meqn_j 10227
pari_pthread_init_seadata 11790
Fq_elldivpolmod_init 14096
divpol_free 14301
divpolmod_init 14301
cmp_atkin 14826
find_coeff 15890
rhs 21028
Fq_ellyn 22414
Fq_elldivpol34 28192
set_cost 70791
Zq_pval 84287
Zq_divexact 84322
pari_thread_init_seadata 92347
divpol_ff 93226
Zq_Z_div_safe 136794
value 144242
divpol_f2 145390
cost 179347
divpol 198324
Zq_div 228158

Generated by: LCOV version 1.11