Condition Coverage

blib/lib/Template/Plugin/Bootstrap/Pagination.pm
Criterion Covered Total %
condition 21 26 80.7


and 3 conditions

line !l l&&!r l&&r condition
24 6 3 0 defined $arg_ref and ref $arg_ref ne 'HASH'
53 1 0 6 blessed $pager and $pager->isa('Data::Page')
117 1 0 4 blessed $pager and $pager->isa('Data::Page')

or 2 conditions

line l !l condition
27 3 6 $arg_ref ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
70 3 2 9 $page == $first_page or $page == $last_page
5 5 4 $page == $first_page or $page == $last_page or abs $page - $current_page <= $$arg_ref{'siblings'}
7 0 4 $page == $first_page or $page == $last_page or abs $page - $current_page <= $$arg_ref{'siblings'} or $last_page <= 2 * $$arg_ref{'siblings'} + 1
1 1 2 $first_page + 1 == $page or $last_page - 1 == $page
171 2 0 30 not defined $uri or $uri eq ''