Condition Coverage

blib/lib/PDL/NiceSlice.pm
Criterion Covered Total %
condition 35 75 46.6


and 3 conditions

line !l l&&!r l&&r condition
13 0 0 1 exists $engine_ok{$engine} and $engine_ok{$engine}
0 0 0 exists $engine_ok{$engine} and not $engine_ok{$engine}
149 0 144 46 $got and $txt =~ /[({\[]/
144 0 46 $got and $txt =~ /[({\[]/ and $ct++ < 1000
242 93 0 86 $src =~ /\G($prefixpat)/ and (($found, $dummy, $prefix) = &Text::Balanced::extract_bracketed($src, "()", $prefixpat))[0]
93 0 86 $src =~ /\G($prefixpat)/ and (($found, $dummy, $prefix) = &Text::Balanced::extract_bracketed($src, "()", $prefixpat))[0] and $ct++ < 1000
281 6 6 2 @modflags > 1 and grep /\?/, @modflags
394 38 0 0 @lines and not $end
398 0 278 1 defined $terminator and /$terminator/
403 0 278 0 defined $reinstator and /$reinstator/
420 37 1 7 $off and @lines
422 0 7 0 defined $reinstator and /$reinstator/
426 0 7 0 defined $terminator and /$terminator/

or 2 conditions

line l !l condition
238 64 33 $verbose //= 0
294 0 2 $call ||= "slice"
299 6 0 $call ||= "slice"
304 0 6 $call ||= "slice"
377 0 0 $package // ""
0 0 $filename // ""
0 0 $line // ""
0 0 $subroutine // ""
0 0 $hasargs // ""

or 3 conditions

line l !l&&r !l&&!r condition
194 0 0 8 not defined $args[0] or $args[0] =~ /^\s*$/
195 0 0 8 not defined $args[1] or $args[1] =~ /^\s*$/
196 6 0 2 not defined $args[2] or $args[2] =~ /^\s*$/
251 14 2 70 $prefix =~ /for(?:each)?\b(?:$wspat(?:my|our))?$wspat\$\w+$wspat$/s or $prefix =~ /->\s*\$\w+$/s
300 6 0 0 $arg ||= procargs($slicearg)
305 0 6 0 $arg ||= procargs($slicearg)