Branch Coverage

blib/lib/Amon2/Web.pm
Criterion Covered Total %
branch 11 14 78.5


line true false branch
53 7 2 if ($location =~ m[^https?://]i) { }
62 6 3 if (my $ref_params = ref $params)
63 5 1 if ($ref_params eq 'ARRAY') { }
1 0 elsif ($ref_params eq 'HASH') { }
166 2 2 if &Scalar::Util::blessed($response) and $response->isa('Plack::Response')
168 0 20 unless $response = $self->dispatch
186 1 0 scalar @q ? :