Coverage Report

Statementstmt 21.5% 191 / 886 Branchbran 0.0% 0 / 198 Conditioncond 0.0% 0 / 68 MC/DCmcdc 0.0% 0 / 41 Subroutinesub 36.0% 61 / 169 Podpod 0.0% 0 / 55 totaltotal 17.7% 252 / 1417 CC 138 scar 45.7 CC 138 · cov 17% · CRAP 97.0
Prefix: blib/lib/EBook/

Top SCAR

Generator/Parser.pm 54.5
CC
73
Cov
6%
download_file
756.0
find_content
272.0
node_to_structure
132.0
CRAP 233.9
Generator/Exporter/PDF.pm 29.2
CC
22
Cov
20%
__ANON__
56.0
__ANON__
30.0
writeEBook
30.0
CRAP 18.6
Generator/Exporter/XHTML.pm 28.4
CC
16
Cov
11%
__ANON__
56.0
transform_nodes
20.0
__ANON__
12.0
CRAP 17.1
Generator/Exporter.pm 27.8
CC
7
Cov
39%
initExporter
42.0
init
6.0
new
2.0
CRAP 16.2
Generator/Analyser.pm 21.8
CC
12
Cov
12%
analyse_nodes
30.0
__ANON__
6.0
__ANON__
6.0
CRAP 8.9
9 9 files < 75%
< 75% 75-90% 90-100% at 100%
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 44.8 13 / 29n/a n/a n/a 50.0 4 / 80.0 0 / 441.4 17 / 411 4.1
CC
1
Cov
45%
CRAP 1.5
Generator.pm 44.8 13 / 29n/a n/a n/a 50.0 4 / 80.0 0 / 441.4 17 / 411 4.1
CC
1
Cov
45%
new
2.0
init
2.0
processSource
2.0
CRAP 1.5
Generator 21.8 115 / 5270.0 0 / 1320.0 0 / 470.0 0 / 2737.3 37 / 990.0 0 / 3617.5 152 / 86895 49.8
CC
95
Cov
16%
CRAP 145.5
Parser.pm 8.5 25 / 2930.0 0 / 1000.0 0 / 380.0 0 / 2117.7 8 / 450.0 0 / 206.3 33 / 51773 54.5
CC
73
Cov
6%
download_file
756.0
find_content
272.0
node_to_structure
132.0
CRAP 233.9
Exporter.pm 48.8 22 / 450.0 0 / 60.0 0 / 60.0 0 / 463.6 7 / 110.0 0 / 438.1 29 / 767 27.8
CC
7
Cov
39%
initExporter
42.0
init
6.0
new
2.0
CRAP 16.2
Analyser.pm 14.7 13 / 880.0 0 / 20n/a n/a 23.5 4 / 170.0 0 / 413.1 17 / 12912 21.8
CC
12
Cov
12%
analyse_nodes
30.0
__ANON__
6.0
__ANON__
6.0
CRAP 8.9
EBook.pm 55.5 45 / 810.0 0 / 60.0 0 / 30.0 0 / 275.0 15 / 200.0 0 / 551.2 60 / 1176 19.9
CC
6
Cov
50%
init
30.0
writeEBook
6.0
new
2.0
CRAP 7.3
Reader.pm 50.0 10 / 20n/a n/a n/a 50.0 3 / 60.0 0 / 344.8 13 / 291 4.1
CC
1
Cov
50%
new
2.0
init
2.0
getContent
2.0
CRAP 1.5
Generator/Exporter 19.0 63 / 3300.0 0 / 660.0 0 / 210.0 0 / 1432.2 20 / 620.0 0 / 1516.3 83 / 50844 27.2
CC
44
Cov
15%
CRAP 15.1
PDF.pm 26.1 34 / 1300.0 0 / 320.0 0 / 120.0 0 / 844.0 11 / 250.0 0 / 521.2 45 / 21222 29.2
CC
22
Cov
20%
__ANON__
56.0
__ANON__
30.0
writeEBook
30.0
CRAP 18.6
XHTML.pm 14.6 16 / 1090.0 0 / 220.0 0 / 90.0 0 / 626.3 5 / 190.0 0 / 512.3 21 / 17016 28.4
CC
16
Cov
11%
__ANON__
56.0
transform_nodes
20.0
__ANON__
12.0
CRAP 17.1
Text.pm 14.2 13 / 910.0 0 / 12n/a n/a 22.2 4 / 180.0 0 / 513.4 17 / 1268 17.9
CC
8
Cov
13%
transform_nodes
20.0
__ANON__
6.0
__ANON__
6.0
CRAP 6.0