Branch Coverage

blib/lib/MapReduce/Framework/Simple.pm
Criterion Covered Total %
branch 13 92 14.1


line true false branch
41 0 0 if (defined $options)
42 0 0 if (defined $options->{'chunk_num'})
45 0 0 if (defined $options->{'method'})
50 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') { }
108 0 0 if ($tmp_max_cc < $tmp_cc)
111 0 0 if ($tmp_min_cc > $tmp_cc)
157 5 0 if (defined $options and defined $options->{'remote'})
161 0 5 if (defined $options and defined $options->{'storable'})
173 0 5 if ($storable_flg == 1)
183 4 0 if (defined $data_structure)
184 4 0 if ($data_structure->{'is_success'} == 1) { }
195 0 5 if ($remote_flg == 1) { }
197 0 0 if $pm->start
199 0 0 if ($storable_flg == 1) { }
215 0 0 if ($storable_flg == 1)
217 0 0 if ($storable_flg == 1)
225 0 0 if ($result_chil_from_remote->{'is_success'}) { }
227 0 0 if ($storable_flg == 1) { }
240 10 4 if $pm->start
248 0 1 if ($remote_flg == 1 and $#$failed_data >= 0)
257 0 0 if (defined $data_structure)
258 0 0 if ($data_structure->{'is_success'} == 1) { }
271 0 0 if $pm2->start
273 0 0 if ($storable_flg == 1) { }
290 0 0 if ($storable_flg == 1)
292 0 0 if ($storable_flg == 1)
301 0 0 if ($result_chil_from_remote->{'is_success'}) { }
303 0 0 if ($storable_flg == 1) { }
318 0 1 if ($#$result_failover >= 0)
321 0 1 if ($#$discarded_data >= 0)
322 0 0 if ($self->die_discarded_data == 1) { }
0 0 elsif ($self->warn_discarded_data == 1) { }
328 1 0 if ($self->skip_undef_result == 1) { }
331 4 0 if (defined $result_merged->[$_])
349 0 0 unless (defined $worker)
354 0 0 unless (defined $port)
363 0 0 if ($rc and $self->force_plackup == 0) { }
390 0 0 if ($self->worker_log == 1)
438 0 0 if ($self->worker_log == 1)
447 0 0 if (defined $$response{$env->{'PATH_INFO'}}) { }
468 0 0 if ($result_chil_from_remote->{'is_success'})
490 0 0 if ($@)