Branch Coverage

blib/lib/Perl/Critic/Policy/CodeLayout/TabIndentSpaceAlign.pm
Criterion Covered Total %
branch 21 24 87.5


line true false branch
142 0 231 if $element->parent->isa('PPI::Statement::Data')
148 134 97 if ($element->isa('PPI::Token::Comment') or $element->isa('PPI::Token::Whitespace')) { }
2 95 elsif ($element->isa('PPI::Token::HereDoc')) { }
156 67 67 if ($element->column_number == 1) { }
158 8 59 unless $content =~ /\A\t*(?:|\S[^\t]*)\z/
165 1 66 if $content =~ /\t/
174 0 2 if $declaration =~ /\t/
179 1 1 if _has_violations_in_multiline_string(join("\n", @heredoc))
182 0 1 if $terminator =~ /\t/
189 4 91 if _has_violations_in_multiline_string($content)
199 14 217 if defined $violations and $violations ne ''
226 129 5 unless $line =~ /[^\t]\t/