Branch Coverage

lib/Document/Parser.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
78 0 0 unless my $matched = $self->find_match('matched_block', $type)
83 0 0 unless length $$self{'input'} < $length
103 0 0 unless my $matched = $self->find_match('matched_phrase', $type)
104 0 0 if (not defined $match or $$matched{'begin'} < $$match{'begin'})
107 0 0 if $$match{'begin'} == 0
110 0 0 unless ($match)
115 0 0 unless $begin == 0
127 0 0 if (my $regexp = $$self{'grammar'}{$type}{'match'}) { }
128 0 0 if (ref $regexp eq 'ARRAY') { }
130 0 0 if ($$self{'input'} =~ /$re/)
135 0 0 unless $matched
138 0 0 unless $$self{'input'} =~ /$regexp/
144 0 0 unless $matched = $self->$func
152 0 0 if ($self->can($func)) { }
157 0 0 $$grammar{'blocks'} ? :
160 0 0 $$grammar{'filter'} ? :
174 0 0 $filter ? :
194 0 0 defined $_[2] ? :
195 0 0 if "$begin" ne '0'
206 0 0 defined $_[2] ? :