Coverage Report

Statementstmt 50.4% 232 / 460 Branchbran 13.1% 11 / 84 Conditioncond 5.0% 1 / 20 MC/DCmcdc 0.0% 0 / 12 Subroutinesub 69.0% 49 / 71 Podpod 0.0% 0 / 7 totaltotal 44.8% 293 / 654 CC 36 scar 23.7 CC 36 · cov 43% · CRAP 10.7
Prefix: blib/lib/KiokuDB/

Top SCAR

Cmd/OutputHandle.pm 38.8
CC
8
Cov
40%
_build_output_handle
72.0
BEGIN
1.0
BEGIN
1.0
CRAP 48.3
Cmd/SpecifiedEntries.pm 28.6
CC
7
Cov
50%
_build_entries
24.5
BEGIN
1.0
BEGIN
1.0
CRAP 17.5
Cmd/WithDSN/Create.pm 24.7
CC
4
Cov
41%
_build_backend
20.0
BEGIN
1.0
BEGIN
1.0
CRAP 11.9
Cmd/Command/GC.pm untested 24.0
CC
4
Cov
0%
_build_collector
20.0
_build_class
2.0
BEGIN
2.0
CRAP 11.0
Cmd/TXN.pm 21.1
CC
5
Cov
38%
try_txn_commit
12.9
try_txn_begin
6.0
BEGIN
1.0
CRAP 8.2
7 7 files < 75%
1 1 file 75-90%
1 1 file 90-100%
4 4 files 100%
4 4 untested files
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 82.3 14 / 170.0 0 / 2n/a n/a 75.0 3 / 40.0 0 / 170.8 17 / 242 11.0
CC
2
Cov
74%
CRAP 3.0
Cmd.pm 82.3 14 / 170.0 0 / 2n/a n/a 75.0 3 / 40.0 0 / 170.8 17 / 242 11.0
CC
2
Cov
74%
is_up_to_date
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 3.0
Cmd 76.1 137 / 18018.7 6 / 328.3 1 / 120.0 0 / 891.1 31 / 340.0 0 / 365.0 175 / 26922 27.5
CC
22
Cov
64%
CRAP 15.7
OutputHandle.pm 57.5 19 / 330.0 0 / 120.0 0 / 30.0 0 / 280.0 4 / 5n/a 41.8 23 / 558 38.8
CC
8
Cov
40%
_build_output_handle
72.0
BEGIN
1.0
BEGIN
1.0
CRAP 48.3
SpecifiedEntries.pm 60.0 18 / 3037.5 3 / 816.6 1 / 60.0 0 / 4100 4 / 4n/a 50.0 26 / 527 28.6
CC
7
Cov
50%
_build_entries
24.5
BEGIN
1.0
BEGIN
1.0
CRAP 17.5
TXN.pm 47.8 11 / 2316.6 1 / 60.0 0 / 30.0 0 / 275.0 3 / 40.0 0 / 237.5 15 / 405 21.1
CC
5
Cov
38%
try_txn_commit
12.9
try_txn_begin
6.0
BEGIN
1.0
CRAP 8.2
InputHandle.pm 76.4 13 / 170.0 0 / 2n/a n/a 75.0 3 / 4n/a 69.5 16 / 232 11.0
CC
2
Cov
68%
_build_input_handle
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 3.0
Base.pm 97.3 37 / 3850.0 2 / 4n/a n/a 100 7 / 70.0 0 / 192.0 46 / 504 6.0
CC
4
Cov
93%
run
3.1
_build_attrs
2.0
BEGIN
1.0
CRAP 1.8
DumpFormatter.pm 100 17 / 17n/a n/a n/a 100 5 / 5n/a 100 22 / 221 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
Verbosity.pm 100 12 / 12n/a n/a n/a 100 3 / 3n/a 100 15 / 151 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
WithDSN.pm 100 10 / 10n/a n/a n/a 100 2 / 2n/a 100 12 / 121 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
Cmd/Command 28.6 55 / 19211.3 5 / 440.0 0 / 20.0 0 / 145.0 9 / 200.0 0 / 226.4 69 / 2619 15.8
CC
9
Cov
25%
CRAP 4.8
GC.pm untested 0.0 0 / 430.0 0 / 120.0 0 / 20.0 0 / 10.0 0 / 50.0 0 / 20.0 0 / 654 24.0
CC
4
Cov
0%
_build_collector
20.0
_build_class
2.0
BEGIN
2.0
CRAP 11.0
Load.pm 84.3 27 / 3250.0 3 / 6n/a n/a 100 5 / 5n/a 81.4 35 / 434 10.8
CC
4
Cov
79%
__ANON__
4.9
BEGIN
1.0
BEGIN
1.0
CRAP 2.9
Edit.pm untested 0.0 0 / 580.0 0 / 16n/a n/a 0.0 0 / 3n/a 0.0 0 / 771 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
FSCK.pm untested 0.0 0 / 310.0 0 / 8n/a n/a 0.0 0 / 3n/a 0.0 0 / 421 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
Dump.pm 100 28 / 28100 2 / 2n/a n/a 100 4 / 4n/a 100 34 / 343 6.9
CC
3
Cov
100%
__ANON__
3.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.0
Cmd/WithDSN 36.6 26 / 710.0 0 / 60.0 0 / 60.0 0 / 346.1 6 / 130.0 0 / 132.0 32 / 1006 18.8
CC
6
Cov
31%
CRAP 6.6
Create.pm 50.0 14 / 280.0 0 / 40.0 0 / 20.0 0 / 175.0 3 / 4n/a 43.5 17 / 394 24.7
CC
4
Cov
41%
_build_backend
20.0
BEGIN
1.0
BEGIN
1.0
CRAP 11.9
Write.pm untested 0.0 0 / 240.0 0 / 20.0 0 / 20.0 0 / 10.0 0 / 50.0 0 / 10.0 0 / 352 12.0
CC
2
Cov
0%
_build_backend
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 3.3
Read.pm 63.1 12 / 19n/a 0.0 0 / 20.0 0 / 175.0 3 / 4n/a 57.6 15 / 262 11.0
CC
2
Cov
57%
_build_backend
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 3.0