blib/lib/Weather/Astro7Timer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 20 | 20 | 100.0 |
line | true | false | branch |
---|---|---|---|
213 | 6 | 1 | if ($resp->is_success) { } |
214 | 3 | 3 | wantarray ? : |
230 | 1 | 12 | unless $args{'product'} |
233 | 1 | 11 | unless grep {/^$args{'product'}$/;} products() |
236 | 2 | 9 | unless defined $args{'lat'} and abs $args{'lat'} <= 90 |
239 | 2 | 7 | unless defined $args{'lon'} and abs $args{'lon'} <= 180 |
243 | 4 | 3 | unless ($self->{'ua'}) |
270 | 3 | 3 | unless $format |
272 | 1 | 2 | if ($format eq 'json') { } |
1 | 1 | elsif ($format eq 'xml') { } |