Branch Coverage

blib/lib/WE_Frontend/TextLayouter.pm
Criterion Covered Total %
branch 26 32 81.2


line true false branch
30 1 1 unless defined $box
45 3 23 if ($y + $word_height + $maxlineheight >= $boxheight) { }
52 2 1 if $push_word
59 10 13 if $push_word
68 206 6 unless $box eq ''
72 80 26 unless (&$is_beginning_of_line())
78 26 80 if ($word_height > $maxlineheight)
83 92 14 !&$is_beginning_of_line() ? :
85 94 12 if ($x + $word_width + $this_space_width < $boxwidth and $y + $word_height < $boxheight) { }
99 2 0 if $box ne ''
101 1 1 if ($lastboxref)
127 0 1 unless ($args{'-prevlastbox'})
131 1 0 $$prevlastbox{'-box'} ne '' ? :
139 0 0 unless $$prevlastbox_ref{'y'}
149 732 0 if ($ord >= $$fontinfo{'firstchar'} and $ord <= $$fontinfo{'lastchar'})
154 110 622 if ($chheight > $y)