Condition Coverage

blib/lib/HTML/FormHandler/BuildPages.pm
Criterion Covered Total %
condition 8 17 47.0


and 3 conditions

line !l l&&!r l&&r condition
20 0 0 2 $page_list and ref $page_list eq 'ARRAY'
118 0 0 6 $self->form && $self == $self->form
205 28 0 0 $role->can('page_list') and $role->has_page_list
213 6 3 1 $meta->can('page_list') and $meta->has_page_list

or 2 conditions

line l !l condition
83 0 6 $page_attr->{'type'} ||= 'Simple'

or 3 conditions

line l !l&&r !l&&!r condition
132 0 6 0 $page_attr->{'parent'} || $self->form