Branch Coverage

blib/lib/Mojolicious/Command/generate/lexicon.pm
Criterion Covered Total %
branch 15 28 53.5


line true false branch
36 5 0 if (ref $self->app eq 'CODE') { }
53 5 0 if @_
59 5 0 if defined $ARGV[0]
64 0 5 unless (@templates)
67 0 0 if /\.$handler/
76 3 2 if (-e $lexem_file)
77 3 0 if ($language ne 'Skeleton')
78 2 1 if (lc $behavior eq 'save') { }
1 0 elsif (lc $behavior eq 'reset') { }
84 0 2 if $@
98 0 3 unless $self->quiet
107 0 5 unless open F, $file
112 0 5 if $verbose
118 0 11 if $verbose