Condition Coverage

blib/lib/Data/Page/Viewport.pm
Criterion Covered Total %
condition 11 15 73.3


and 3 conditions

line !l l&&!r l&&r condition
156 0 9 32 $permit and $offset > 0
9 5 27 $permit and $offset > 0 and $$self{'_port'}{'inner'}{'top'} + $$self{'_page_size'} < $$self{'_port'}{'outer'}{'bottom'}
173 0 7 19 $permit and $offset < 0
7 3 16 $permit and $offset < 0 and $$self{'_port'}{'inner'}{'bottom'} - $$self{'_page_size'} > $$self{'_port'}{'outer'}{'top'}

or 3 conditions

line l !l&&r !l&&!r condition
103 0 1 0 $caller_is_obj || $caller