Branch Coverage

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


line true false branch
159 7 1 if ($type eq 'json') { }
1 0 elsif ($type eq 'text') { }
166 5 3 if ($self->has_port)
172 8 0 if ($self->has_mock)
193 3 0 unless ($self->has_port)
204 0 0 unless $self->has_port
205 0 0 if (defined $initial_page_ref)
216 0 0 unless $self->has_port
223 0 0 unless $initiate_manually
235 0 0 unless $initiate_manually
249 0 0 unless $initiate_manually
257 0 0 unless $initiate_manually
269 0 0 unless exists $args->{$_}
281 0 1 unless $header and $value
302 0 1 if $gd
305 0 1 if $@ and $self->trace