| inc/Pegex/Base.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 40 | 40 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 5 | 1 | 1752 | $#_ ? : |
| 25 | 36 | unless $#_ % 2 | |
| 15 | 600 | unless exists $a{$n} | |
| 10 | 39 | if ($a{'required'}) | |
| 8 | 16 | if not exists $$s{$_} | |
| 5 | 26 | !exists($_[0]{$n}) ? : | |
| 20 | 11 | $#_ ? : | |
| 23 | 6 | unless my $b = $a{'builder'} | |
| 3 | 4 | exists $a{'lazy'} ? : | |
| 5 | 22 | unless $i | |
| 16 | 17 | unless exists $a{'default'} | |
| 12 | 5 | 'CODE' eq $r ? : | |
| 23 | 22 | 'ARRAY' eq $r ? : | |
| 8 | 5 | 'HASH' eq ($r = ref $d) ? : | |
| 6 | 13 | exists $a{'lazy'} ? : | |
| 23 | 15 | unless $i | |
| 13 | 16 | !exists($_[0]{$n}) ? : | |
| 24 | 4 | $#_ ? : | |
| 9 | 6 | @_ == 1 ? : | |
| 7 | 9 | @_ == 2 && !$_[1] ? : |