Coverage Report

Statementstmt 84.4% 505 / 598 Branchbran 56.0% 28 / 50 Conditioncond 60.0% 6 / 10 MC/DCmcdc 20.0% 1 / 5 Subroutinesub 86.4% 102 / 118 Podpod 50.0% 2 / 4 totaltotal 82.0% 644 / 785 CC 45 scar 13.3 CC 45 · cov 82% · CRAP 3.8
Prefix: blib/lib/Weather/

Top SCAR

YR/Base.pm 18.1
CC
10
Cov
76%
_build_xml_ref
14.8
date_to_datetime
3.2
BEGIN
1.0
CRAP 6.1
YR/LocationForecast/Day.pm 16.8
CC
25
Cov
74%
_build_precipitations
20.0
_build_temperature
12.0
_build_precipitation
12.0
CRAP 5.4
YR/LocationForecast.pm 14.8
CC
12
Cov
84%
_build_now
20.0
_build_datapoints
7.1
_build_days
3.0
CRAP 4.4
YR/Model/Clouds.pm untested 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
YR/TextForecast.pm untested 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
3 3 files < 75%
5 5 files 75-90%
1 file 90-100%
14 14 files 100%
2 2 untested files
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 100 19 / 19n/a n/a n/a 100 5 / 5n/a 100 24 / 241 0.0
CC
1
Cov
100%
CRAP 1.0
YR.pm 100 19 / 19n/a n/a n/a 100 5 / 5n/a 100 24 / 241 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
YR 84.9 214 / 25242.8 12 / 2850.0 2 / 40.0 0 / 290.3 47 / 520.0 0 / 181.1 275 / 33921 14.8
CC
21
Cov
80%
CRAP 4.4
Base.pm 85.7 60 / 7037.5 6 / 1650.0 1 / 20.0 0 / 1100 14 / 140.0 0 / 177.8 81 / 10410 18.1
CC
10
Cov
76%
_build_xml_ref
14.8
date_to_datetime
3.2
BEGIN
1.0
CRAP 6.1
LocationForecast.pm 87.8 108 / 12350.0 6 / 1250.0 1 / 20.0 0 / 192.3 24 / 26n/a 84.7 139 / 16412 14.8
CC
12
Cov
84%
_build_now
20.0
_build_datapoints
7.1
_build_days
3.0
CRAP 4.4
TextForecast.pm untested 0.0 0 / 8n/a n/a n/a 0.0 0 / 2n/a 0.0 0 / 101 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
TextLocation.pm 73.6 14 / 19n/a n/a n/a 75.0 3 / 4n/a 73.9 17 / 231 2.2
CC
1
Cov
74%
_build_url
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
DataPoint.pm 100 11 / 11n/a n/a n/a 100 2 / 2n/a 100 13 / 131 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
Day.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
Model.pm 100 11 / 11n/a n/a n/a 100 2 / 2n/a 100 13 / 131 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
YR/Lang 85.7 12 / 14n/a n/a n/a 66.6 2 / 3n/a 82.3 14 / 171 2.9
CC
1
Cov
86%
CRAP 1.3
Symbol.pm 85.7 12 / 14n/a n/a n/a 66.6 2 / 3n/a 82.3 14 / 171 2.9
CC
1
Cov
86%
_build_text
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
YR/LocationForecast 78.9 120 / 15272.7 16 / 2266.6 4 / 633.3 1 / 384.0 21 / 250.0 0 / 177.5 162 / 20925 16.2
CC
25
Cov
78%
CRAP 5.0
Day.pm 74.8 95 / 12772.7 16 / 2266.6 4 / 633.3 1 / 380.9 17 / 21n/a 74.3 133 / 17925 16.8
CC
25
Cov
74%
_build_precipitations
20.0
_build_temperature
12.0
_build_precipitation
12.0
CRAP 5.4
DataPoint.pm 100 25 / 25n/a n/a n/a 100 4 / 40.0 0 / 196.6 29 / 301 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
__ANON__
1.0
CRAP 1.0
YR/Model 84.9 107 / 126n/a n/a n/a 80.0 20 / 25100 2 / 284.3 129 / 1531 1.8
CC
1
Cov
85%
CRAP 1.2
Clouds.pm untested 0.0 0 / 12n/a n/a n/a 0.0 0 / 2n/a 0.0 0 / 141 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
Temperature.pm 66.6 10 / 15n/a n/a n/a 50.0 2 / 4100 2 / 266.6 14 / 211 4.1
CC
1
Cov
67%
fahrenheit
2.0
kelvin
2.0
BEGIN
1.0
CRAP 1.5
WindSpeed.pm 86.6 13 / 15n/a n/a n/a 66.6 2 / 3n/a 83.3 15 / 181 2.9
CC
1
Cov
87%
_build_fps
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
Cloudiness.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
DewPointTemperature.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
Fog.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
Humidity.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
Precipitation.pm 100 13 / 13n/a n/a n/a 100 2 / 2n/a 100 15 / 151 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
Pressure.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
Probability.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
WindDirection.pm 100 11 / 11n/a n/a n/a 100 2 / 2n/a 100 13 / 131 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
YR/Model/Precipitation 88.2 15 / 17n/a n/a n/a 75.0 3 / 4n/a 85.7 18 / 211 2.2
CC
1
Cov
88%
CRAP 1.2
Symbol.pm 88.2 15 / 17n/a n/a n/a 75.0 3 / 4n/a 85.7 18 / 211 2.2
CC
1
Cov
88%
_build_text
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
YR/Model/Probability 100 18 / 18n/a n/a n/a 100 4 / 4n/a 100 22 / 221 0.0
CC
1
Cov
100%
CRAP 1.0
Temperature.pm 100 9 / 9n/a n/a n/a 100 2 / 2n/a 100 11 / 111 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
Wind.pm 100 9 / 9n/a n/a n/a 100 2 / 2n/a 100 11 / 111 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0