| blib/lib/Perl/Critic/Policy/RegularExpressions/ProhibitEscapedMetacharacters.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 0 | 14 | 0.0 |
| line | true | false | branch |
|---|---|---|---|
| 36 | 0 | 0 | unless $elem =~ /\\/msx |
| 38 | 0 | 0 | unless my $re = $document->ppix_regexp_from_element($elem) |
| 39 | 0 | 0 | if $re->failures |
| 40 | 0 | 0 | unless my $qr = $re->regular_expression |
| 42 | 0 | 0 | unless my $exacts = $qr->find("PPIx::Regexp::Token::Literal") |
| 44 | 0 | 0 | unless $exact->content =~ / \\ ( . ) /msx |
| 45 | 0 | 0 | if $REGEXP_METACHARS{$1} |