Branch Coverage

blib/lib/App/mgen.pm
Criterion Covered Total %
branch 16 48 33.3


line true false branch
60 0 8 if defined $$self{'options'}{$attribute}
68 0 1 unless ($$self{'options'}{'dryrun'})
69 0 0 if (not $$self{'options'}{'current'}) { }
70 0 0 unless $$self{'options'}{'current'}
84 1 0 unless ($$self{'options'}{'silent'})
86 0 1 if $path
95 0 2 $ENV{'MGEN_ROOT'} ? :
96 0 2 $ENV{'MGEN_AUTHOR'} ? :
97 0 2 $ENV{'MGEN_EMAIL'} ? :
131 0 2 unless @ARGV
136 0 2 if $$self{'options'}{'description'}
140 0 2 $$self{'author'} ? :
0 2 $$self{'options'}{'author'} ? :
144 0 2 $$self{'email'} ? :
0 2 $$self{'options'}{'email'} ? :
150 2 0 unless $$self{'module_path'}
151 0 2 if $$self{'options'}{'path'}
159 0 0 unless $$self{'module_path'}
172 0 0 if ($@)
249 0 0 $$self{'author'} ? :
0 0 $$self{'options'}{'author'} ? :
254 0 0 unless defined $author
268 1 0 unless $$self{'author'}
273 0 0 if $email