Branch Coverage

blib/lib/Net/Async/Slack.pm
Criterion Covered Total %
branch 0 64 0.0


line true false branch
87 0 0 if exists $result->{'url'}
154 0 0 unless $args{'text'} or $args{'attachments'}
158 0 0 if defined $args{'text'}
159 0 0 if $args{'attachments'}
160 0 0 if $args{'blocks'}
168 0 0 unless $data->{'ok'}
216 0 0 unless length($args{'filename'} // "") and defined $args{'content'}
219 0 0 if defined $args{'text'}
229 0 0 unless $data->{'ok'}
265 0 0 unless my $chan = $args{'channel'}
266 0 0 ref $args{'users'} ? :
323 0 0 unless $args{'channel'}
367 0 0 unless $path->exists
390 0 0 if $self->slack_host
477 0 0 @args == 1 ? :
487 0 0 if $resp->code == 204
488 0 0 if 3 == $resp->code / 100
499 0 0 if ($src eq 'http') { }
511 0 0 unless my $key = delete $args{'key'}
513 0 0 unless ref $uri
514 0 0 unless $uri->query_param("limit")
520 0 0 unless $res->{'ok'}
524 0 0 if ($data) { }
535 0 0 unless $self->token
553 0 0 if (ref $content eq "HASH")
563 0 0 if $resp->code == 204
564 0 0 if 3 == $resp->code / 100
575 0 0 if ($src eq 'http') { }
587 0 0 unless my $uri = $self->endpoint("apps_connections_open")
597 0 0 unless $res->{'ok'}
600 0 0 if $self->{'debug'}
607 0 0 if exists $args{$k}