| blib/lib/Weather/NHC/TropicalCyclone.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 8 | 12 | 66.6 | 
| line | true | false | branch | 
|---|---|---|---|
| 42 | 0 | 3 | if ($@ or not $response or $response->{'status'} ne 200) | 
| 52 | 0 | 3 | if ($file) | 
| 60 | 0 | 3 | if ($@ or not $ref) | 
| 132 | 3 | 6 | unless ($response->{'success'}) | 
| 137 | 3 | 3 | if ($local_file) | 
| 138 | 0 | 3 | unless open my $fh, ">", $local_file |