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
93 0 0 55 not &blessed($page) and ref $page eq 'HASH'
152 6 0 11 $self->pages->{$type} && $self->pages->{$type}[0]
185 8 3 24 $self->has_pages and defined $self->pages->{$type}[$index]

or 3 conditions

line l !l&&r !l&&!r condition
146 4 16 0 delete $args{'type'} || $self->default_type
152 6 9 2 not $self->pages->{$type} && $self->pages->{$type}[0] or $self->pages->{$type}[0]->uri ne $page->uri