Condition Coverage

blib/lib/Script/Toolbox/Util.pm
Criterion Covered Total %
condition 12 40 30.0


and 3 conditions

line !l l&&!r l&&r condition
76 3 5 0 defined $ops and not defined $self->{'ops'}
138 0 0 0 defined $line and defined $file
304 0 0 0 ref \$param->[0] eq 'SCALAR' and ref $param->[1] eq 'ARRAY'
492 1 1 0 ref $fs eq '' && ref $cb eq 'CODE'
493 1 0 1 ref $fs eq '' && !defined($cb)
494 1 1 0 ref $fs eq 'CODE' && ref $cb eq '' && defined $cb
495 1 0 1 ref $fs eq 'CODE' && !defined($cb)
1045 0 0 0 defined $_->{'value'} and defined $_->{'label'}
1221 0 0 0 $o <= $maxNum and $o > -1
1268 0 0 0 defined $op->{'default'} and $resp eq ' '
1383 0 0 0 $cl eq 'RETURN' and &_isOneSelected($m, $name)

or 2 conditions

line l !l condition
573 9 0 &Open($file) || (return undef)
653 5 0 &Open($file) || (return undef)

or 3 conditions

line l !l&&r !l&&!r condition
195 0 0 0 $canal =~ /^\s*>/ or $canal =~ /^\s*[|]/