| blib/lib/OPM/Validate.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 24 | 62.5 |
| line | true | false | branch |
|---|---|---|---|
| 32 | 4 | 17 | unless $match |
| 50 | 231 | 15 | exists $boundaries{$name} ? : |
| 51 | 231 | 358 | exists $boundaries{$name} ? : |
| 56 | 692 | 412 | if ($second and ref $s{$first}) |
| 62 | 88 | 1016 | if ($pos) |
| 65 | 0 | 88 | if ($start < 0) |
| 71 | 0 | 88 | if ($pos + $end_length > length $content) |
| 80 | 0 | 1104 | if ($check > $max) { } |
| 0 | 1104 | elsif ($check < $min) { } | |
| 161 | 0 | 7 | if $+{'intro_pre_post'} |
| 173 | 0 | 0 | $+{'intro_type'} eq 'Upgrade' ? : |
| 185 | 0 | 0 | $+{'code_type'} eq 'Upgrade' ? : |