blib/lib/Math/Palindrome.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 30 | 50.0 |
line | true | false | branch |
---|---|---|---|
37 | 0 | 0 | $n != 0 ? : |
42 | 5 | 0 | $n != 9 ? : |
56 | 0 | 25 | if ($n == 999) { } |
25 | 0 | elsif ($n_1 <= reverse($n_2)) { } | |
75 | 1 | 25 | if ($n <= 101) { } |
25 | 0 | elsif ($n_1 >= reverse($n_2)) { } | |
95 | 0 | 0 | if ($n == 99) { } |
0 | 0 | elsif ($n_1 <= reverse($n_2)) { } | |
112 | 0 | 4 | if ($n <= 11) { } |
4 | 0 | elsif ($n_1 >= reverse($n_2)) { } | |
127 | 50 | 0 | $_[0] == reverse($_[0]) ? : |
132 | 5 | 25 | if ($size == 1) { } |
25 | 0 | elsif ($size % 2 != 0) { } | |
140 | 0 | 30 | if ($size == 1) { } |
26 | 4 | elsif ($size % 2 != 0) { } |