Branch Coverage

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


line true false branch
102 0 0 unless -d $dir
103 0 0 unless chdir $dir
120 0 0 if (-d $file)
131 0 0 unless rename $old, $new
193 0 2 unless open my $fh, ">", "cooker_report.txt"
227 0 2 unless $self->module
228 0 2 unless $self->module =~ / \A [A-Za-z0-9_]+ ( :: [A-Za-z0-9_]+ )* \z /ux
292 2 1 if defined $args[0]
293 0 3 unless $class->{'description'}
306 0 0 if -l $path
308 0 0 unless -d $path
337 0 8 if length $name
344 8 0 if defined $email
373 3 5 if defined $args[0]
384 3 11 if defined $args[0]
397 0 2 unless @parts
430 2 1 if defined $args[0]
445 0 0 if (/\A(\.git|\.svn|CVS|\.infra)\b/u)
566 0 8 if (-e $file)
572 0 0 if $config->exists($section, $field)
591 0 0 unless is_interactive()