Branch Coverage

blib/lib/Weather/YR/Base.pm
Criterion Covered Total %
branch 8 20 40.0


line true false branch
63 0 1 unless (length $self->xml)
66 0 0 if ($self->can("status_code"))
70 0 0 if ($response->is_success) { }
78 1 0 if (length $self->xml) { }
79 1 0 if ($self->can("schema_url"))
88 0 1 if ($@) { }
99 1 0 unless ($@)
117 684 0 if (length $date) { }
133 1 0 defined $lat ? :
140 1 0 defined $lon ? :