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 - kummer.c (source / functions) Hit Total Coverage
Test: PARI/GP v2.10.0 lcov report (development 21342-bb34613) Lines: 719 836 86.0 %
Date: 2017-11-18 06:21:14 Functions: 51 56 91.1 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
Flm_init 0
Flv_fill 0
fix_kernel 0
grptocol 0
no_sol 0
invimsubgroup 126
polrelKzK 126
increment 140
tauofideal 140
rnfkummersimple 182
get_przlist 217
Fl_powers_FpV 231
compositum_red 231
get_tau 231
ideallifttoKz 231
compute_polrel 252
nfX_Z_normalize 252
pol_from_Newton 252
ok_sign 259
lifttoKz 343
prlifttoKz 378
get_prlist 399
subgroup_info 399
build_list_Hecke 413
get_Selmer 413
get_u 413
_rnfkummer 420
get_gell 420
rnfkummer 420
compute_beta 434
reduce_mod_Qell 434
reducebeta 434
lambdaofvec 448
tauofalg 455
isprincipalell 469
lambdaofelt 539
ok_congruence 539
get_mmu 602
get_badbnf 616
powtau 630
isprimeidealconj 644
Stelt 651
logall 672
isvirtualunit 826
to_alg 854
downtoK 1036
prank 1085
isconjinprimelist 1092
tauoffamat 1162
idealsqrtn 1260
famat_factorback 1330
tauofvec 1330
mod_Xell_a 2982
split_pol 5964
tauofelt 9940
lift_if_rational 34314

Generated by: LCOV version 1.11