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 16624-25b9976) Lines: 775 889 87.2 %
Date: 2014-06-24 Functions: 55 60 91.7 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 387 573 67.5 %

Function Name Sort by function name Hit count Sort by hit count
Fl_powers_FpV 130
Flm_init 0
Flv_fill 0
Stelt 420
_rnfkummer 160
build_list_Hecke 155
compositum_red 130
compute_beta 170
compute_polrel 145
downtoK 635
famat_factorback 715
fix_be 291
fix_kernel 0
get_Selmer 155
get_badbnf 265
get_gell 160
get_mmu 350
get_prlist 145
get_przlist 120
get_reverse 145
get_tau 130
get_u 155
grptocol 0
ideallifttoKz 130
idealsqrtn 690
increment 56
invimsubgroup 85
isconjinprimelist 430
isprimeidealconj 230
isprincipalell 181
isvirtualunit 520
lambdaofelt 290
lambdaofvec 250
lift_if_rational 2390
lifttoKz 229
logall 327
logarch2arch 560
mod_Xell_a 1770
nfX_Z_normalize 145
no_sol 0
ok_congruence 201
ok_sign 35
pol_from_Newton 145
polrelKzK 85
powtau 375
prank 482
prlifttoKz 234
reduce_mod_Qell 281
reducebeta 170
reducebetanaive 170
rnfkummer 160
rnfkummersimple 25
split_pol 3540
subgroup_info 145
tauofalg 1035
tauofelt 7020
tauoffamat 625
tauofideal 100
tauofvec 745
to_alg 495

Generated by: LCOV version 1.9