Branch Coverage

blib/lib/POE/Component/Client/opentick.pm
Criterion Covered Total %
branch 23 56 41.0


line true false branch
59 0 1 if @args & 1
108 0 1 unless my($key) = grep({/^notifyee$/i;} keys %args)
111 0 1 unless grep {/^events$/i;} keys %args
117 1 7 if ($_ =~ /^events$/i) { }
119 0 1 unless ref $args{$_} eq 'ARRAY'
127 3 4 if (exists $our_args{lc $_})
131 0 3 if $our_args{lc $_} == $POE::Component::Client::opentick::DELETE
137 0 1 if $$self{'debug'}
139 1 0 if $$self{'quiet'}
204 0 0 $$self{'READY'} == OTConstant('OT_STATUS_LOGGED_IN') ? :
213 0 0 if ref $hosts[0] eq 'ARRAY'
291 1 0 if $self->_auto_login
353 1 0 if $$self{'sock'}{'timeout_id'}
390 0 9 $event_type =~ /^\d+$/ ? :
420 0 0 if $deprecated
423 0 0 unless $cmd_number
427 0 0 if $cmd_number
439 1 0 if $self and $$self{'sock'}
443 1 0 if $self->_is_disconnecting
604 1 0 if ($sender_id and ref $events eq 'ARRAY')
606 1 0 if grep {/^all$/i;} @$events
609 8 0 if (OTEventByEvent($_))
627 0 0 if ($sender_id and ref $events eq 'ARRAY')
629 0 0 if grep {/^all$/i;} @$events
632 0 0 unless OTEventByEvent($_)
648 1 0 $$self{'autologin'} ? :
655 1 0 $value ? :
1 1 if defined $value