Condition Coverage

blib/lib/MCE/Shared/Handle.pm
Criterion Covered Total %
condition 15 75 20.0


and 3 conditions

line !l l&&!r l&&r condition
54 1 0 2 $_reset_flg and $INC{'MCE/Shared/Server.pm'}
91 0 0 0 @_ == 3 and ref $_[2]
0 0 0 @_ == 3 and ref $_[2] and defined(my $_fd = fileno $_[2])
107 0 0 0 defined $_[0] and $_[0] eq "MCE::Shared::Handle"
111 0 0 0 ref $_[0] eq "GLOB" and tied *{$_[0];}
0 0 0 ref $_[0] eq "GLOB" and tied *{$_[0];} and ref tied *{$_[0];} eq "MCE::Shared::Handle"
116 0 0 0 ref $_[0] eq "GLOB" and tied *{$_[0];}
154 0 0 0 length $/ > 1 and substr($/, 0, 1) eq "\n"
195 0 0 0 length $/ > 1 and substr($/, 0, 1) eq "\n"
0 0 0 length $/ > 1 and substr($/, 0, 1) eq "\n" and not eof $_[0]
530 9 0 0 ref $_[-1] and &reftype($_[-1]) ne "GLOB"
9 0 0 @_ == 1 and ref $_[0]
9 0 0 @_ == 1 and ref $_[0] and defined($_fd = fileno $_[0])
0 9 0 @_ == 2 and ref $_[1]
9 0 0 @_ == 2 and ref $_[1] and defined($_fd = fileno $_[1])
547 9 0 0 $_fd > $_max_fd and not $INC{'IO/FDPass.pm'}
602 0 0 7 $_len and $_len > 0
660 2 0 27 $_len and $_len > 0
669 2 27 0 $_len and $_len < 0
719 0 0 1 @_ == 2 and $_[1] == length $_[0]

or 2 conditions

line l !l condition
83 0 0 $_[1] // ":raw"
182 0 0 $_[3] || 0
724 0 0 $_[2] || 0

or 3 conditions

line l !l&&r !l&&!r condition
244 0 0 0 $!{'EINTR'} or $!{'EAGAIN'}
0 0 0 $!{'EINTR'} or $!{'EAGAIN'} or $!{'EWOULDBLOCK'}
719 0 1 0 @_ == 1 or @_ == 2 and $_[1] == length $_[0]