blib/lib/Slack/RTM/Bot/Client.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 27 | 48.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
231 | 0 | 5 | 0 | $buffer_obj->{'type'} and $buffer_obj->{'type'} eq 'reconnect_url' |
236 | 4 | 0 | 1 | $buffer_obj->{'user'} and not ref $buffer_obj->{'user'} |
240 | 3 | 1 | 1 | $buffer_obj->{'channel'} and not ref $buffer_obj->{'channel'} |
253 | 2 | 3 | 4 | defined $response->{$key} and $response->{$key} =~ /$regex/ |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
129 | 0 | 0 | 0 | $id ||= $self->_refetch_conversation_id($name) |
144 | 1 | 0 | 0 | $name ||= $self->_refetch_conversation_name($id) |
145 | 1 | 0 | 0 | $name ||= $id |
181 | 1 | 0 | 0 | $name ||= $self->_refetch_user_name($id) |
182 | 1 | 0 | 0 | $name ||= $id |