Branch Coverage

blib/lib/Amon2/Web/Request.pm
Criterion Covered Total %
branch 13 28 46.4


line true false branch
13 22 28 if (@_ == 3)
21 0 3 $self->{'_web_pkg'} ? :
79 0 1 if @_ == 0
82 1 0 unless wantarray
92 0 2 unless $args
95 0 0 if (ref $behavior eq "HASH" and defined $behavior->{'mode'} and $behavior->{'mode'} eq "append")
101 0 2 unless defined $value
102 0 2 ref $value eq 'ARRAY' ? :
104 0 2 if utf8::is_utf8($_)
111 1 1 if (utf8::is_utf8($key))
114 2 0 if (defined $val) { }
116 0 2 if ($append and exists $params{$key}) { }
125 0 0 ref $params{$key} eq 'ARRAY' ? :
0 0 ref $val eq 'ARRAY' ? :