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
78 3 5 0 defined $ops and not defined $self->{'ops'}
140 0 0 0 defined $line and defined $file
308 0 0 0 ref \$param->[0] eq 'SCALAR' and ref $param->[1] eq 'ARRAY'
496 1 1 0 ref $fs eq '' && ref $cb eq 'CODE'
497 1 0 1 ref $fs eq '' && !defined($cb)
498 1 1 0 ref $fs eq 'CODE' && ref $cb eq '' && defined $cb
499 1 0 1 ref $fs eq 'CODE' && !defined($cb)
1049 0 0 0 defined $_->{'value'} and defined $_->{'label'}
1225 0 0 0 $o <= $maxNum and $o > -1
1272 0 0 0 defined $op->{'default'} and $resp eq ' '
1387 0 0 0 $cl eq 'RETURN' and &_isOneSelected($m, $name)

or 2 conditions

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

or 3 conditions

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