Branch Coverage

blib/lib/Text/Banner.pm
Criterion Covered Total %
branch 32 32 100.0


line true false branch
15 7 3 unless (defined $XL)
19 9968 22624 if (($var & $num) == $num) { }
28 1 5 unless @_
30 1 4 unless $direction =~ /^h|v/i
31 2 2 if ($direction =~ /h/i) { }
40 1 8 unless @_
43 2 6 unless $size > 0 and $size < 6
49 1 14 unless @_
51 1 13 if ($char =~ /reset/i)
58 12 1 if length $char
67 405 117 if (defined $self->{'FILL'}) { }
73 1 13 unless $string
92 8 1 if ($self->{'ORIENTATION'} =~ /H/i) { }
106 13 2 if ($self->{'ORIENTATION'} =~ /h/i) { }
110 8 96 if ($self->{'SIZE'} > 1) { }
126 1 1 if ($self->{'SIZE'} > 1)