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 - ellisog.c (source / functions) Hit Total Coverage
Test: PARI/GP v2.18.1 lcov report (development 30438-dbd0fb03e8) Lines: 1028 1039 98.9 %
Date: 2025-08-04 09:23:24 Functions: 89 89 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
QXQH_eval 1904
RgH_eval 5488
RgXY_eval 9590
_degree 4116
a4a6_divpol 15533
contrib_full_tors 14
contrib_weierstrass_pt 7980
corr 336
derivhasse 98
distmat_pow 5894
divy 476
elkies98 336
ellQ_exceptional_iso 2618
ellQ_goodl 2464
ellQ_goodl_l 182
ellQ_isomat 2618
ellcompisog 1379
ellisog_by_Kohel 10934
ellisog_by_j 1918
ellisog_by_jt 2072
ellisog_by_roots 10766
ellisogeny 1134
ellisogenyapply 70
ellisograph_Kohel_iso 15533
ellisograph_Kohel_r 14588
ellisograph_a4a6 4165
ellisograph_dummy 154
ellisograph_iso 4550
ellisograph_p 3178
ellisograph_r 3451
ellisomat 2933
ellisotree 2184
ellisweierstrasspoint 903
ellmaninconstant 457450
ellnf_charpoly 6188
ellnf_goodl_l 112
ellnf_isocrv 644
ellnf_isomat 112
ellnf_modpoly 105
ellnf_prime_degree 112
ellnf_prime_degree_easy 112
ellnf_prime_degree_hard 49
ellnfcompisog 1834
ellweilcurve 2191
etree_distmat 5894
etree_distmatr 16919
etree_list 5894
etree_listr 16919
etree_nbnodes 43988
fill_LM 3276
first_three_power_sums 12222
get_isog_vars 1876
get_isomat 4382
get_polmodular 4102
idealgen_minpoly 2226
invisogeny_a4a6 280
isog_abscissa 1414
isog_identity 252
isog_ordinate 1414
isogeny_a4a6 280
isogeny_from_kernel_point 427
isogeny_from_kernel_poly 12215
isograph_p 6454
isomat_eq 22134
isomat_find 4340
isomat_perm 539
isomatdbl 714
list_to_crv 2835
make_velu_curve 12586
mkisomat 2506
mkisomatdbl 714
nfispower_quo 3654
nfmkisomat 5894
non_two_torsion_abscissa 812
non_two_torsion_ordinate_char2 49
non_two_torsion_ordinate_char_not2 1365
path_to_manin 2198
shortest_path 2198
stariter 6468
stariter_easy 2240
stariter_hard 2226
starlaw 18634
startor 8414
to_RgX 4760
to_crv 11872
trivial_isogeny 11788
twistisogeny 616
two_torsion_part 12215
update_isogeny_polys 532

Generated by: LCOV version 1.16