Branch Coverage

blib/lib/Mojo/Weixin.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
137 0 0 if (@_ == 0) { }
149 0 0 unless defined $self->{'state'}
150 0 0 if (@_ == 0) { }
0 0 elsif ($_[0] and $_[0] ne $self->{'state'}) { }
167 0 0 wantarray ? :
181 0 0 if ref $timeout_callback eq 'CODE'
185 0 0 if ref $event_callback eq 'CODE'
196 0 0 if ref $timeout_callback eq 'CODE'
199 0 0 ref $event_callback eq 'CODE' ? :
200 0 0 if ($ret)
210 0 0 if ($env =~ /^MOJO_WEIXIN_([A-Z_]+)$/)
212 0 0 if $attr =~ /^plugin_/
213 0 0 if $self->can($attr)
234 0 0 if ($^O ne 'MSWin32' and $_[0] eq 'INT' and not -t STDIN)
254 0 0 if ($self->qrcode_count >= $self->qrcode_count_max)
258 0 0 if ($self->fix_media_loop)
261 0 0 $msg->format eq 'media' ? :
265 0 0 $msg->format eq 'media' ? :
266 0 0 if $self->fix_media_loop == 2
272 0 0 if not $self->search_friend('id', 'filehelper')