blib/lib/Perl/Critic/Policy/InputOutput/RequireEncodingWithUTF8Layer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 1 | 16 | 6.2 |
line | true | false | branch |
---|---|---|---|
37 | 358 | 0 | unless my $handler = $RECOVER_ENCODING{$elem->content} |
39 | 0 | 0 | unless my $encoding = &$handler(parse_arg_list($elem)) |
41 | 0 | 0 | unless $encoding =~ / (?: \A | : ) utf8 \b /imsx |
57 | 0 | 0 | unless ref $arg eq "ARRAY" |
58 | 0 | 0 | if @{$arg;} == 0 or @{$arg;} > 1 |
59 | 0 | 0 | if $arg->[0]->isa("PPI::Token::Quote") |
84 | 0 | 0 | if @args < $THREE_ARGUMENT_OPEN |
86 | 0 | 0 | unless defined(my $string = _get_argument_string($args[1])) |