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.11.0 lcov report (development 22851-e834f1b2f) Lines: 741 857 86.5 %
Date: 2018-07-16 05:36:59 Functions: 54 59 91.5 %
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
famat_factorback 140
increment 140
tauofideal 140
get_przlist 217
_rnfkummer_step18 231
_rnfkummer_step4 231
_rnfkummer_step5 231
compositum_red 231
get_tau 231
ideallifttoKz 231
compute_polrel 252
nfX_Z_normalize 252
pol_from_Newton 252
rnfkummersimple 252
ok_sign 329
lifttoKz 343
prlifttoKz 378
lambdaofvec 448
tauofalg 455
get_prlist 469
subgroup_info 469
build_list_Hecke 483
get_Selmer 483
get_u 483
_rnfkummer 490
get_gell 490
rnfkummer 490
compute_beta 504
reduce_mod_Qell 504
reducebeta 504
isprincipalell 539
lambdaofelt 539
get_mmu 602
ok_congruence 609
powtau 630
isprimeidealconj 644
Stelt 651
get_badbnf 686
logall 742
isvirtualunit 826
to_alg 854
downtoK 1036
tauoffamat 1162
prank 1225
isconjinprimelist 1232
famat_factorbacks 1260
idealsqrtn 1330
tauofvec 1330
mod_Xell_a 2982
split_pol 5964
tauofelt 9898
lift_if_rational 44947

Generated by: LCOV version 1.13