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.11.0 lcov report (development 22860-5579deb0b) Lines: 1116 1164 95.9 %
Date: 2018-07-18 05:36:42 Functions: 82 84 97.6 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
Fp_elldivpol 0
Zq_sqrt 0
ellmodulareqn 35
FpXQ_elldivpol 42
find_isogenous_from_J 49
Fq_to_Flx 68
Fq_polmodular_eval 70
find_trace_lp1_roots 70
corr 98
get_seadata 98
seadata_filename 98
RgXY_deflatex 168
Flxq_elldivpolmod_init 219
Flxq_find_eigen_Frobenius 219
Flxq_find_eigen_value_power 219
Flxq_study_eqn 389
Flxq_elldivpol34 438
Flxq_rhs 438
find_eigen_value_oneroot 483
find_trace_one_root 518
separation 889
get_FqE_group 945
match_and_sort 945
Fp_ellcard_SEA 973
champion 973
get_bound_bsgs 994
Fq_ellcard_SEA 1022
Zq_inv 1092
FqX_homogenous_div 1288
FqX_numer_isog_abscissa 1533
find_kernel_power 1533
pari_init_seadata 1545
multiple_crt 1757
BSGS_pre 1778
compute_diff 1778
possible_traces 1778
get_lgatkin 1862
find_isogenous_from_Atkin 2464
Zq_ellj 2534
Fq_ellj 2555
add_atkin 3864
find_trace_Atkin 4571
find_isogenous_from_canonical 4844
find_trace_Elkies_power 5075
Fq_find_eigen_value_power 5612
find_eigen_value_power 5831
Fq_find_eigen_Frobenius 6095
FqX_homogenous_eval 6139
compute_u 6279
Fq_elldivpolmod_close 6314
find_isogenous 7357
find_kernel 8722
Fp_study_eqn 9205
Fq_elldivpolmod 9618
list_to_pol 9688
seadata_parse 9688
Fq_study_eqn 9716
find_trace 9723
get_modular_eqn 9723
study_modular_eqn 9723
seadata_cache 9744
Fq_elldivpol2 10255
Fq_elldivpol2d 10255
pari_pthread_init_seadata 11066
meqn_j 11277
Fq_elldivpolmod_init 15713
divpol_free 15932
divpolmod_init 15932
cmp_atkin 16198
find_coeff 17444
rhs 22816
Fq_ellyn 23506
Fq_elldivpol34 31426
set_cost 74739
Zq_pval 91084
Zq_divexact 91119
divpol_ff 102186
pari_thread_init_seadata 112370
Zq_Z_div_safe 147280
value 152166
divpol_f2 156702
cost 189399
divpol 214641
Zq_div 248262

Generated by: LCOV version 1.13