Coverage Report

Statementstmt 27.4% 194 / 708 Branchbran 2.5% 3 / 118 Conditioncond 0.0% 0 / 45 MC/DCmcdc 0.0% 0 / 8 Subroutinesub 39.2% 51 / 130 Podpod 26.9% 7 / 26 totaltotal 24.6% 255 / 1035 CC 71 scar 35.8 CC 71 · cov 23% · CRAP 36.0

Top SCAR

Makefile.PL 50.1
CC
30
Cov
15%
WriteMakefile1
306.0
pod_section
56.0
update_file
30.0
CRAP 149.5
blib/lib/Weather/MOSMIX/Weathercodes.pm 30.7
CC
6
Cov
61%
mosmix_weathercode
42.0
BEGIN
1.0
BEGIN
1.0
CRAP 21.5
blib/lib/Weather/MOSMIX.pm 29.0
CC
24
Cov
20%
format_forecast_range_concise
42.0
format_forecast_day
42.0
format_forecast_dbh
30.0
CRAP 18.1
blib/lib/Weather/MOSMIX/Reader.pm 12.6
CC
7
Cov
51%
handle_place
12.0
file_expiry
6.0
open_zip
6.0
CRAP 3.5
blib/script/mosmix-import.pl untested 10.6
CC
2
Cov
0%
status
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.9
6 6 files < 75%
7 7 untested files
< 75% 75-90% 90-100% at 100% untested
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 24.4 23 / 941.7 1 / 560.0 0 / 60.0 0 / 450.0 5 / 10n/a 17.0 29 / 17030 50.1
CC
30
Cov
15%
CRAP 149.5
Makefile.PL 24.4 23 / 941.7 1 / 560.0 0 / 60.0 0 / 450.0 5 / 10n/a 17.0 29 / 17030 50.1
CC
30
Cov
15%
WriteMakefile1
306.0
pod_section
56.0
update_file
30.0
CRAP 149.5
blib/lib/MooX/Role 78.2 18 / 230.0 0 / 2n/a n/a 83.3 5 / 6n/a 74.1 23 / 312 8.9
CC
2
Cov
72%
CRAP 2.4
DBIConnection.pm 78.2 18 / 230.0 0 / 2n/a n/a 83.3 5 / 6n/a 74.1 23 / 312 8.9
CC
2
Cov
72%
__ANON__
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.4
blib/lib/Weather 19.0 41 / 2150.0 0 / 260.0 0 / 50.0 0 / 236.3 12 / 338.3 1 / 1218.4 54 / 29324 27.2
CC
24
Cov
17%
CRAP 15.2
MOSMIX.pm 22.7 41 / 1800.0 0 / 260.0 0 / 30.0 0 / 252.1 12 / 2310.0 1 / 1022.1 54 / 24424 29.0
CC
24
Cov
20%
format_forecast_range_concise
42.0
format_forecast_day
42.0
format_forecast_dbh
30.0
CRAP 18.1
WeatherGov.pm untested 0.0 0 / 35n/a 0.0 0 / 2n/a 0.0 0 / 100.0 0 / 20.0 0 / 491 6.9
CC
1
Cov
0%
forecast
2.0
json_request
2.0
BEGIN
2.0
CRAP 2.0
blib/lib/Weather/MOSMIX 62.2 112 / 18011.1 2 / 180.0 0 / 40.0 0 / 263.0 29 / 4646.1 6 / 1356.6 149 / 26317 19.1
CC
17
Cov
56%
CRAP 6.7
Weathercodes.pm 76.6 23 / 300.0 0 / 40.0 0 / 40.0 0 / 285.7 6 / 7100 1 / 162.5 30 / 486 30.7
CC
6
Cov
61%
mosmix_weathercode
42.0
BEGIN
1.0
BEGIN
1.0
CRAP 21.5
Reader.pm 53.8 49 / 910.0 0 / 6n/a n/a 66.6 14 / 2166.6 4 / 654.0 67 / 1247 12.6
CC
7
Cov
51%
handle_place
12.0
file_expiry
6.0
open_zip
6.0
CRAP 3.5
Writer.pm 67.8 40 / 5925.0 2 / 8n/a n/a 50.0 9 / 1816.6 1 / 657.1 52 / 916 10.4
CC
6
Cov
63%
purge_expired_records
6.0
__ANON__
6.0
__ANON__
6.0
CRAP 2.8
blib/script 0.0 0 / 1960.0 0 / 160.0 0 / 30n/a 0.0 0 / 350.0 0 / 10.0 0 / 2782 8.0
CC
2
Cov
0%
CRAP 2.2
mosmix-import.pl untested 0.0 0 / 570.0 0 / 140.0 0 / 14n/a 0.0 0 / 80.0 0 / 10.0 0 / 942 10.6
CC
2
Cov
0%
status
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.9
dump-locations.pl untested 0.0 0 / 22n/a 0.0 0 / 2n/a 0.0 0 / 5n/a 0.0 0 / 291 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
mosmix-purge.pl untested 0.0 0 / 17n/a 0.0 0 / 2n/a 0.0 0 / 4n/a 0.0 0 / 231 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
mosmix-query-verbose.pl untested 0.0 0 / 38n/a 0.0 0 / 6n/a 0.0 0 / 7n/a 0.0 0 / 511 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
mosmix-query.pl untested 0.0 0 / 500.0 0 / 20.0 0 / 6n/a 0.0 0 / 8n/a 0.0 0 / 661 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
weathergov-query.pl untested 0.0 0 / 12n/a n/a n/a 0.0 0 / 3n/a 0.0 0 / 151 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0