| blib/lib/XML/Smart/Parser.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 18 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 53 | 163 | 0 | $_[0] =~ /^[\w:]+$/ ? : |
| 144 | 2919 | 0 | ref $args ? : |
| 161 | 0 | 163 | if @stack |
| 162 | 0 | 163 | unless $level |
| 170 | 0 | 789 | if $level++ and not @stack |
| 179 | 1199 | 247 | if @stack |
| 182 | 0 | 0 | $level ? : |
| 0 | 422 | if index("\n\r\t ", substr($_[0], $i, 1)) < 0 | |
| 195 | 0 | 789 | unless pop @stack eq $_[0] |