Branch Coverage

blib/lib/Pegex/Base.pm
Criterion Covered Total %
branch 40 40 100.0


line true false branch
5 21 4070 $#_ ? :
90 639 unless $#_ % 2
141 628 !exists $_[0]{$n} ? :
58 61 $#_ ? :
16 22 unless exists $a{$n}
42 65 if ($a{'required'})
62 87 unless my $b = $a{'builder'}
147 41 exists $a{'lazy'} ? :
26 47 unless $i
54 63 if not exists $s->{$_}
62 74 @_ == 1 ? :
31 96 @_ == 2 && !$_[1] ? :
109 49 unless exists $a{'default'}
37 42 'CODE' eq $r ? :
25 30 'ARRAY' eq $r ? :
27 38 'HASH' eq ($r = ref $d) ? :
44 58 exists $a{'lazy'} ? :
87 43 unless $i
50 42 !exists $_[0]{$n} ? :
45 116 $#_ ? :