blib/lib/Dancer/Plugin/PageHistory/PageSet.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 15 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
92 | 0 | 0 | 41 | not &blessed($page) and ref $page eq 'HASH' |
150 | 6 | 0 | 9 | $self->pages->{$type} && $self->pages->{$type}[0] |
183 | 8 | 5 | 24 | $self->has_pages and defined $self->pages->{$type}[$index] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
144 | 4 | 14 | 0 | delete $args{'type'} || $self->default_type |
150 | 6 | 9 | 0 | not $self->pages->{$type} && $self->pages->{$type}[0] or $self->pages->{$type}[0]->uri ne $page->uri |