Branch Coverage

blib/lib/MapReduce/Framework/Simple.pm
Criterion Covered Total %
branch 11 72 15.2


line true false branch
35 0 0 if (defined $options)
36 0 0 if (defined $options->{'chunk_num'})
39 0 0 if (defined $options->{'method'})
44 0 0 if ($method eq 'element_shuffle') { }
0 0 elsif ($method eq 'element_sequential') { }
0 0 elsif ($method eq 'element_server_cores') { }
0 0 elsif ($method eq 'element_server_workers') { }
0 0 elsif ($method eq 'element_server_core_clock') { }
102 0 0 if ($tmp_max_cc < $tmp_cc)
105 0 0 if ($tmp_min_cc > $tmp_cc)
151 5 0 if (defined $options and defined $options->{'remote'})
164 4 0 if (defined $data_structure)
165 4 0 if ($data_structure->{'is_success'} == 1) { }
176 0 5 if ($remote_flg == 1) { }
178 0 0 if $pm->start
192 0 0 if ($result_chil_from_remote->{'is_success'}) { }
202 10 4 if $pm->start
210 0 1 if ($remote_flg == 1 and $#$failed_data >= 0)
219 0 0 if (defined $data_structure)
220 0 0 if ($data_structure->{'is_success'} == 1) { }
233 0 0 if $pm2->start
248 0 0 if ($result_chil_from_remote->{'is_success'}) { }
260 0 1 if ($#$result_failover >= 0)
263 0 1 if ($#$discarded_data >= 0)
264 0 0 if ($self->die_discarded_data == 1) { }
0 0 elsif ($self->warn_discarded_data == 1) { }
270 1 0 if ($self->skip_undef_result == 1) { }
273 4 0 if (defined $result_merged->[$_])
291 0 0 unless (defined $worker)
296 0 0 unless (defined $port)
305 0 0 if ($rc and $self->force_plackup == 0) { }
332 0 0 if ($self->worker_log == 1)
363 0 0 if ($self->worker_log == 1)
372 0 0 if (defined $$response{$env->{'PATH_INFO'}}) { }
393 0 0 if ($result_chil_from_remote->{'is_success'})
415 0 0 if ($@)