| line |
true |
false |
branch |
|
19
|
0 |
14 |
unless defined $opt{'mackerel_metric_key_prefix'} |
|
29
|
1 |
6 |
if ($self->{'dry_run'}) |
|
36
|
4 |
2 |
if ($metric_type eq 'service') { } |
|
|
1 |
1 |
elsif ($metric_type eq 'host') { } |
|
55
|
1 |
4 |
if (chomp $@) |
|
61
|
1 |
3 |
if ($is_success != JSON::true() or $content->{'error'}) |
|
82
|
0 |
108 |
$metric_type eq 'host' ? : |
|
88
|
2 |
4 |
if ($self->{'dry_run'}) |
|
95
|
4 |
0 |
if ($metric_type eq 'service') { } |
|
|
0 |
0 |
elsif ($metric_type eq 'host') { } |
|
105
|
0 |
4 |
if (chomp $@) |
|
111
|
0 |
4 |
if ($is_success != JSON::true() or $content->{'error'}) |