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'}
98 0 0 unless ref $api eq 'Magrathea::API'
132 0 0 unless $result == 0
175 0 0 wantarray ? :
252 0 0 if ($postcode)
253 0 0 if ($postcode ne '')
254 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})$/
280 0 0 if defined $val
299 0 0 unless ($self->postcode and $self->name)
303 0 0 if $response >= 2
326 0 0 if ($name =~ /^[A-Z]+$/) { }
327 0 0 unless $name =~ /$commands/
329 0 0 if $self->ported
335 0 0 unless exists $fields{$name}
336 0 0 if (defined $value)
340 0 0 if $len > $max