Condition Coverage

blib/lib/Dancer2/Plugin.pm
Criterion Covered Total %
condition 15 22 68.1


and 3 conditions

line !l l&&!r l&&r condition
188 0 0 29 $name eq "app" and $caller->can("app")
0 0 29 $name eq "app" and $caller->can("app") and not $no_dsl->{$class}

or 2 conditions

line l !l condition
95 10 10 $_[0]{'hook_aliases'} ||= {}
120 3 5 $args{'default'} || sub {

or 3 conditions

line l !l&&r !l&&!r condition
115 1 1 0 $args{'default'} ||= $config_name
158 2 4 0 $args || $func_name
184 36 1 29 $name eq "plugin" or $name eq "no_dsl"
205 28 1 0 eval "${caller}::app()" || eval {