Condition Coverage

blib/lib/Dancer2/Plugin/PageHistory/PageSet.pm
Criterion Covered Total %
condition 11 15 73.3


and 3 conditions

line !l l&&!r l&&r condition
94 0 0 57 not &blessed($page) and ref $page eq 'HASH'
151 8 0 11 $self->pages->{$type} && $self->pages->{$type}[0]
184 8 3 26 $self->has_pages and defined $self->pages->{$type}[$index]

or 3 conditions

line l !l&&r !l&&!r condition
147 4 18 0 delete $args{'type'} || $self->default_type
151 8 9 2 not $self->pages->{$type} && $self->pages->{$type}[0] or $self->pages->{$type}[0]->uri ne $page->uri