Branch Coverage

lib/Config/AST/Follow.pm
Criterion Covered Total %
branch 22 26 84.6


line true false branch
72 3 22 if ($self->{'_node'}->can($m))
76 0 22 if @_
81 0 22 unless ref $self->{'_lex'} eq 'HASH'
85 20 2 if $self->{'_node'}->is_section
87 22 0 if (ref $lex eq 'HASH') { }
88 18 4 if (exists $lex->{$key}) { }
3 1 elsif (exists $lex->{'*'}) { }
95 1 21 unless $lex
101 9 12 if (not ref $lex) { }
12 0 elsif ($lex->{'section'}) { }
102 3 6 if ($lex eq '*') { }
113 19 2 unless ($self->{'_node'}->is_null)
116 6 13 if $next->is_leaf or not $lex