| blib/lib/Perl/Critic/Policy/CodeLayout/ProhibitHardTabs.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 14 | 14 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 47 | 2352 | 19 | unless $elem =~ / \t /msx |
| 50 | 1 | 18 | if $elem->parent->isa("PPI::Statement::Data") |
| 53 | 12 | 6 | if ($self->_allow_leading_tabs) |
| 55 | 4 | 8 | if $elem->location->[1] == 1 |
| 57 | 2 | 6 | if _is_extended_regex($elem) and not $elem =~ /$NON_LEADING_TAB_REGEX/ |
| 60 | 1 | 5 | if $elem->isa("PPI::Token::QuoteLike::Words") and not $elem =~ /$NON_LEADING_TAB_REGEX/ |
| 80 | 3 | 5 | unless $elem->isa("PPI::Token::Regexp") or $elem->isa("PPI::Token::QuoteLike::Regexp") |