Branch Coverage

blib/lib/Khonsu/Text.pm
Criterion Covered Total %
branch 29 32 90.6


line true false branch
24 1076 8 unless delete $attributes{'font'}
26 34 518 unless ($attributes{'x'} or $attributes{'align'})
61 33 1051 if not $next_line =~ /^\s+$/ and $next_line =~ /(\s+)$/
62 0 1084 unless scalar @words
64 289 795 if ($indent)
75 38280 1065 if (defined $word)
76 36542 1738 unless $word =~ /^(\s+)$/
82 1354 1065 if ($word) { }
348 717 elsif ($self->pad) { }
83 1354 0 if scalar @words
86 346 2 $self->pad_end ? :
88 348 0 if $left
89 346 2 if $self->pad_end
94 172 2247 if ($align eq 'center') { }
86 2161 elsif ($align eq 'right') { }
108 17 1065 if (not $self->overflow and scalar @words)