Condition Coverage

blib/lib/Mojolicious/Plugin/Pager.pm
Criterion Covered Total %
condition 14 27 51.8


and 3 conditions

line !l l&&!r l&&r condition
14 0 0 145 @args && ref $args[-1] eq 'CODE'

or 2 conditions

line l !l condition
26 145 0 $page->{'n'} || 1
32 16 0 shift() || 1
33 14 2 $args->{'current'} || $c->param($c->stash('page_param_name')) || 1
34 0 16 $args->{'size'} || 8
69 0 1 $config->{'param_name'} || 'page'
70 0 1 $config->{'window_size'} || 3
72 0 1 $config->{'classes'}{'current'} || 'active'
73 0 1 $config->{'classes'}{'first'} || 'first'
74 0 1 $config->{'classes'}{'last'} || 'last'
75 0 1 $config->{'classes'}{'next'} || 'next'
76 0 1 $config->{'classes'}{'prev'} || 'prev'
77 0 1 $config->{'classes'}{'normal'} || 'page'