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 - modules - kummer.c (source / functions) Hit Total Coverage
Test: PARI/GP v2.8.0 lcov report (development 19044-129ab8a) Lines: 728 842 86.5 %
Date: 2016-06-27 Functions: 52 57 91.2 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 355 539 65.9 %

Function Name Sort by function name Hit count Sort by hit count
Fl_powers_FpV 231
Flm_init 0
Flv_fill 0
Stelt 651
_rnfkummer 308
build_list_Hecke 301
compositum_red 231
compute_beta 322
compute_polrel 252
downtoK 1036
famat_factorback 1218
fix_kernel 0
get_Selmer 301
get_badbnf 504
get_gell 308
get_mmu 602
get_prlist 287
get_przlist 217
get_reverse 252
get_tau 231
get_u 301
grptocol 0
ideallifttoKz 231
idealsqrtn 1148
increment 112
invimsubgroup 126
isconjinprimelist 980
isprimeidealconj 644
isprincipalell 413
isvirtualunit 826
lambdaofelt 539
lambdaofvec 448
lift_if_rational 18557
lifttoKz 350
logall 560
mod_Xell_a 2982
nfX_Z_normalize 252
no_sol 0
ok_congruence 399
ok_sign 105
pol_from_Newton 252
polrelKzK 126
powtau 630
prank 861
prlifttoKz 378
reduce_mod_Qell 490
reducebeta 322
rnfkummer 308
rnfkummersimple 70
split_pol 5964
subgroup_info 287
tauofalg 1666
tauofelt 9926
tauoffamat 1078
tauofideal 140
tauofvec 1246
to_alg 854

Generated by: LCOV version 1.9