blib/lib/Dancer2/Plugin/DoFile.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 74 | 25.6 |
line | l | !l | condition |
---|---|---|---|
73 | 5 | 2 | $settings->{$_} and $self->$_($settings->{$_}) |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
128 | 0 | 0 | 0 | not -f $pageroot . "/" . $cururl . $m . $ext and $cururl =~ s[/([^/]*)$][] |
156 | 0 | 0 | 0 | defined $result and ref $result eq "HASH" |
0 | 0 | 0 | not ref $result and $result | |
158 | 0 | 0 | 0 | defined $result->{'url'} and not defined $result->{'done'} |
162 | 0 | 0 | 0 | defined $result->{'view'} and $result->{'done'} |
253 | 0 | 0 | 0 | not -f $pageroot . "/" . $cururl . $m . $acceptext->{$fmt} . $ext and $cururl =~ s[/([^/]*)$][] |
281 | 0 | 0 | 0 | defined $result and ref $result eq "HASH" |
0 | 0 | 0 | not ref $result and $result | |
361 | 10 | 32 | 13 | not -f $pageroot . "/" . $cururl . $m . $ext and $cururl =~ s[/([^/]*)$][] |
386 | 32 | 0 | 10 | defined $result and ref $result eq "HASH" |
0 | 32 | 0 | not ref $result and $result | |
387 | 7 | 2 | 1 | defined $result->{'url'} and not defined $result->{'done'} |
line | l | !l | condition |
---|---|---|---|
99 | 0 | 0 | $opts{'stash'} || {} |
225 | 0 | 0 | $opts{'stash'} || {} |
332 | 0 | 7 | $opts{'stash'} || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
90 | 0 | 0 | 0 | $arg || $app->request->path |
145 | 0 | 0 | 0 | $@ or $! |
162 | 0 | 0 | 0 | defined $result->{'content'} or $result->{'url'} |
0 | 0 | 0 | defined $result->{'content'} or $result->{'url'} or $result->{'done'} | |
216 | 0 | 0 | 0 | $arg || $app->request->path |
270 | 0 | 0 | 0 | $@ or $! |
323 | 0 | 7 | 0 | $arg || $app->request->path |
378 | 0 | 0 | 10 | $@ or $! |
391 | 4 | 2 | 3 | defined $result->{'content'} or $result->{'url'} |
2 | 0 | 3 | defined $result->{'content'} or $result->{'url'} or $result->{'done'} |