Condition Coverage

blib/lib/Dancer2/Plugin/DoFile.pm
Criterion Covered Total %
condition 19 28 67.8


and 2 conditions

line l !l condition
37 1 2 $settings->{$_} and $self->$_($settings->{$_})

and 3 conditions

line !l l&&!r l&&r condition
91 10 8 5 not -f $pageroot . "/" . $cururl . $m . $ext and $cururl =~ s[/([^/]*)$][]
112 8 0 10 defined $result and ref $result eq "HASH"
0 8 0 not ref $result and $result
113 7 2 1 defined $result->{'url'} and not defined $result->{'done'}

or 2 conditions

line l !l condition
63 0 7 $opts{'stash'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
54 0 7 0 $arg || $app->request->path
105 0 0 10 $@ or $!
117 4 2 3 defined $result->{'content'} or $result->{'url'}
2 0 3 defined $result->{'content'} or $result->{'url'} or $result->{'done'}