blib/lib/Mojolicious/Plugin/CSPHeader.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 3 | 18 | 16.6 |
line | true | false | branch |
---|---|---|---|
14 | 0 | 3 | if $conf->{'directives'}{$key} |
17 | 0 | 4 | if $conf->{'directives'}{$key} |
23 | 2 | 0 | if ($conf->{'csp'}) |
27 | 0 | 0 | if ($conf->{'directives'} or $conf->{'extra'}) |
30 | 0 | 0 | if ($conf->{'directives'}{$key}) |
31 | 0 | 0 | if (ref $conf->{'directives'}{$key} eq 'HASH') { } |
33 | 0 | 0 | if ($conf->{'directives'}{$key}{'ws'}) |
35 | 0 | 0 | $url->protocol =~ /https|wss/ ? : |
48 | 0 | 0 | if ($conf->{'extra'}) |