Condition Coverage

blib/lib/MCE/Core/Manager.pm
Criterion Covered Total %
condition 33 116 28.4


and 3 conditions

line !l l&&!r l&&r condition
166 81 0 347 $_has_user_tasks and $_task_id >= 0
174 146 282 0 $_task_id == 0 and defined $_syn_flag
428 0 0 $_task_id == 0 and defined $_syn_flag and $_sync_cnt
197 0 0 0 $_has_user_tasks and $_task_id >= 0
206 0 0 0 $_task_id == 0 and defined $_syn_flag
0 0 0 $_task_id == 0 and defined $_syn_flag and $_sync_cnt
240 0 0 0 $_list->[$i] and $_list->[$i] == $_pid
250 0 0 0 $_list->[$i] and $_list->[$i] == $_tid
309 0 67 229 $_single_dim and $_cs_one_flag
370 0 0 18 $_input_glob->can("getline") and $_input_glob->can("read")
671 0 0 0 $_tasks && exists $_tasks->[$_task_id]{'interval'}
681 0 0 0 $_delay && defined $_lapse
710 0 0 0 $_delay < 0 and $_app_tb
743 142 0 0 defined $_max_retries and not $_on_post_exit
766 34 108 0 $_has_user_tasks and $self->{'user_tasks'}[0]{'chunk_size'}
795 99 3 40 defined $_input_data and ref $_input_data eq "ARRAY"
99 0 3 defined $_input_data and ref $_input_data eq "HASH"
876 142 0 0 $self->{'loop_timeout'} and @{$self->{'_tids'};} == 0
142 0 0 $self->{'loop_timeout'} and @{$self->{'_tids'};} == 0 and $^O ne "MSWin32"
904 0 0 0 $_has_user_tasks and $_task_id >= 0
913 0 0 0 $_task_id == 0 and defined $_syn_flag
0 0 0 $_task_id == 0 and defined $_syn_flag and $_sync_cnt
932 0 0 0 defined $_pid and $_pid == 0

or 2 conditions

line l !l condition
277 0 0 $_max_retries || 0

or 3 conditions

line l !l&&r !l&&!r condition
98 0 0 0 not exists $self->{'flush_file'} or $self->{'flush_file'}
302 80 0 296 $_offset_pos >= $_input_size or $_aborted
339 36 0 18 $_eof_flag or $_aborted
405 3 0 15 $_offset_pos >= $_input_size or $_aborted
444 0 0 0 @_ret_a > 1 or defined $_ret_a[0]
560 0 0 0 not exists $self->{'flush_file'} or $self->{'flush_file'}
595 0 0 0 not defined $_sync_cnt or $_sync_cnt == 0
778 51 0 129 ref $_gather[$_i] eq 'MCE::Queue' || ref $_gather[$_i] eq 'Thread::Queue'
790 0 0 62 ref $_gather[0] eq 'MCE::Queue' || ref $_gather[0] eq 'Thread::Queue'
833 142 0 0 not exists $self->{'flush_stderr'} or $self->{'flush_stderr'}
836 142 0 0 not exists $self->{'flush_stdout'} or $self->{'flush_stdout'}
850 0 0 142 $ENV{'PERL_MCE_IPC'} eq 'win32' || defined $self->{'max_retries'} || $INC{'MCE/Child.pm'} || $INC{'MCE/Hobo.pm'}
857 0 142 0 $self->{'RS'} || $/
861 0 0 142 !$_RS || $_RS ne $MCE::LF
863 0 0 142 !$_I_SEP || $_I_SEP ne $MCE::LF