Condition Coverage

blib/lib/IO/Handle.pm
Criterion Covered Total %
condition 12 45 26.6


and 3 conditions

line !l l&&!r l&&r condition
318 0 0 0 $] > "5.013" and $class eq "IO::File"
0 0 0 $] > "5.013" and $class eq "IO::File" and not $INC{'IO/File.pm'}
367 3 0 7 ref $fd and "$fd" =~ /GLOB\(/o
450 0 0 0 @_ >= 2 and @_ <= 4
457 0 0 0 @_ >= 2 and @_ <= 4
612 0 0 6 $name =~ /^(SEEK_(SET|CUR|END)|_IO[FLN]BF)$/ && defined &{$name;}

or 2 conditions

line l !l condition
312 69 0 ref $_[0] || $_[0] || 'IO::Handle'
330 3 0 ref $_[0] || $_[0] || 'IO::Handle'
441 0 1 $_[3] || 0
446 0 0 $_[3] || 0
453 0 0 $_[3] || 0
459 0 0 $_[3] || 0

or 3 conditions

line l !l&&r !l&&!r condition
354 0 4 8 $mode =~ /^\+?(<|>>?)$/ or $mode =~ s/^r(\+?)$/$1
4 8 0 $mode =~ /^\+?(<|>>?)$/ or $mode =~ s/^r(\+?)$/$1/
12 0 0 $mode =~ /^\+?(<|>>?)$/ or $mode =~ s/^r(\+?)$/$1/ or $mode =~ s/^a(\+?)$/$1>>/
440 1 0 0 @_ == 3 or @_ == 4
445 0 0 0 @_ == 3 or @_ == 4