Branch Coverage

blib/lib/MCE/Core/Input/Handle.pm
Criterion Covered Total %
branch 29 70 41.4


line true false branch
49 0 14 unless defined $self->{'user_func'}
51 0 14 $^O eq 'MSWin32' ? :
63 0 14 $INC{'threads.pm'} ? :
69 0 65 if $_is_MSWin32
71 65 0 unless $_DAT_LOCK->{$_pid}
75 65 0 if $_DAT_LOCK->{$_pid}
78 0 14 if (length $_RS > 1 and substr($_RS, 0, 1) eq "\n") { }
87 0 14 $_proc_type == 1 ? :
91 0 14 unless open $_IN_FILE, "<", $_input_data
104 0 65 if length $_ > 67108864
110 0 65 if $_is_MSWin32
115 14 51 if ($_offset_pos >= $_data_size)
122 0 51 if (++$_chunk_id > 1 and $_chop_len) { }
129 51 0 if ($_chunk_size <= 8192) { }
130 0 51 if $/ ne $_RS
133 36 15 if ($_chunk_size == 1) { }
134 0 36 if ($_p) { }
141 0 15 if ($_use_slurpio) { }
147 0 15 if ($_chop_len) { }
148 0 0 $_chunk_id > 1 ? :
153 0 0 if (length $_recs[$i] == $_chop_len)
162 3 27 unless (defined $_recs[$i])
177 0 0 if $/ ne $_RS
179 0 0 if ($_parallel_io and $_RS eq $MCE::LF) { }
189 0 0 if ($_offset_pos)
193 0 0 if ($_proc_type == 0) { }
205 0 0 if ($_proc_type == 0) { }
225 0 51 if ($_use_slurpio) { }
226 0 0 if ($_chop_len and substr($_, -$_chop_len) eq $_chop_str)
233 36 15 if ($_chunk_size == 1) { }
234 0 36 if ($_chop_len and substr($_, -$_chop_len) eq $_chop_str)
240 0 15 if ($_chunk_size > 8192)
241 0 0 if $/ ne $_RS
245 0 15 if ($_chop_len)
247 0 0 if (substr($_recs[$i], -$_chop_len) eq $_chop_str)