Condition Coverage

blib/lib/Weather/API/Base.pm
Criterion Covered Total %
condition 28 32 87.5


and 3 conditions

line !l l&&!r l&&r condition
249 1 4 1 $self->{'scheme'} ne "http" and $self->{'scheme'} ne "https"
298 2 1 1 $pad and length $num < 2
305 1 0 2 $num and $num > 0
1 1 1 $num and $num > 0 and $num < 13
314 1 1 3 defined $args->{'lat'} and abs $args->{'lat'} <= 90
317 1 1 1 defined $args->{'lon'} and abs $args->{'lon'} <= 180
331 0 2 1 $self->{'error'} and $self->{'error'} eq "die"
408 0 4 14 $units{$_}[1] && $units{$_}[1] ne $_

or 2 conditions

line l !l condition
265 2 2 shift() || ' '

or 3 conditions

line l !l&&r !l&&!r condition
245 4 32 0 $args{$_} || $defaults{$_}
278 2 1 1 $7 || $gm