Branch Coverage

blib/lib/Chrome/DevToolsProtocol.pm
Criterion Covered Total %
branch 0 86 0.0


line true false branch
268 0 0 if (my $event = $listener->event)
290 0 0 if (not @args) { }
294 0 0 if $logger->$enabled
311 0 0 if ($self->transport and ref $self->transport and $self->transport->type ne "pipe")
319 0 0 if ($args{'writer_fh'} and $args{'reader_fh'}) { }
0 0 elsif ($args{'endpoint'}) { }
333 0 0 if ($s)
340 0 0 if (not $endpoint) { }
341 0 0 unless ($self->port)
352 0 0 unless (ref $endpoint)
354 0 0 unless $endpoint =~ m[/([^/]+)$]u
371 0 0 unless (ref $transport)
379 0 0 if ($s)
405 0 0 if (my $t = $self->transport)
406 0 0 if (ref $t)
452 0 0 if ($@)
458 0 0 if (my $fh = $self->json_log_fh)
462 0 0 if (not exists $response->{'id'}) { }
464 0 0 if (my $error = $response->{'error'})
469 0 0 if exists $_->{'events'}{$response->{'method'}}
471 0 0 if ($handler)
476 0 0 if $_ and ${$_->{'future'};}
481 0 0 if (my $listeners = $self->listener->{$response->{'method'}})
496 0 0 if $@
497 0 0 if $@
501 0 0 unless &isweak($listeners->[$_])
511 0 0 if ($self->on_message)
512 0 0 if ($self->_log->is_trace) { }
517 0 0 if ($frameId or $requestId) { }
528 0 0 if (not $handled)
529 0 0 if ($self->_log->is_trace) { }
534 0 0 if ($frameId or $requestId) { }
547 0 0 if (not $receiver) { }
0 0 elsif ($receiver eq 'ignore') { }
0 0 elsif ($response->{'error'}) { }
575 0 0 if (not $options{'host'} || $options{'port'} and $self->{'endpoint'}) { }
589 0 0 if $options{'domain'}
613 0 0 if ($response)
625 0 0 if (my $err = $@)
629 0 0 if (my $fh = $self->json_log_fh)
636 0 0 if ($method ne "Target.sendMessageToTarget")
779 0 0 defined $type ? :
982 0 0 if $self->protocol