Branch Coverage

blib/lib/Slack/RTM/Bot.pm
Criterion Covered Total %
branch 8 38 21.0


line true false branch
25 1 6 unless $self->{'token'}
36 0 0 if ($^O ne 'MSWin32') { }
41 0 0 if ($pid) { }
43 0 0 unless (kill 0, $pid)
54 0 0 if ($pid) { }
58 0 0 unless (kill 0, $parent)
63 0 0 if ($self->{'client'}->read)
67 0 0 if ($buffer)
72 0 0 if (++$i % 30 == 0)
83 0 0 if $sub
103 0 0 if ($self->{'client'}->read)
107 0 0 if ($buffer)
112 0 0 if (++$i % 30 == 0)
131 0 0 if $sub
142 0 0 if ($^O ne 'MSWin32') { }
170 2 4 if (not @_ or scalar @_ % 2 != 0)
174 2 2 unless (defined $args->{'text'} and defined $args->{'channel'})
178 2 0 unless $self->{'client'}
192 0 6 if $self->{'info'}