Coverage Report

Statementstmt 30.8% 336 / 1089 Branchbran 2.2% 8 / 356 Conditioncond 1.6% 2 / 122 MC/DCmcdc 1.4% 1 / 70 Subroutinesub 46.2% 93 / 201 Podpod 94.5% 70 / 74 totaltotal 26.6% 510 / 1912 CC 232 scar 37.0 CC 232 · cov 22% · CRAP 40.4
Prefix: blib/lib/Catalyst/

Top SCAR

Controller/SimpleCAS/Role/TextTranscode.pm 43.4
CC
95
Cov
10%
convert_from_mhtml
210.0
normaliaze_rich_content
156.0
parse_html_get_styles
110.0
CRAP 76.4
Controller/SimpleCAS.pm 37.5
CC
55
Cov
21%
fetch_content
132.0
add
90.0
add_resize_image
90.0
CRAP 42.4
Controller/SimpleCAS/CSS/Simple.pm 37.4
CC
31
Cov
11%
read
156.0
new
20.0
read_file
20.0
CRAP 41.9
Controller/SimpleCAS/Store/DBIC.pm 27.2
CC
16
Cov
34%
__ANON__
56.0
__ANON__
20.0
add_content
12.0
CRAP 15.1
Controller/SimpleCAS/Store.pm 20.4
CC
13
Cov
37%
image_size
20.0
content_mimetype
20.0
fetch_content_fh
12.0
CRAP 7.7
8 8 files < 75%
1 1 untested file
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
Controller 31.6 75 / 2370.0 0 / 920.0 0 / 240.0 0 / 1548.9 23 / 47100 14 / 1426.1 112 / 42955 37.5
CC
55
Cov
21%
CRAP 42.4
SimpleCAS.pm 31.6 75 / 2370.0 0 / 920.0 0 / 240.0 0 / 1548.9 23 / 47100 14 / 1426.1 112 / 42955 37.5
CC
55
Cov
21%
fetch_content
132.0
add
90.0
add_resize_image
90.0
CRAP 42.4
Controller/SimpleCAS 44.5 85 / 1912.2 1 / 440.0 0 / 60.0 0 / 444.4 20 / 4592.3 12 / 1338.9 118 / 30325 19.3
CC
25
Cov
36%
CRAP 6.9
Store.pm 45.6 42 / 924.5 1 / 220.0 0 / 30.0 0 / 257.1 12 / 21100 9 / 942.9 64 / 14913 20.4
CC
13
Cov
37%
image_size
20.0
content_mimetype
20.0
fetch_content_fh
12.0
CRAP 7.7
Content.pm 36.3 24 / 660.0 0 / 200.0 0 / 30.0 0 / 218.7 3 / 1666.6 2 / 326.3 29 / 11012 20.1
CC
12
Cov
27%
__ANON__
20.0
__ANON__
12.0
BUILD
6.0
CRAP 7.4
MimeUriResolver.pm 57.5 19 / 330.0 0 / 2n/a n/a 62.5 5 / 8100 1 / 156.8 25 / 442 8.5
CC
2
Cov
54%
get_resource
6.0
__ANON__
2.0
__ANON__
2.0
CRAP 2.3
Controller/SimpleCAS/CSS 14.8 24 / 1620.0 0 / 360.0 0 / 180.0 0 / 1229.1 7 / 24100 14 / 1416.9 45 / 26631 37.4
CC
31
Cov
11%
CRAP 41.9
Simple.pm 14.8 24 / 1620.0 0 / 360.0 0 / 180.0 0 / 1229.1 7 / 24100 14 / 1416.9 45 / 26631 37.4
CC
31
Cov
11%
read
156.0
new
20.0
read_file
20.0
CRAP 41.9
Controller/SimpleCAS/Role 17.1 48 / 2800.0 0 / 1300.0 0 / 650.0 0 / 3445.4 15 / 33100 15 / 1514.0 78 / 55795 43.4
CC
95
Cov
10%
CRAP 76.4
TextTranscode.pm 17.1 48 / 2800.0 0 / 1300.0 0 / 650.0 0 / 3445.4 15 / 33100 15 / 1514.0 78 / 55795 43.4
CC
95
Cov
10%
convert_from_mhtml
210.0
normaliaze_rich_content
156.0
parse_html_get_styles
110.0
CRAP 76.4
Controller/SimpleCAS/Store 54.7 104 / 19012.9 7 / 5440.0 2 / 533.3 1 / 365.1 28 / 43100 15 / 1550.6 157 / 31030 22.9
CC
30
Cov
45%
CRAP 9.9
DBIC.pm 43.6 45 / 1030.0 0 / 280.0 0 / 20.0 0 / 156.5 13 / 23100 7 / 739.6 65 / 16416 27.2
CC
16
Cov
34%
__ANON__
56.0
__ANON__
20.0
add_content
12.0
CRAP 15.1
File.pm 67.8 59 / 8726.9 7 / 2666.6 2 / 350.0 1 / 275.0 15 / 20100 8 / 863.0 92 / 14615 14.1
CC
15
Cov
59%
add_content
12.0
add_content_file
6.0
__ANON__
6.0
CRAP 4.1
Plugin 0.0 0 / 29n/a 0.0 0 / 40.0 0 / 20.0 0 / 90.0 0 / 30.0 0 / 471 6.9
CC
1
Cov
0%
CRAP 2.0
SimpleCAS.pm untested 0.0 0 / 29n/a 0.0 0 / 40.0 0 / 20.0 0 / 90.0 0 / 30.0 0 / 471 6.9
CC
1
Cov
0%
_simplecas_controller_namespace
2.0
inject_simplecas_controller
2.0
CAS
2.0
CRAP 2.0