Branch Coverage

blib/lib/App/Scaffolder/Command.pm
Criterion Covered Total %
branch 17 32 53.1


line true false branch
42 0 5 unless ($self->contains_base_args($opt) or $opt->template)
69 0 9 if ($user_template_dir)
76 9 0 if (-d $command_dir)
85 0 9 $create ? :
89 0 9 if ($my_dist_data)
91 0 0 if (-d $my_command_dir) { }
0 0 elsif ($create) { }
95 0 0 unless $my_command_dir->mkpath
108 1 11 if (not defined $command or $command eq '')
114 3 8 if (defined $scaffolder_template_path and $scaffolder_template_path ne '')
132 0 7 if (exists $$template{$name}) { }
151 1 6 if (not defined $name or $name eq '')
156 0 6 unless (exists $$template{$name})
187 0 5 if ($opt->list)
195 0 5 if ($opt->create_template_dir)
209 3 1 unless ($opt->quiet)