Branch Coverage

blib/lib/Module/Starter/CSJEWELL.pm
Criterion Covered Total %
branch 1 60 1.6


line true false branch
126 0 0 unless (-d $tdir)
158 0 0 unless defined $$self{'template_dir'}
163 0 0 unless -d $$self{'template_dir'}
169 0 0 unless -e $abs_file_path
173 0 0 unless -r $abs_file_path
177 0 0 unless open my $fh, '<', $abs_file_path
180 0 0 unless close $fh
183 0 0 unless $$context_ref{$1}
196 1 0 if (@other_args or not $setup or $setup ne 'setup')
209 0 0 if ($Module::Starter::CSJEWELL::OSNAME eq 'MSWin32')
210 0 0 if (defined $ENV{'HOME'}) { }
220 0 0 unless (defined $ENV{'HOME'})
224 0 0 unless -d $ENV{'HOME'}
231 0 0 unless (-d $template_dir)
240 0 0 unless (-d $template_test_dir)
249 0 0 unless (-d $template_xtest_dir)
259 0 0 unless (-d $template_authortest_dir)
269 0 0 unless (-d $template_authortest_settings)
282 0 0 if (-e $config_file) { }
287 0 0 unless rename $config_file, $backup
291 0 0 unless open my $fh, '<', $backup
294 0 0 unless close $fh
315 0 0 unless open my $fh, '>', $config_file
316 0 0 unless print {$fh;} @config_info
317 0 0 unless close $fh
359 0 0 unless open my $fh, '>', $abs_path
360 0 0 unless print {$fh;} $contents_of{$$ref_path[-1]}
362 0 0 unless close $fh
376 0 0 unless (defined $response)
381 0 0 if $response =~ /\S/ms