Condition Coverage

blib/lib/Mojolicious/Plugin/ModeHelpers.pm
Criterion Covered Total %
condition 14 15 93.3


and 3 conditions

line !l l&&!r l&&r condition
43 1 1 7 defined $mode and $mode ne ''
52 0 1 9 defined $helper_name and $helper_name ne ''
53 1 1 7 defined $mode and $mode ne ''

or 3 conditions

line l !l&&r !l&&!r condition
21 1 1 34 not defined $config->{'prod_helper_name'} or $config->{'prod_helper_name'} eq ''
24 1 1 32 not defined $config->{'dev_helper_name'} or $config->{'dev_helper_name'} eq ''