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 - mftrace.c (source / functions) Hit Total Coverage
Test: PARI/GP v2.10.0 lcov report (development 22307-7f6745a) Lines: 7089 7283 97.3 %
Date: 2018-04-22 06:16:17 Functions: 732 735 99.6 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
fs2_get_bitprec 0
mfmatembed 0
wt1mulcond 0
Hfind 7
c_twist 7
checkbij_i 7
consttabdihedral 7
err_space 7
lfunfindchi 7
merge_dims 7
mfchiembed 7
mfdihedralall 7
mffromlfun 7
mffvanish 7
mfheckemat_mfcoefs_p2 7
mfisequal 7
mfisnotA5 7
mfisnotS4 7
mfkohneneigenbasis 7
mfpeterssonnoncusp 7
mftocoset 7
mkS 7
pathmattovec 7
wt1newlevel 7
RgX_by_parity 14
c_derivE2 14
dim_filter 14
findq 14
fs2_get_den 14
fs2_init 14
fs_set_expan 14
getcache 14
initwt1newtrace 14
mfcanfindp0 14
mffindeisen1 14
mfindex 14
mfisCM 14
mfisinkohnen 14
mfkohnenbijection 14
mfkohnenbijection_i 14
mfpetersson2 14
mfsearch 14
mftaylor 14
mftraceform_cusp 14
mftwist 14
mycoredisc2pos 14
newd_params2 14
unact 14
anyembed 21
c_bracket 21
c_cusptrace 21
c_deriv 21
checkPv 21
checkemb_i 21
checkmfa 21
desc_dihedral 21
findqganew 21
initwt1trace 21
mfatkin 21
mfbracket 21
mfderivE2 21
mffromell 21
mfgaloistype_i 21
mfkohnenbasis 21
mfkohnenbasis_i 21
mfunram 21
polisspherical 21
radical_u 21
c_QFsimple_i 28
c_shimura 28
deg1ser_shallow 28
lfunquadneg 28
mfcharconj 28
mfcusps 28
mfderiv 28
mfeigensearch 28
mfinittonew 28
mfwt1olddimall 28
mysqrtu 28
simple_pole 28
symbol_same_mf 28
u_pporad 28
vecembed2 28
c_QF_i 35
c_shift 35
desc_hecke 35
intAoo0 35
mfbd 35
mffields 35
mfheckemat_mfcoefs_p 35
mfperiodpol 35
mfs_iscusp 35
mfshimura 35
mfshimura_space_cusp 35
mfsymbolevalpartial 35
mftonew 35
Mindex_as_coef 42
actal 42
fs2_get_F 42
fs2_get_MF 42
fs2_get_W 42
fs2_get_al0 42
fs2_get_cusps 42
hclassno6u_count 42
lfunmf 42
mf1 42
mfatkineigenvalues 42
mfcusps_i 42
mfdiv 42
mfembed0 42
mffromqf 42
mfgaloistype0 42
mfisdihedral 42
mfmanin 42
mfs_checkmf 42
mfshift 42
mfval 42
search_levels 42
unpack2 42
valNC2 42
c_ell 49
fs_get_EF 49
mfDelta 49
mfgaloistype 49
mfperiodpolbasis 49
mfpow 49
tag0 49
usumpow 49
RgV_approx 56
bestapprnf2 56
mfatkineigenquad 56
mfwt1newdimall 56
NK_eisen2 63
RgX_valrem_root 63
c_F2TH4 63
constcoredisc 63
constdiv 63
eta_holomorphic 63
mf2init 63
mfEH 63
mfEHmat 63
mffrickeeigen 63
cache_report 70
constfact 70
mfcharAL 70
mfcharchiliftprim 70
mfcoef 70
mffrickeeigen_i 70
mfgaexpansionatkin 70
mfheckemat 70
mfsplit 70
mftrivial 70
myusqrt 70
sertocol2 70
tp2apply 70
tp2eapply 70
RgV_pows_RgXn 77
c_pow 77
eta_NK 77
mfEHcoef 77
mfatkininit 77
heckef2_data 84
mat2cusp 84
mffrometaquo 84
mftraceform 84
mftraceform_i 84
findqga 91
mfheckemat_p 91
mflfuncreateall 91
mfwt1_cusptonew 91
RgV_heckef2 98
RgV_shimura 98
RgXV_embed 98
col2cusp 98
desc_linear 98
mfatkinmatnewquad 98
mfhecke 98
mfheckemat_mfcoefs 98
mfpetersson 98
mfsymboleval_direct 98
normal 98
mfcharpow 105
mflfuncreate 105
mfwt1dims 105
polishomogeneous 105
RgX_act_gen 112
c_etaquo 112
intAoowithvanall 112
mf2gaexpansion 112
mfstabiter 112
mfstabitermodp 112
mfthetaexpansion 112
mfthetamultiplier 112
paramconst 112
Haberland 119
Tpmat 119
checkNK 119
dim_sum 119
mfcharinv_i 119
mfcuspwidth 119
mfpetersson_i 119
mfwt1dimmodp 119
RgV_div_RgXn 126
consttabh 126
mfgaexpansionall 126
mfsymboleval 126
symbol_type 126
mfcosets 133
mfgetvan 133
mfperiodpols_i 133
mfsymbol 133
mfsymbol_i 133
c_mfEH 140
mfcheapeisen 140
mfeigenembed 140
mintau 140
MF_get_r 147
c_const 147
cxredga0N 147
lfunthetaall 147
matdeflate 147
mfeigenbasis 147
nfcontent 147
ZX_roots 154
mfeval 154
mfeval_i 154
AX_B 161
CX_D 161
act_GL2 161
checkfs2_i 161
getcolswt2 161
zero_at_cusp 161
mfatkininit_i 168
get_P 175
mfconductor 175
mfwt1cuspdim 175
myimag_i 175
val 182
atkin_get_NQ 189
mfEk 189
rootspowers 189
mfcuspval 196
mfiscuspidal 196
mf2basis 203
mf2init_Nkchi 203
mfmul 203
mfak_i 210
mfintereis 210
mfmultheta 210
mycore 210
findd 217
mfintereismodp 217
c_div 224
c_div_i 224
nf_primpart 224
QabM_to_Flm 231
mfeisensteindim 231
pol_red 231
mfperiod_prelim 238
MF_set_space 245
bdexpandall 245
mfeisenstein 245
mfeisenstein_i 245
vecmflineardiv_linear 245
mfwtkdimsum 252
RgX_embedall 259
vecmflineardiv0 259
mf_get_r 266
split 273
mftonew_i 280
getcolsgen 287
mfspace 287
mfspace_i 287
van_embedall 287
cmp_ord 294
get_sh 294
mf_setfield 301
mfbasis 301
mflinear_i 301
unpack23 308
QabM_Minv 315
cache_reset 315
cusp_canon 315
mfcuspisregular 315
mfeisensteinspaceinit 315
mfolddim 315
mkM 315
sertovecslice 315
cache_set 322
get_mf_F 322
mftobasisES 322
mfvec_first_cusp 322
RgC_embedall 329
mflineardivtomat 329
QabX_to_Flx 336
charsmodN 336
hclassno6u_2 336
mfeisensteinspaceinit_i 336
evalcusp 343
anextract 350
mffindrootof1 357
mfTheta 364
MF_get_fields 378
c_mul 385
cusp2mat 385
vanembed 385
MF_get_newforms 399
seenD 413
c_hecke 427
mflinear_bhn 434
vecembed1 434
mfmatsermul_Fl 441
tobasis 448
QabM_init 455
c_delta 455
eta3_ZXn 455
mfwt1olddimsum 469
MFcusp_get_vMjd 476
checkfs_i 476
mflinear 476
fs_get_bitprec 490
sqrtm3modN 497
desc_mfeisen 504
mfgetembed 504
mfsturm 504
zncharsG 504
polabstorel 518
RgX_embed2 532
mffulldim 553
const_mat 560
sqrtm1modN 567
update_Mj 581
mfbd_E2 609
vecGalois 609
mfEMPTYall 616
desc 623
mfcuspcanon_width 623
grootsof1_CHI 651
mfparams 651
c_Ek 658
fs_get_vES 665
hecke_i 665
znstar_get_expo 672
cusp_AC 693
mf2dimwt32 693
mfeisensteinbasis_i 693
mf_eisendec 700
mfeisensteindec 700
mfthetaancreate 700
ZabM_pseudoinv_i 707
mfeisensteinbasis 721
c_newtrace 728
mfslashexpansion 735
mfgaexpansion_i 763
shift_M 763
GL2toSL2 770
getembed 791
intAoo 791
mftobasis 791
mfclean2 798
lfuntag 812
mfcoefsser 812
mfmatsermul 819
mygmodulo 819
mfchareval 833
mfnewmathecke_p 833
mfcharmul 840
mfspclean 840
sort_by_dim 840
split_starting_space 840
RgX_embed1 847
ZM_mulS 854
mftraceform_new 875
search_from_split 882
mfisinspace_i 889
vecpush 896
mkF2bd 903
mfchilift 910
mfEMPTY 917
charLFwt1_Fl 924
findbestsplit 931
mynffactor 938
mflinear_linear 945
mflineardiv_linear 945
fs_get_vE 959
Minv_RgM_mul 966
mfdescribe 966
vecmflinear 966
c_linear_bhn 973
getcols 980
mfvectomat 987
mfperiod_prelim_double 1001
vecpermute_partial 1008
MF_set_new 1022
QabM_pseudoinv 1022
mftobasis_i 1022
mflinear_strip 1036
unpack0 1043
MF_get_basis 1050
fs_get_MF 1050
mfwt1newdimsum 1050
mfistrivial 1064
vecpermute_inplace 1106
mfeisenstein2all 1148
c_theta 1155
mf_normalize 1155
split_i 1176
mfgaexpansion 1190
check_SL2Z 1197
mfsturmNgk 1218
split_ii 1232
fs_get_pols 1246
mfvecembed 1260
QabM_ker 1281
RgX_act_S 1281
charLFwt1 1309
charLFwtk 1365
mfdim_Nkchi 1379
non_residues 1400
taglinear 1407
fs_get_expan 1414
RgV_normalize 1519
bestapprnfrel 1519
mfchisimpl 1533
desc_i 1540
charLFwtk_Fl 1547
mfqk 1554
RgX_embed 1561
pari_close_mf 1564
condC 1568
getnlim2 1645
getw1w2 1645
fs_get_cosets 1659
act_S 1666
mfdiv_val 1694
ZM_mulTi 1708
mfwt1chars 1708
mfwt1_pre 1722
RgX_act_typ 1827
normalizeapprox 1827
update_factor_cache 1885
toRgX0 1890
vecmfNK 1911
RgM_Minv_mul 1946
mfcoefs_mf 1953
check_M2Z 1967
mfchiadjust 2030
mfwt1dimsum 2114
mfinit 2121
MF_get_Minv 2191
mftreatdihedral 2254
abundant 2282
mfskcx 2324
c_linear 2345
ok_bhn_linear 2373
mfinit_Nndkchi 2387
getcols_i 2464
mfeisenstein2_0_Fl 2464
mfeisenstein2pure_Fl 2464
mynumdivu 2674
checkMF 2772
RgV_mul_RgXn 2779
mfsamefield 2842
mfinitcusp 2863
mfsturm_mf 2919
mfwtkdims 2961
mfdim0all 3010
mfinit_i 3052
sertocol 3094
mfcoefs 3115
ZM_mulT 3164
mfchars 3255
mfdihedralcusp 3346
mfcleanCHI 3353
MF_get_dim 3360
lamCO 3360
MF_get_E 3388
mfwt1init 3430
c_dihedral 3437
expandbd 3514
mfeisenstein2pure 3514
f00 3612
dim22 3696
mftocol 3696
zeta2CO 3696
mfchartrivial 3703
c_Bd 3710
get_mfchar 3752
QabV_tracerel 3766
RgV_to_ser_full 3843
mkeisen 3864
fmt_dim 3983
gmfcharno 3983
taglinear_i 3983
mfchardiv 4018
mfchardiv_i 4018
mfalchi2 4102
mfcharmulcxeval 4102
mfeisensteingacx 4102
mfgatogap 4102
RgV_shift 4123
mfclean 4123
mfwt1cuspdimsum 4123
vecj_expand 4123
expandbd_Fl 4144
mfwt1cuspdimall 4144
f00_i 4193
bdexpand 4438
mfinit_Nkchi 4445
mfeisenstein2_0 4725
mfchargalois 4851
char2 4858
Rg_embedall_i 4907
Minv_RgC_mul 4935
space_is_cusp 4942
mfchareval_i 5026
bhnmat_extend_nocache 5082
MF_get_k 5173
mfbdall 5355
c_deflate 5467
c_mfeisen 5523
MF_get_M 5656
mfdim 5719
improve 5740
dihan_bnf 6062
mubeta 6083
cache_delete 6256
SL2_div_D 6321
mftocoset_iD 6321
MF_get_CHI 6349
mkMinv 6356
MFnew_get_vj 6405
mfZC_width 6426
hash_eisengacx 6447
mftocoset_i 6468
badchar 6545
mfcharcxeval 6566
parse_vecj 6748
Rg_approx 6755
m1pk 6776
mfcharistrivial 6790
get_badj 6797
mfdihedralcuspdim 6895
MF_get_Mindex 6958
mfwt1cuspdim_i 7028
bhnmat_extend 7049
ceilA1 7182
mfolddim_i 7315
mfdihedralnew 7602
VS 8190
Whalfint 8190
mfcharmuleval 8204
coset_complete 8323
tag 8442
checkCHI 8890
checkNK2 8897
nu3 9212
QabM_indexrank 9254
append_dihedral 9289
CHIvec_CHI 9576
init_cachenew 9744
QabC_to_Flc 9807
dihan 10185
WcomputeP 10304
Wcomputecoshall 10304
Wcomputeparams 10304
Wint 10304
mfwt1basis 10458
MF_get_gk 10507
gausssumcx 10528
mfcharcxinit 10528
mkmf 10913
mfconreyminimize 10990
MF_get_space 11130
tag3 11361
mkNK 12089
mfcharno 12159
Rg_embed2 13286
cyc_normalize_zv 13391
mklvchi 13391
bhn_newtrace 13517
checkmf_i 13615
charistotallyeven 13846
hecke_data 13888
mfnewinit 14091
mfnewdim 14322
dbg_cachenew 14455
mf_get_NK 15148
mfdihedralnewdim 15533
MF_get_N 15554
wt1empty 15785
mfcharinduce 16030
nu2 16037
checkMF_i 16149
MF_get_gN 16205
MF_get_S 16219
mysumdivku 16261
Unelsonhalf 16380
mybezout 16408
mf_get_field 16828
mfdihedralcommon 16835
bnrchartwist2conrey 17206
conreydenormalize 17206
Qab_trace_init 17913
WfromZ 18494
dihan_bnr 20356
mfhecke_i 20419
mfcoefs_i 20461
di_N 21021
sigchi 22057
cmp_coset 22680
mfdihedralnew_i 23135
CHIvec_ord 24724
initnewtrace_i 24724
inittrconj 24724
mfcharinit 24731
initnewtrace 24759
mfnewzerodata 24759
cmp_small_priority 25424
newtrace_DATA 25606
newtrace_stripped 25606
reset_cachenew 25606
Galois 25711
mfbd_i 26537
mkgNK 26691
tag2 26705
mfcharorder_canon 27167
CHIvec_parity 27342
mfsturmNk 27790
mf_get_CHI 28483
newd_params 32508
Rg_embedall 35244
nuinf 35546
sigchi2_Fl 36792
mfcuspdim 39102
A4 39158
A21 39480
A22 39480
A3 39760
mfembed 40592
mf2dimwt12 41363
Miyake 41769
induceN 42280
phipart 42567
mf2dim_Nkchi 43463
checkmf2 43666
mfdim_Nndkchi 44744
tracerel_i 45185
mf_get_k 45493
tagparams 46669
RgC_Bd_expand 51814
bhn_parse 51814
char_normalize_zv 58975
heckenewtrace 61642
Rg_embed1 61894
mfchartoprimitive 62783
mfcharparity 64638
mf_get_N 66234
cmp_small 66633
mfdiheval 75299
tracerelz 77280
mymoebiusu 77371
mf_get_gk 80136
mf_get_gN 93268
inittrace 98343
mkbez 98343
mkgcd 98343
mkmup 98343
mksqr 98343
myeulerphiu 103096
ceildiv 104181
colnewtrace 107555
mf_get_type 126749
sigchi2 133784
mygmodulo_Fl 139202
fix_pol 150514
hclassno6u 155402
mfcharpol 166110
sigchi2_dec 170576
trconj 200767
A1 224483
fg1g2n 245504
mypsiu 261898
CHIvec_expo 268443
mycharexpo 268443
div_restrict 286559
get_PSI 299775
mfcharmul_i 301532
mfrhopol 304234
induce 305774
vchip_lift 331744
mfcharGL 367934
mfcharconductor 390866
znchareval_i 397929
ord_canon 446719
Qab_to_Fl 480361
gmfcharmodulus 554001
mfcharmodulus 554001
mygmodulo_lift 575050
mfcharevalord 718704
mfcharorder 816669
gmfcharorder 844739
newt_params 926877
vchip_polmod 959693
mfnewchkzero 1272439
mfnewtrace_i 1272439
ZXrecip_u_eval 1911567
mfnewtracecache 2192393
eiscnm 2748088
TA1 3046470
TA2 3046470
TA3 3046470
TA4 3046470
mfcusptrace_i 3046470
vchip_mod 3213189
mfcusptracecache 4078081
mubeta2 4078081
myh 4785200
mychareval 7048664
CHIvec_val 7060746
CHIvec_N 7461328
corediscs_fact 7553259
lamsig 9517628
mutglistall 9645874
auxsum 11983671
myfactoru 15262359
hclassno6u_i 35377818
mydivisorsu 37386972
mutg1 37402848
mfrhopowsimp 40677175
mycoredisc2neg 47049072
vchip_FC 78505217
myugcd 92976226
mychicgcd 125673443
cache_get 140040378

Generated by: LCOV version 1.11