blib/lib/CatalystX/Widget/Paginator.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 26 | 33 | 78.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
512 | 37 | 0 | 10 | $mr > $self->last and $ml-- >= $self->first |
513 | 37 | 0 | 112 | $ml < $self->first and $mr++ <= $self->last |
532 | 27 | 1 | 9 | $self->page > $self->first and $self->edges |
540 | 1 | 35 | 1 | $self->delim and @head |
36 | 0 | 1 | $self->delim and @head and $main[0] - $head[-1] > 1 | |
548 | 1 | 3 | 33 | $self->delim and @tail |
4 | 0 | 33 | $self->delim and @tail and $tail[0] - $main[-1] > 1 | |
556 | 2 | 1 | 34 | $self->page < $self->last and $self->edges |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
313 | 2 | 3 | 24 | $p ||= $self->context->req->param($self->page_arg) |
489 | 0 | 37 | 0 | $text || $page |
492 | 43 | 401 | 0 | $text || $page |