Branch Coverage

blib/lib/Weixin/Client/Operate.pm
Criterion Covered Total %
branch 0 50 0.0


line true false branch
18 0 0 if ($self->_login) { }
24 0 0 if (ref $$self{'on_login'} eq 'CODE')
28 0 0 if $@
51 0 0 if (ref $$self{'on_run'} eq 'CODE')
55 0 0 if $@
70 0 0 if (ref $$self{'on_ready'} eq 'CODE')
74 0 0 if $@
81 0 0 if ($CLIENT_COUNT > 1) { }
95 0 0 if $$self{'is_stop'}
96 0 0 if (ref $$self{'on_receive_msg'} eq 'CODE')
100 0 0 if $@
105 0 0 if $$self{'is_stop'}
106 0 0 if ($$msg{'TTL'} <= 0)
108 0 0 if (ref $$msg{'cb'} eq 'CODE')
115 0 0 if (ref $$self{'on_send_msg'} eq 'CODE')
126 0 0 $$msg{'MsgType'} eq 'text' ? :
139 0 0 $$w{'Signature'} ? :
148 0 0 if (defined $_[0]) { }
158 0 0 if (defined $_[0]) { }
167 0 0 if (defined $_[0]) { }
171 0 0 unless defined $$self{'_token'}{'wxsid'}
177 0 0 if (defined $_[0]) { }
181 0 0 unless defined $$self{'_token'}{'wxuin'}
187 0 0 if (defined $_[0]) { }
196 0 0 if defined $$self{'_token'}{'deviceid'}