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.8.0 lcov report (development 19230-c71492b) Lines: 290 301 96.3 %
Date: 2016-07-30 07:10:28 Functions: 53 55 96.4 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
_check_clgp 11914
_member_clgp 11914
check_RES 140
ell_is_complex 224
is_ell 3171
is_ell5 4886
member_a1 574
member_a2 567
member_a3 567
member_a4 1589
member_a6 1589
member_area 245
member_b2 189
member_b4 189
member_b6 189
member_b8 189
member_bid 196
member_bnf 189
member_c4 196
member_c6 196
member_clgp 238
member_codiff 196
member_cyc 6349
member_diff 189
member_disc 2436
member_e 189
member_err 7007
member_eta 224
member_f 833
member_fu 210
member_futu 0
member_gen 2506
member_group 343
member_index 196
member_j 1092
member_mod 980
member_nf 203
member_no 2982
member_omega 238
member_orders 189
member_p 98035
member_pol 5929
member_polabs 224
member_r1 189
member_r2 189
member_reg 210
member_roots 217
member_sign 567
member_t2 189
member_tate 224
member_tu 189
member_tufu 0
member_zk 210
member_zkst 189
nfmats 574

Generated by: LCOV version 1.11