Branch Coverage

blib/lib/Magrathea/API/Emergency.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
71 0 0 if $self->{'debug'} and $message
72 0 0 if $message
76 0 0 unless defined $val
77 0 0 if $self->{'debug'}
97 0 0 unless ref $api eq 'Magrathea::API'
130 0 0 unless $result == 0
173 0 0 wantarray ? :
250 0 0 if ($postcode)
251 0 0 if ($postcode ne '')
252 0 0 unless $postcode =~ /^([Gg][Ii][Rr] 0[Aa]{2})|((([A-Za-z][0-9]{1,2})|(([A-Za-z][A-Ha-hJ-Yj-y][0-9]{1,2})|(([A-Za-z][0-9][A-Za-z])|([A-Za-z][A-Ha-hJ-Yj-y][0-9]?[A-Za-z])))) [0-9][A-Za-z]{2})$/
277 0 0 if defined $value
296 0 0 unless ($self->postcode and $self->name)
300 0 0 if $response >= 2
323 0 0 if ($name =~ /^[A-Z]+$/) { }
324 0 0 unless $name =~ /$commands/
326 0 0 if $self->ported
332 0 0 unless exists $fields{$name}
333 0 0 if (defined $value)
337 0 0 if $len > $max