Branch Coverage

blib/lib/Weather/NHC/TropicalCyclone/Storm.pm
Criterion Covered Total %
branch 11 34 32.3


line true false branch
31 0 6 unless ($v->success)
51 0 6 unless (grep {/$value/;} keys %$CLASSIFICATIONS)
95 0 2 unless $self->classification
96 0 2 unless $$CLASSIFICATIONS{$self->classification}
103 0 0 unless $self->binNumber
111 0 0 if $self->binNumber =~ /$BASINS->{$basin}/
132 0 0 unless $prefix
151 0 0 unless ($self->$resource->advNum or $self->$resource->issuance or $self->$resource->url)
167 0 0 if ($local_file)
168 0 0 unless open my $fh, ">", $local_file
200 0 0 if ($local_file)
292 0 39 unless grep {/$resource/;} @{$$types{$urlKey};}
295 0 39 if ref $self->$resource ne "HASH" and not $self->$resource->{$urlKey}
300 39 0 unless ($local_file)
311 0 39 unless ($response->{'success'})
320 30 9 $self->$resource->can('advNum') ? :
338 0 4 unless ($response->{'success'})