blib/lib/App/PerlNitpick/Rule/QuoteSimpleStringWithSingleQuote.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 14 | 42.8 |
line | true | false | branch |
---|---|---|---|
49 | 0 | 2 | unless $doc->find(sub { |
50 | 0 | 2 | if $tok->interpolations |
52 | 1 | 1 | if index($value, "\n") > 0 |
57 | 2 | 0 | unless $doc->find(sub { |
59 | 0 | 0 | if $value =~ /[\\\$\@%\'\"]/ or index($value, "\n") > 0 |
63 | 2 | 0 | unless $doc->find(sub { |
65 | 0 | 0 | if $value =~ /\'/ or index($value, "\n") > 0 |