Branch Coverage

blib/lib/HTML/FormatText.pm
Criterion Covered Total %
branch 27 42 64.2


line true false branch
34 0 2 if exists $hash->{'lm'}
35 2 0 if exists $hash->{'leftmargin'}
36 0 2 if exists $hash->{'rm'}
37 2 0 if exists $hash->{'rightmargin'}
40 0 2 if ($width < 1)
41 0 0 if $^W
44 0 2 if ($width < 20)
45 0 0 if $^W
49 0 0 if $^W
85 2 0 if ($level <= 2)
87 1 1 if $level == 1
88 1 1 if $level == 2
117 1 0 if (defined $self->{'vspace'})
118 1 0 if ($self->{'out'})
135 468 477 if ($text =~ /^\s*$/)
140 41 436 if (defined $self->{'vspace'})
141 33 8 if ($self->{'out'})
149 428 49 if ($self->{'hspace'})
150 50 378 if ($self->{'curpos'} + length($text) > $self->{'rm'}) { }
167 37 440 if $self->{'maxpos'} < $pos
177 91 30 if ($pos < $lm)