Branch Coverage

blib/lib/Weather/YR/LocationForecast.pm
Criterion Covered Total %
branch 6 12 50.0


line true false branch
115 1 0 if (my $xml_ref = $self->xml_ref) { }
123 84 258 if ($t->{'location'}{'temperature'}) { }
258 0 elsif (my $p = $t->{'location'}{'precipitation'}) { }
126 83 1 if (defined $datapoint)
282 0 0 unless (defined $closest_dp)
289 0 0 if ($diff_from_now < abs $closest_dp->from->epoch - $now->epoch)