Condition Coverage

blib/lib/WebService/Nestoria/Search.pm
Criterion Covered Total %
condition 21 42 50.0


and 3 conditions

line !l l&&!r l&&r condition
240 0 0 15 defined $val and $val =~ /^[\+\-]?\d+\.?\d*$/
241 0 2 13 -180 <= $val && $val <= 180
251 0 0 13 defined $val and $val =~ /^[\+\-]?\d+\.?\d*$/
252 0 2 11 -90 <= $val && $val <= 90
353 0 14 814 defined $key and defined $val
480 97 14 0 defined $args{'number_of_results'} and $args{'number_of_results'} > $Config{'MaxResults'}
563 0 0 0 defined $response and $response->status_code == 200
653 7 0 0 not $UA and $class->can('get')
680 7 0 0 not defined $sleep_time || ref $class and $class =~ /^\d+$/

or 3 conditions

line l !l&&r !l&&!r condition
426 0 44 0 $self->{$key} ||= $GlobalDefaults{$key}
454 25 273 0 $args{$key} ||= $GlobalDefaults{$key}
459 2 55 0 $args{$key} ||= $self->{'Defaults'}{$key}
464 64 237 146 $args{$key} ||= $Config{'Defaults'}{$key}
680 7 0 0 defined $sleep_time || ref $class