Branch Coverage

blib/lib/Weather/Astro7Timer.pm
Criterion Covered Total %
branch 20 20 100.0


line true false branch
212 6 1 if ($resp->is_success) { }
213 3 3 wantarray ? :
225 1 12 unless $args{'product'}
228 1 11 unless grep {/^$args{'product'}$/;} products()
231 2 9 unless defined $args{'lat'} and abs $args{'lat'} <= 90
234 2 7 unless defined $args{'lon'} and abs $args{'lon'} <= 180
238 4 3 unless ($self->{'ua'})
265 3 3 unless $format
267 1 2 if ($format eq 'json') { }
1 1 elsif ($format eq 'xml') { }