Branch Coverage

blib/lib/Mojo/Weixin/Client/Remote/_login.pm
Criterion Covered Total %
branch 0 32 0.0


line true false branch
5 0 0 if (not $self->_is_need_login) { }
9 0 0 if (defined $self->wxuin and defined $self->wxsid)
19 0 0 unless (defined $qrcode_uuid)
24 0 0 unless ($self->_get_qrcode_image($qrcode_uuid))
41 0 0 unless defined $r
43 0 0 if defined $data{'redirect_uri'}
44 0 0 if ($data{'code'} == 408) { }
0 0 elsif ($data{'code'} == 201) { }
0 0 elsif ($data{'code'} == 200) { }
0 0 elsif ($data{'code'} == 400) { }
0 0 elsif ($data{'code'} == 500) { }
46 0 0 if ($i == 5)
66 0 0 if ($data{'redirect_uri'} =~ m[https?://([^/]+)]m)
67 0 0 if $1 and $1 ne $self->domain
71 0 0 unless ($data =~ m[^.*])
76 0 0 if ($d{'ret'} != 0)