Branch Coverage

blib/lib/MCE/Core/Input/Request.pm
Criterion Covered Total %
branch 30 58 51.7


line true false branch
39 0 53 unless defined $self->{'user_func'}
41 0 53 $^O eq 'MSWin32' ? :
54 0 53 if ($_lock_chn)
55 0 0 $INC{'threads.pm'} ? :
60 0 0 if $_is_MSWin32
62 0 0 unless $_DAT_LOCK->{$_pid}
66 0 0 if $_DAT_LOCK->{$_pid}
73 36 17 if ($_proc_type == 0) { }
3 14 elsif ($_proc_type == 2) { }
83 0 14 if (length $_RS > 1 and substr($_RS, 0, 1) eq "\n") { }
102 0 197 if length $_ > 67108864
108 0 197 if defined $\
109 0 197 if $/ ne $MCE::LF
111 0 197 if $_lock_chn
113 0 197 if $_is_MSWin32
116 53 144 unless ($_len)
117 0 53 if $_lock_chn
123 0 144 if ($_chunk_id > 1 and $_chop_len) { }
131 0 144 if $_lock_chn
135 122 22 if ($_proc_type == 0) { }
15 7 elsif ($_proc_type == 2) { }
137 85 37 $_chunk_size == 1 ? :
147 2 5 if ($_use_slurpio) { }
148 0 2 if ($_chop_len and substr($_, -$_chop_len) eq $_chop_str)
155 0 5 if ($_chunk_size == 1) { }
156 0 0 if ($_chop_len and substr($_, -$_chop_len) eq $_chop_str)
164 0 5 if $/ ne $_RS
168 0 5 if ($_chop_len)
170 0 0 if (substr($_recs[$i], -$_chop_len) eq $_chop_str)