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 - language - members.c (source / functions) Hit Total Coverage
Test: PARI/GP v2.10.0 lcov report (development 22307-7f6745a) Lines: 298 306 97.4 %
Date: 2018-04-22 06:16:17 Functions: 54 56 96.4 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
member_futu 0
member_tufu 0
ellnf_get_prec 98
member_b2 203
member_b4 203
member_b6 203
member_b8 203
member_bnf 203
member_diff 203
member_e 203
member_orders 203
member_r1 203
member_r2 203
member_t2 203
member_zkst 203
member_bid 210
member_c4 210
member_c6 210
member_codiff 210
member_index 210
member_tu 210
member_reg 217
check_RES 224
member_fu 224
member_roots 231
ell_is_complex 238
member_polabs 238
member_zk 238
member_clgp 266
member_eta 266
member_omega 287
member_tate 287
member_nf 301
member_area 308
member_group 434
member_sign 609
nfmats 616
member_j 1106
member_pol 1687
member_a2 1911
member_a3 1911
member_a4 1911
member_a6 1911
member_a1 1918
member_gen 2548
member_disc 2709
member_no 3003
is_ell 3486
member_f 6839
member_err 7623
member_mod 7777
is_ell5 9562
member_cyc 11816
_check_clgp 17451
_member_clgp 17451
member_p 98231

Generated by: LCOV version 1.11