blib/lib/Slack/RTM/Bot/Client.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 30 | 43.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
228 | 0 | 5 | 0 | $buffer_obj->{'type'} and $buffer_obj->{'type'} eq "reconnect_url" |
233 | 4 | 0 | 1 | $buffer_obj->{'user'} and not ref $buffer_obj->{'user'} |
237 | 3 | 1 | 1 | $buffer_obj->{'channel'} and not ref $buffer_obj->{'channel'} |
250 | 1 | 4 | 5 | defined $response->{$key} and $response->{$key} =~ /$regex/ |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
116 | 0 | 0 | 0 | $id ||= $self->_refetch_conversation_id($name) |
131 | 1 | 0 | 0 | $name ||= $self->_refetch_conversation_name($id) |
132 | 1 | 0 | 0 | $name ||= $id |
161 | 0 | 0 | 0 | $name ||= $self->_refetch_user_name($user_id) |
176 | 1 | 0 | 0 | $name ||= $self->_refetch_user_name($id) |
177 | 1 | 0 | 0 | $name ||= $id |