Branch Coverage

blib/lib/Bot/ChatBots/Telegram/LongPoll.pm
Criterion Covered Total %
branch 9 22 40.9


line true false branch
47 0 1 if $self->_start
58 0 1 unless ($data->{'ok'})
69 0 1 @_ && ref $_[0] ? :
97 0 0 if $self->should_rethrow($args)
114 0 1 unless defined $item
115 0 1 unless defined(my $record = $item->{'record'})
116 0 1 unless defined(my $outcome = $item->{'outcome'})
117 1 0 unless defined(my $message = $outcome->{'send_response'})
124 1 0 if @updates
130 0 1 if $is_busy
146 0 0 unless 'Mojo::IOLoop'->is_running