Branch Coverage

blib/lib/Distribution/Cooker.pm
Criterion Covered Total %
branch 16 42 38.1


line true false branch
116 0 0 unless make_path($dir)
117 0 0 unless chdir $dir
136 0 0 if (-d $file)
147 0 0 unless rename $old, $new
209 0 2 unless open my $fh, '>', 'cooker_report.txt'
243 0 2 unless $self->module
244 0 2 unless $self->module =~ / \A [A-Za-z0-9_]+ ( :: [A-Za-z0-9_]+ )* \z /ux
302 2 1 if defined $args[0]
303 0 3 unless $class->{'description'}
316 0 0 if -l $path
318 0 0 unless -d $path
344 0 8 if length $name
351 8 0 if defined $email
378 3 5 if defined $args[0]
389 3 11 if defined $args[0]
402 0 2 unless @parts
435 2 1 if defined $args[0]
450 0 0 if (/\A(\.git|\.svn|CVS|\.infra)\b/u)
567 0 8 if (-e $file)
573 0 0 if $config->exists($section, $field)
592 0 0 unless is_interactive()