Branch Coverage

blib/lib/Data/Edit/Conversion.pm
Criterion Covered Total %
branch 48 86 55.8


line true false branch
29 0 49 unless ref $launch->projects and ref($launch->projects) =~ /\AData::Edit::Conversion::Projects\Z/
33 0 49 unless ref $launch->convert
36 49 0 if (my $r = ref $launch->convert)
37 49 0 if ($r =~ /ARRAY/) { }
40 196 0 if (ref $stage and ref($stage) =~ /ARRAY/) { }
41 0 196 unless @$stage >= 2
44 0 196 if ref $name
46 0 196 unless ref $sub and ref($sub) =~ /\ACODE\Z/
58 0 196 if $launch->stepNumberByName->{$stepName}
64 0 130 unless ref($launch) =~ /Data::Edit::Conversion/s
65 0 130 if ref $projectName
90 0 174 if (my $out = $launch->out)
97 0 174 if ($mp == 1) { }
105 0 1224 if ++$count > $mp
106 48 1176 unless fork
108 126 1008 if wait == -1
116 1008 0 if (-e $file)
132 0 125 unless defined $restart
150 0 1362 unless ref($launch) =~ /Data::Edit::Conversion/s
151 0 1362 if ref $projectName
157 0 130 unless ref($launch) =~ /Data::Edit::Conversion/s
158 0 130 if ref $projectName
165 0 130 unless ref($launch) =~ /Data::Edit::Conversion/s
166 0 130 if ref $projectName
175 0 31 unless ref($launch) =~ /Data::Edit::Conversion/s
176 0 31 if ref $projectName
179 0 31 unless -e $file
181 0 31 unless $p
187 0 48 unless ref($launch) =~ /Data::Edit::Conversion/s
188 0 48 if ref $projectName
191 0 48 unless $project
197 40 8 if ($restart)
200 0 40 unless defined $requested
205 0 63 unless -e $save
206 1 62 if &fileOutOfDate(sub { 1; } , $save, $source)
210 31 9 if (defined $actual)
269 0 392 unless $n
270 0 392 if $projects{$n}
271 0 392 unless $s
272 0 392 unless -e $s
688 0 49 if eval "eof(${p}::DATA)"
690 0 49 if $@
692 0 1 if $@