Branch Coverage

blib/lib/Pod/Spell.pm
Criterion Covered Total %
branch 33 38 86.8


line true false branch
12 6 0 exists $args{'debug'} ? :
36 1 1 +(shift())->{'debug'} ? :
77 19 19 unless defined $self->{'buffer'}
79 13 25 if ($track_elements{$element_name})
88 14 22 if ($in and @$in)
91 6 8 if ($element_name eq 'for' and $attr->{'target_matching'} eq 'stopwords') { }
1 7 elsif ($element_name eq 'Verbatim') { }
1 6 elsif ($element_name eq 'L') { }
6 0 elsif ($element_name eq 'C' or $element_name eq 'F') { }
94 6 0 if $self->_is_debug
105 1 0 if $attr->{'content-implicit'}
109 2 4 $text =~ s/\A\s+// ? :
110 2 4 $text =~ s/\s+\z// ? :
113 6 0 length $text ? :
124 13 23 if ($in and @$in and $in->[-1][0] eq $element_name)
129 20 18 unless $element_name =~ /\A(?:Para|head\d|item-.*|over-block)\z/
132 3 15 unless (defined $buffer and length $buffer)
141 4 11 if $element_name ne "Para"
145 3 12 unless length $out