Branch Coverage

blib/lib/Browsermob/Proxy.pm
Criterion Covered Total %
branch 10 32 31.2


line true false branch
158 6 1 if ($type eq 'json') { }
1 0 elsif ($type eq 'text') { }
165 3 3 if ($self->has_port)
171 6 0 if ($self->has_mock)
192 3 0 unless ($self->has_port)
203 0 0 unless $self->has_port
204 0 0 if (defined $initial_page_ref)
215 0 0 unless $self->has_port
222 0 0 unless $initiate_manually
234 0 0 unless $initiate_manually
248 0 0 unless $initiate_manually
256 0 0 unless $initiate_manually
268 0 0 unless exists $args->{$_}
280 0 1 unless $header and $value
301 0 1 if $gd
304 0 1 if $@ and $self->trace