Branch Coverage

blib/lib/Text/Graphics.pm
Criterion Covered Total %
branch 23 50 46.0


line true false branch
24 0 8 $a > $b ? :
29 0 12 $a < $b ? :
52 1 1 $offx > 0 ? :
53 1 1 $offy > 0 ? :
81 2 1 if ($$this{'bg'} ne undef)
119 0 2 if $$this{'offx'} < 0
120 0 2 if $$this{'offy'} < 0
163 0 0 if (defined $offx)
166 0 0 if (defined $offy)
182 0 0 if (defined $width)
185 0 0 if (defined $height)
198 0 0 @{$$this{'children'};} > 0 ? :
245 1 0 if ($scalar_ref) { }
374 1 1 unless ($$this{'text_was_wrapped'})
379 1 0 if ($width and $$this{'text'} =~ /\s/)
399 1 0 if ($$this{'width'})
416 0 0 if ($width ne undef and $$this{'width'} != $width)
426 0 0 if ($$this{'width'})
437 1 0 if ($$this{'width'})
537 0 2 if $startx >= $endx or $starty >= $endy
570 0 2 if $startx >= $endx or $starty >= $endy
596 6 99 if ($c eq "\n") { }
601 16 83 if $x > $$this{'x1'} or $y > $$this{'y1'}
622 0 0 defined $c ? :
635 231 0 defined $c ? :