Coverage Report

Statementstmt 75.5% 477 / 631 Branchbran 43.8% 86 / 196 Conditioncond 26.6% 28 / 105 MC/DCmcdc 1.7% 1 / 56 Subroutinesub 75.2% 91 / 121 Podpod 17.6% 6 / 34 totaltotal 60.2% 689 / 1143 CC 127 scar 22.0 CC 127 · cov 63% · CRAP 9.0
Prefix: blib/lib/DarkPAN/

Top SCAR

Indexer/Storage/S3.pm untested 27.6
CC
10
Cov
0%
list_distributions
56.0
new
6.0
fetch_object
6.0
CRAP 15.9
Indexer/Format/SQLite.pm 27.3
CC
41
Cov
68%
load_index
32.4
_load_from_fh
17.4
create_index
15.0
CRAP 15.3
Indexer/Format.pm 20.5
CC
9
Cov
80%
index_distribution
11.5
BEGIN
1.0
BEGIN
1.0
CRAP 7.8
Indexer.pm 18.3
CC
33
Cov
76%
_load_config
18.6
_reap_dist_tmp
12.0
_load_engine
7.0
CRAP 6.2
Indexer/Storage/Filesystem.pm 17.1
CC
30
Cov
75%
lock
17.4
save_object
7.3
has_object
6.0
CRAP 5.5
4 4 files < 75%
2 2 files 75-90%
1 1 untested file
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 90.7 128 / 14150.0 25 / 5036.3 8 / 227.1 1 / 1488.4 23 / 2680.0 4 / 573.2 189 / 25833 18.3
CC
33
Cov
76%
CRAP 6.2
Indexer.pm 90.7 128 / 14150.0 25 / 5036.3 8 / 227.1 1 / 1488.4 23 / 2680.0 4 / 573.2 189 / 25833 18.3
CC
33
Cov
76%
_load_config
18.6
_reap_dist_tmp
12.0
_load_engine
7.0
CRAP 6.2
Indexer 87.7 129 / 14742.3 11 / 2633.3 3 / 90.0 0 / 589.2 25 / 2825.0 2 / 876.2 170 / 22317 14.1
CC
17
Cov
79%
CRAP 4.1
Format.pm 97.4 38 / 3950.0 4 / 833.3 3 / 90.0 0 / 5100 6 / 60.0 0 / 175.0 51 / 689 20.5
CC
9
Cov
80%
index_distribution
11.5
BEGIN
1.0
BEGIN
1.0
CRAP 7.8
CLI.pm 70.0 35 / 5016.6 1 / 6n/a n/a 76.9 10 / 1340.0 2 / 564.8 48 / 743 8.8
CC
3
Cov
64%
cmd_update
6.0
cmd_delete
6.0
main
2.0
CRAP 2.4
Storage.pm 96.5 56 / 5850.0 6 / 12n/a n/a 100 9 / 90.0 0 / 287.6 71 / 817 8.8
CC
7
Cov
89%
publish_index
4.2
retrieve_index
3.0
_slurp
2.0
CRAP 2.4
Indexer/Format 86.1 112 / 13046.1 24 / 5235.1 13 / 370.0 0 / 1895.0 19 / 200.0 0 / 564.1 168 / 26241 27.3
CC
41
Cov
68%
CRAP 15.3
SQLite.pm 86.1 112 / 13046.1 24 / 5235.1 13 / 370.0 0 / 1895.0 19 / 200.0 0 / 564.1 168 / 26241 27.3
CC
41
Cov
68%
load_index
32.4
_load_from_fh
17.4
create_index
15.0
CRAP 15.3
Indexer/Storage 50.7 108 / 21338.2 26 / 6810.8 4 / 370.0 0 / 1951.0 24 / 470.0 0 / 1640.5 162 / 40039 22.0
CC
39
Cov
43%
CRAP 9.1
S3.pm untested 0.0 0 / 890.0 0 / 180.0 0 / 270.0 0 / 130.0 0 / 200.0 0 / 90.0 0 / 17610 27.6
CC
10
Cov
0%
list_distributions
56.0
new
6.0
fetch_object
6.0
CRAP 15.9
Filesystem.pm 87.1 108 / 12452.0 26 / 5040.0 4 / 100.0 0 / 688.8 24 / 270.0 0 / 772.3 162 / 22430 17.1
CC
30
Cov
75%
lock
17.4
save_object
7.3
has_object
6.0
CRAP 5.5