Branch Coverage

blib/lib/Khonsu/Text.pm
Criterion Covered Total %
branch 22 24 91.6


line true false branch
24 1076 8 unless delete $attributes{'font'}
26 34 518 unless ($attributes{'x'} or $attributes{'align'})
62 289 795 if ($indent)
76 1354 1065 if ($word) { }
348 717 elsif ($self->pad) { }
77 1354 0 if scalar @words
80 346 2 $self->pad_end ? :
82 348 0 if $left
83 346 2 if $self->pad_end
88 172 2247 if ($align eq 'center') { }
86 2161 elsif ($align eq 'right') { }
101 17 1065 if (not $self->overflow and scalar @words)