Branch Coverage

blib/lib/Data/Paging/Collection.pm
Criterion Covered Total %
branch 16 18 88.8


line true false branch
27 0 0 unless $self->renderer
34 9 20 scalar @{$self->entries;} > $self->per_page ? :
89 3 53 unless defined $self->total_count
106 5 3 $self->total_count ? :
117 1 12 unless defined $self->window
118 3 9 if $self->last_page <= $self->window
125 26 30 if ($i % 2) { }
126 14 12 if $self->first_page <= $prev
130 22 8 if $self->last_page >= $next