Condition Coverage

blib/lib/Net/Cmd.pm
Criterion Covered Total %
condition 15 55 27.2


and 3 conditions

line !l l&&!r l&&r condition
52 0 0 0 !($string =~ /^\d+/) && $ebcdicstr =~ /^\d+/
123 9 0 0 $level and not exists $debug{$pkg}
208 0 0 56 defined $nfound and $nfound > 0
459 1 21 0 @_ == 1 && ref $_[0]
472 22 0 0 $] < 5.010001 and $] != 5.008009
520 0 0 0 @_ == 1 && ref $_[0]
593 0 0 0 not $done and length do { *$cmd }->{'net_cmd_readbuf'} < $len

or 2 conditions

line l !l condition
75 0 0 $debug{$pkg} ||= 0
110 0 98 do { *$cmd }->{'net_cmd_debug'} || 0
113 0 0 $debug{$pkg} || 0
119 0 0 $debug{$pkg} || 0
199 19 37 $cmd->timeout || undef
324 7 3 do { *$cmd }->{'net_cmd_lines'} ||= []
341 8 0 $cmd->timeout || undef
383 0 0 do { *$cmd }->{'net_cmd_lines'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
103 89 9 0 @_ == 1 or @_ == 2
106 98 0 0 ref $cmd || $cmd
208 56 0 0 defined $nfound and $nfound > 0 or -f $cmd
245 0 0 0 ref $cmd || $cmd
254 0 0 0 ref $cmd || $cmd
622 0 0 0 $len ||= length $buf