| blib/lib/Mojolicious/Command/generate/lexicon.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 17 | 28 | 60.7 |
| 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') { } | |
| 85 | 0 | 2 | if $@ |
| 99 | 3 | 0 | unless $self->quiet |
| 108 | 0 | 5 | unless open F, $file |
| 113 | 1 | 4 | if $verbose |
| 119 | 2 | 9 | if $verbose |