Condition Coverage

blib/lib/Mojolicious/Plugin/Localize/Command/localize.pm
Criterion Covered Total %
condition 21 31 67.7


and 2 conditions

line l !l condition
34 0 1 print $self->usage and return

and 3 conditions

line !l l&&!r l&&r condition
104 40 0 24 $loc_act = $dict->{'_'} and ref $loc_act eq "CODE"
40 0 24 $loc_act = $dict->{'_'} and ref $loc_act eq "CODE" and $loc_act = $dict->{'_'}->($self->controller)
0 1 23 $loc_act = $dict->{'_'} and ref $loc_act eq "CODE" and $loc_act = $dict->{'_'}->($self->controller) and ref $loc_act eq "ARRAY"
1 1 22 $loc_act = $dict->{'_'} and ref $loc_act eq "CODE" and $loc_act = $dict->{'_'}->($self->controller) and ref $loc_act eq "ARRAY" and $loc_act->[0] eq $SPECIAL
132 1 0 0 $dict->{'-'} and $$dict{$dict->{'-'}}
166 90 17 10 $dict->{'-'} and $_ eq $dict->{'-'}

or 2 conditions

line l !l condition
16 0 1 $ENV{'MOJO_LOCALIZE_DEBUG'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
58 7 1 0 $output ||= $app->moniker . '.' . $self->lang . '.dict'
75 0 90 64 not ref $dict or ref $dict eq "SCALAR"
90 0 64 not ref $dict or ref $dict eq "SCALAR" or ref $dict eq "CODE"