Branch Coverage

blib/lib/MapReduce/Framework/Simple.pm
Criterion Covered Total %
branch 11 60 18.3


line true false branch
30 0 0 if (defined $options)
31 0 0 if (defined $options->{'chunk_num'})
34 0 0 if (defined $options->{'method'})
39 0 0 if ($method eq 'element_shuffle') { }
0 0 elsif ($method eq 'element_sequential') { }
79 5 0 if (defined $options and defined $options->{'remote'})
92 4 0 if (defined $data_structure)
93 4 0 if ($data_structure->{'is_success'} == 1) { }
104 0 5 if ($remote_flg == 1) { }
106 0 0 if $pm->start
120 0 0 if ($result_chil_from_remote->{'is_success'}) { }
130 10 4 if $pm->start
138 0 1 if ($remote_flg == 1 and $#$failed_data >= 0)
147 0 0 if (defined $data_structure)
148 0 0 if ($data_structure->{'is_success'} == 1) { }
161 0 0 if $pm2->start
176 0 0 if ($result_chil_from_remote->{'is_success'}) { }
188 0 1 if ($#$result_failover >= 0)
191 0 1 if ($#$discarded_data >= 0)
192 0 0 if ($self->die_discarded_data == 1) { }
0 0 elsif ($self->warn_discarded_data == 1) { }
198 1 0 if ($self->skip_undef_result == 1) { }
201 4 0 if (defined $result_merged->[$_])
216 0 0 unless (defined $worker)
219 0 0 unless (defined $port)
226 0 0 if ($rc and $self->force_plackup == 0) { }
252 0 0 if ($self->worker_log == 1)
275 0 0 if ($self->worker_log == 1)
284 0 0 if (defined $$response{$env->{'PATH_INFO'}}) { }
309 0 0 if ($@)