blib/lib/Dancer/Plugin/PageHistory/PageSet.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 18 | 77.7 |
line | true | false | branch |
---|---|---|---|
92 | 41 | 0 | if (not &blessed($page) and ref $page eq 'HASH') |
123 | 4 | 18 | unless ($self->can($method)) |
146 | 3 | 15 | unless defined $args{'path'} |
150 | 15 | 0 | if (not $self->pages->{$type} && $self->pages->{$type}[0] or $self->pages->{$type}[0]->uri ne $page->uri) |
161 | 4 | 11 | if @{$self->pages->{$type};} > $self->max_items |
180 | 0 | 37 | unless defined $index |
181 | 33 | 4 | unless $type |
183 | 24 | 13 | if ($self->has_pages and defined $self->pages->{$type}[$index]) |
225 | 2 | 0 | wantarray ? : |