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.10.0 lcov report (development 19828-fe528f7) Lines: 720 837 86.0 %
Date: 2016-12-07 05:49:12 Functions: 51 56 91.1 %
Legend: Lines: hit not hit

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 420
build_list_Hecke 413
compositum_red 231
compute_beta 434
compute_polrel 252
downtoK 1036
famat_factorback 1330
fix_kernel 0
get_Selmer 413
get_badbnf 616
get_gell 420
get_mmu 602
get_prlist 399
get_przlist 217
get_tau 231
get_u 413
grptocol 0
ideallifttoKz 231
idealsqrtn 1260
increment 140
invimsubgroup 126
isconjinprimelist 1092
isprimeidealconj 644
isprincipalell 469
isvirtualunit 826
lambdaofelt 539
lambdaofvec 448
lift_if_rational 19747
lifttoKz 343
logall 672
mod_Xell_a 2982
nfX_Z_normalize 252
no_sol 0
ok_congruence 539
ok_sign 259
pol_from_Newton 252
polrelKzK 126
powtau 630
prank 1085
prlifttoKz 378
reduce_mod_Qell 434
reducebeta 434
rnfkummer 420
rnfkummersimple 182
split_pol 5964
subgroup_info 399
tauofalg 1827
tauofelt 9961
tauoffamat 1162
tauofideal 140
tauofvec 1330
to_alg 854

Generated by: LCOV version 1.11