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 - ellisog.c (source / functions) Hit Total Coverage
Test: PARI/GP v2.10.0 lcov report (development 21350-3349c1d) Lines: 925 953 97.1 %
Date: 2017-11-21 06:21:18 Functions: 75 75 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
contrib_full_tors 14
ellQ_goodl_l 14
ellnf_goodl_l 21
ellnf_isomat 21
ellnf_modpoly 21
ellnf_prime_degree 21
non_two_torsion_ordinate_char2 49
ellisogenyapply 70
isomatdbl 84
mkisomatdbl 84
derivhasse 98
isomat_perm 133
ellisograph_dummy 154
ellnf_isocrv 154
ellQ_goodl 175
invisogeny_a4a6 245
isogeny_a4a6 245
isog_identity 252
mkisomat 259
ellisograph_p 273
ellQ_exceptional_iso 329
ellQ_isomat 329
corr 336
elkies98 336
ellisog_by_j 336
ellisomat 364
list_to_crv 364
ellnf_get_degree 420
isogeny_from_kernel_point 427
divy 448
ellisog_by_jt 490
twistisogeny 518
update_isogeny_polys 532
ellisograph_a4a6 581
ellisograph_r 581
ellnf_charpoly 602
startor 602
ellisograph_iso 623
non_two_torsion_abscissa 784
mkisomatraw 826
ellisweierstrasspoint 903
ellisogeny 1092
isograph_p 1099
ellcompisog 1155
distmat_pow 1169
etree_distmat 1169
etree_list 1169
non_two_torsion_ordinate_char_not2 1169
RgX_homogenize 1204
starlaw 1204
isog_abscissa 1218
isog_ordinate 1218
contrib_weierstrass_pt 1232
isomat_find 1330
ellnfcompisog 1400
nfispower 1526
ellisog_by_roots 1575
get_isog_vars 1624
RgXY_eval 1680
ellisog_by_Kohel 1743
RgXQX_homogenous_evalpow 1792
ellisograph_Kohel_r 2331
trivial_isogeny 2338
a4a6_divpol 2387
ellisograph_Kohel_iso 2387
isogeny_from_kernel_poly 2884
two_torsion_part 2884
first_three_power_sums 2891
etree_distmatr 3052
etree_listr 3052
make_velu_curve 3255
to_RgX 4032
RgX_homogenous_evalpow 4592
etree_nbnodes 6825
isomat_eq 7791

Generated by: LCOV version 1.11