blib/lib/Mojolicious/Plugin/SemanticUIPageNavigator.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 22 | 72.7 |
line | true | false | branch |
---|---|---|---|
19 | 0 | 1 | unless $count > 1 |
20 | 0 | 1 | unless $opts |
25 | 1 | 0 | $round > $actual ? : |
26 | 0 | 1 | $count - $round < $actual ? : |
33 | 3 | 10 | if $last and $last == $number |
34 | 2 | 8 | if $number <= 0 |
35 | 0 | 8 | if $number > $count |
36 | 1 | 7 | if $last and $last + 1 != $number |
47 | 1 | 8 | if ($number eq '..') { } |
52 | 1 | 7 | $number eq $actual ? : |
57 | 0 | 1 | $actual + 1 > $count ? : |