blib/lib/HTTP/CSPHeader.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 16 | 62.5 |
line | true | false | branch |
---|---|---|---|
41 | 2 | 2 | if (my(@dirs) = @{$self->nonces_for;}) |
44 | 4 | 0 | if (defined $policy{$dir}) { } |
115 | 0 | 2 | unless $self->_changed |
127 | 4 | 0 | if (@args) |
133 | 1 | 3 | if ($dir =~ s/^\+//u) { } |
134 | 1 | 0 | if (exists $policy->{$dir}) { } |
0 | 0 | elsif (defined $val) { } | |
143 | 2 | 1 | if (defined $val) { } |