Branch Coverage

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


line true false branch
64 0 0 unless $_
67 0 0 if ref $re eq 'Regexp' and $_ =~ /$re/
81 0 0 if $self->{'params'}{'debug'} and $message
82 0 0 if $message
84 0 0 unless defined $response
87 0 0 unless defined $val
88 0 0 if $self->{'params'}{'debug'}
89 0 0 unless $val == 0
156 0 0 unless $params{'username'} and $params{'password'}
215 0 0 if &catch(qr/^No number found for allocation/)
219 0 0 unless (&catch(qr/^Number not activated/))
238 0 0 $number->uk ? :
252 0 0 $number->uk ? :
265 0 0 $number->uk ? :
289 0 0 unless (&catch(qr/^No range found for allocation/))
294 0 0 if $self->{'params'}{'debug'}
295 0 0 if $val != 0
300 0 0 wantarray ? :
329 0 0 unless $qty =~ /^\d+$/
333 0 0 if (&catch(qr/^No range found for allocation/))
334 0 0 wantarray ? :
341 0 0 wantarray ? :
363 0 0 $number->uk ? :
365 0 0 if (&catch(qr/^Account not ACTIve/))
366 0 0 wantarray ? :
369 0 0 unless wantarray
388 0 0 $number->uk ? :
407 0 0 $number->uk ? :
426 0 0 if @email != 1
427 0 0 $number->uk ? :
445 0 0 if @email != 1
446 0 0 $number->uk ? :
467 0 0 unless $host
468 0 0 unless $username
469 0 0 $inband ? :
470 0 0 $number->uk ? :
485 0 0 $number->uk ? :
546 0 0 $number->uk ? :
548 0 0 wantarray ? :
0 0 if $@
554 0 0 unless wantarray
555 0 0 unless $stat
668 0 0 unless $cmd =~ /$commands/