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-bordeaux1.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 17727-c4b959b) Lines: 738 853 86.5 %
Date: 2015-04-19 Functions: 53 58 91.4 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 358 545 65.7 %

Function Name Sort by function name Hit count Sort by hit count
Babai 301
Fl_powers_FpV 231
Flm_init 0
Flv_fill 0
Stelt 651
_rnfkummer 287
build_list_Hecke 280
compositum_red 231
compute_beta 301
compute_polrel 252
downtoK 1036
famat_factorback 1197
fix_kernel 0
get_Selmer 280
get_badbnf 483
get_gell 287
get_mmu 602
get_prlist 266
get_przlist 217
get_reverse 252
get_tau 231
get_u 280
grptocol 0
ideallifttoKz 231
idealsqrtn 1127
increment 70
invimsubgroup 126
isconjinprimelist 896
isprimeidealconj 644
isprincipalell 343
isvirtualunit 826
lambdaofelt 539
lambdaofvec 448
lift_if_rational 18291
lifttoKz 350
logall 546
mod_Xell_a 2982
nfX_Z_normalize 252
no_sol 0
ok_congruence 336
ok_sign 56
pol_from_Newton 252
polrelKzK 126
powtau 630
prank 826
prlifttoKz 378
reduce_mod_Qell 448
reducebeta 301
rnfkummer 287
rnfkummersimple 49
split_pol 5964
subgroup_info 266
tauofalg 1666
tauofelt 9926
tauoffamat 1078
tauofideal 140
tauofvec 1246
to_alg 854

Generated by: LCOV version 1.9