| blib/lib/Text/Livedoor/Wiki/CatalogKeeper.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 19 | 20 | 95.0 |
| line | true | false | branch |
|---|---|---|---|
| 30 | 26 | 14 | scalar @{$$self{'data'};} != $i + 1 ? : |
| 32 | 6 | 40 | if ($$item{'level'} > $prev + 1) |
| 38 | 2 | 4 | if ($prev == $n) { } |
| 1 | 3 | elsif ($prev > $n) { } | |
| 3 | 0 | elsif ($prev < $n) { } | |
| 54 | 11 | 29 | if $prev == 0 |
| 59 | 5 | 35 | if ($$item{'level'} == $next) { } |
| 7 | 28 | elsif ($next != 0 and $$item{'level'} > $next) { } | |
| 14 | 14 | elsif ($$item{'level'} < $next) { } | |
| 73 | 14 | 26 | if ($next == 0) |