line |
true |
false |
branch |
27
|
2 |
0 |
if (substr($_[0], 0, 1) eq "-") |
31
|
2 |
3 |
if ($i =~ /^-conf/iu) { } |
|
2 |
1 |
elsif ($i =~ /^-(name|id)$/iu) { } |
|
0 |
1 |
elsif ($i =~ /^-refresh$/iu) { } |
|
1 |
0 |
elsif ($i =~ /^-test$/iu) { } |
34
|
2 |
0 |
if (ref $config ne "HASH") |
44
|
1 |
0 |
if $data{$i} |
56
|
0 |
2 |
unless (defined $config->{'telegram'}{'apikey'}) |
88
|
0 |
2 |
if ($timestamp - $self->{'last_updated'} < $self->{'refresh'}) |
95
|
0 |
2 |
unless defined $url |
118
|
1 |
1 |
unless (defined $self->{'callsigns'}{$callsign}) |
132
|
0 |
2 |
if ($response->{'success'}) { } |