Branch Coverage

blib/lib/Data/Pageset/Variable.pm
Criterion Covered Total %
branch 13 22 59.0


line true false branch
82 1 8 unless defined $$conf{'total_entries'} and defined $$conf{'entries_per_page'}
85 2 6 unless defined $$conf{'current_page'}
87 1 7 if (exists $$conf{'variable_entries_per_page'} and ref $$conf{'variable_entries_per_page'} ne 'HASH')
99 0 7 if $self->entries_per_page < 1
100 0 7 unless defined $self->current_page
101 0 7 if $self->current_page < $self->first_page
102 7 0 if $self->current_page > $self->last_page
104 0 7 if defined $$conf{'pages_per_set'}
120 0 6 unless ($self->current_page == 1)
121 0 0 $self->current_page > $self->last_page ? :
132 0 6 if ($self->current_page == $self->last_page) { }