Branch Coverage

blib/lib/Indent/Word.pm
Criterion Covered Total %
branch 25 28 89.2


line true false branch
39 7 1 unless (defined $self->{'ansi'})
40 0 7 if (exists $ENV{'NO_COLOR'}) { }
0 7 elsif (defined $ENV{'COLOR'}) { }
50 1 7 if ($self->{'ansi'})
54 0 1 if ($Indent::Word::EVAL_ERROR)
68 4 6 unless (defined $indent)
73 1 9 if ($non_indent)
93 1 10 if (not $first or $self->_length($first) < $self->_length($indent) or $first =~ /^$indent\s*$/ms)
102 13 2 if ($tmp)
108 5 8 if ($one == 1)
121 7 2 if ($second)
126 6 3 wantarray ? :
132 16 62 if ($self->{'ansi'}) { }
143 3 12 if ($self->{'ansi'}) { }