Branch Coverage

blib/lib/Mojolicious/Command/generate/lexicont.pm
Criterion Covered Total %
branch 14 42 33.3


line true false branch
30 0 5 if ($arg_num < 2)
37 5 0 if (ref $self->app eq 'CODE') { }
54 0 5 unless (-e $org_file or -e $src_file)
62 5 0 if (-e $src_file)
68 0 5 if ($@)
78 0 5 if ($@)
84 0 5 if (-e $org_file) { }
91 0 0 if ($@)
98 0 0 if (defined $srclex{$key} and $orglex{$key} ne $srclex{$key})
108 0 0 if (-e $dest_file)
114 0 0 if ($@)
122 0 0 if (not defined $srclex{$key} or defined $changes{$key} and $changes{$key} == 1) { }
134 0 0 if (defined $$conf{'json'} and $$conf{'json'} == 1)
144 0 0 utf8::is_utf8($orglex{$_}) ? :
149 0 0 if (defined $$conf{'json'} and $$conf{'json'} == 1)
172 7 0 if (defined $$conf{'json'} and $$conf{'json'} == 1)
183 5 0 if (defined $$conf{'json'} and $$conf{'json'} == 1)
187 0 10 utf8::is_utf8($srclex{$_}) ? :
214 0 14 if ($@)
222 0 12 if (defined $self->conf->{'sleep'})
226 2 12 if ($@)