Branch Coverage

blib/lib/Text/WrapProp.pm
Criterion Covered Total %
branch 16 16 100.0


line true false branch
23 1 13 if (not defined $text) { }
3 10 elsif (not defined $width or $width < 1e-07) { }
3 7 elsif (not defined $ref_width_table or ref $ref_width_table ne 'ARRAY' or scalar @{$ref_width_table;} <= 1) { }
1 6 elsif ($text eq '') { }
54 1 442 if $nextline eq '' and $c eq ' '
57 423 19 if ($cursor + $width_table[ord $c] < $width + 1e-07) { }
68 13 183 if m[[ :;,.()\\/-]]
72 6 13 if (not $j) { }