Branch Coverage

blib/lib/HTTP/CSPHeader.pm
Criterion Covered Total %
branch 10 16 62.5


line true false branch
39 2 2 if (my(@dirs) = @{$self->nonces_for;})
42 4 0 if (defined $policy{$dir}) { }
101 0 2 unless $self->_changed
113 4 0 if (@args)
119 1 3 if ($dir =~ s/^\+//u) { }
120 1 0 if (exists $policy->{$dir}) { }
0 0 elsif (defined $val) { }
129 2 1 if (defined $val) { }