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 16375-9f41ae0) Lines: 774 889 87.1 %
Date: 2014-04-19 Functions: 55 60 91.7 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 385 573 67.2 %

Function Name Sort by function name Hit count Sort by hit count
Fl_powers_FpV 182
Flm_init 0
Flv_fill 0
Stelt 588
_rnfkummer 224
build_list_Hecke 217
compositum_red 182
compute_beta 238
compute_polrel 203
downtoK 889
famat_factorback 1001
fix_be 407
fix_kernel 0
get_Selmer 217
get_badbnf 371
get_gell 224
get_mmu 490
get_prlist 203
get_przlist 168
get_reverse 203
get_tau 182
get_u 217
grptocol 0
ideallifttoKz 182
idealsqrtn 966
increment 72
invimsubgroup 119
isconjinprimelist 602
isprimeidealconj 322
isprincipalell 261
isvirtualunit 728
lambdaofelt 406
lambdaofvec 350
lift_if_rational 3346
lifttoKz 297
logall 438
logarch2arch 784
mod_Xell_a 2478
nfX_Z_normalize 203
no_sol 0
ok_congruence 275
ok_sign 58
pol_from_Newton 203
polrelKzK 119
powtau 525
prank 655
prlifttoKz 304
reduce_mod_Qell 392
reducebeta 238
reducebetanaive 238
rnfkummer 224
rnfkummersimple 35
split_pol 4956
subgroup_info 203
tauofalg 1449
tauofelt 9804
tauoffamat 875
tauofideal 140
tauofvec 1043
to_alg 693

Generated by: LCOV version 1.9