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.12.0 lcov report (development 23353-42c433a02) Lines: 945 979 96.5 %
Date: 2018-12-15 05:41:59 Functions: 80 81 98.8 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
ellisotree 0
contrib_full_tors 14
ellQ_goodl_l 14
ellnf_goodl_l 21
ellnf_isomat 21
ellnf_modpoly 21
ellnf_prime_degree 21
ellweilcurve 42
get_isomat 42
non_two_torsion_ordinate_char2 49
ellisogenyapply 70
derivhasse 98
isomat_perm 133
isomatdbl 133
mkisomatdbl 133
ellisograph_dummy 154
ellnf_isocrv 154
isog_identity 252
invisogeny_a4a6 259
isogeny_a4a6 259
ellQ_goodl 273
corr 336
elkies98 336
ellisog_by_j 350
ellisograph_p 413
ellnf_get_degree 420
mkisomat 420
ellQ_exceptional_iso 427
ellQ_isomat 427
isogeny_from_kernel_point 427
divy 448
ellisomat 462
list_to_crv 462
ellisog_by_jt 504
update_isogeny_polys 532
twistisogeny 553
get_polmodular 588
ellisograph_r 602
ellnf_charpoly 602
startor 602
ellisograph_a4a6 728
ellisograph_iso 784
non_two_torsion_abscissa 812
fill_LM 826
ellisweierstrasspoint 903
ellisogeny 1092
RgX_homogenize 1204
starlaw 1204
ellcompisog 1239
isograph_p 1239
non_two_torsion_ordinate_char_not2 1239
distmat_pow 1260
etree_distmat 1260
etree_list 1260
nfmkisomat 1260
isog_abscissa 1288
isog_ordinate 1288
isomat_find 1330
contrib_weierstrass_pt 1498
nfispower 1526
ellnfcompisog 1666
get_isog_vars 1708
RgXY_eval 1750
RgXQX_homogenous_evalpow 1792
ellisog_by_roots 1925
ellisog_by_Kohel 2093
trivial_isogeny 2520
ellisograph_Kohel_r 2730
a4a6_divpol 2870
ellisograph_Kohel_iso 2870
isogeny_from_kernel_poly 3269
two_torsion_part 3269
first_three_power_sums 3276
etree_distmatr 3374
etree_listr 3374
make_velu_curve 3640
_degree 3696
to_RgX 4032
RgX_homogenous_evalpow 4928
isomat_eq 7791
etree_nbnodes 7889

Generated by: LCOV version 1.13