lib/Mojolicious/Plugin/Vparam/Vsort.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 14 | 92.8 |
line | true | false | branch |
---|---|---|---|
14 | 1 | 11 | if defined $sort and 'ARRAY' ne ref $sort |
20 | 10 | 1 | if defined $conf->{'vsort_page'} |
25 | 10 | 1 | if defined $conf->{'vsort_rws'} |
30 | 0 | 10 | unless $$sort[$_[1]] or $_[1] + 1 |
31 | 10 | 1 | if defined $conf->{'vsort_oby'} |
38 | 10 | 1 | if defined $conf->{'vsort_ods'} |
41 | 1 | 10 | wantarray ? : |