| line |
true |
false |
branch |
|
26
|
0 |
0 |
unless (defined $initinfo) |
|
31
|
0 |
0 |
if (defined $user) |
|
38
|
0 |
0 |
unless (defined $contactinfo) |
|
43
|
0 |
0 |
if (ref $friends eq 'ARRAY' and @$friends > 0) |
|
47
|
0 |
0 |
if ($_->{'id'} ne $user->{'id'}) { } |
|
61
|
0 |
0 |
if (ref $init_groups eq 'ARRAY' and @$init_groups > 0) |
|
66
|
0 |
0 |
if (ref $contact_groups eq 'ARRAY' and @$contact_groups > 0) |
|
71
|
0 |
0 |
if (keys %groups_id) |
|
73
|
0 |
0 |
if (@groups) { } |
|
74
|
0 |
0 |
if ($self->is_init_group_member) { } |
|
78
|
0 |
0 |
if @member |
|
103
|
0 |
0 |
ref $_ eq 'Mojo::Weixin::Friend' ? : |
|
104
|
0 |
0 |
if (@friend_ids) |
|
106
|
0 |
0 |
unless @return |
|
113
|
0 |
0 |
ref $_ eq 'Mojo::Weixin::Group' ? : |
|
115
|
0 |
0 |
if (@group_ids) |
|
117
|
0 |
0 |
unless @return |
|
126
|
0 |
0 |
if ($p{'_check_remote'}) |
|
127
|
0 |
0 |
if (wantarray) { } |
|
129
|
0 |
0 |
if (@f) { } |
|
131
|
0 |
0 |
if defined $p{'id'} |
|
137
|
0 |
0 |
if (defined $f) { } |
|
139
|
0 |
0 |
if defined $p{'id'} |
|
149
|
0 |
0 |
if ($p{'_check_remote'}) |
|
150
|
0 |
0 |
if (wantarray) { } |
|
152
|
0 |
0 |
if (@g) { } |
|
154
|
0 |
0 |
if defined $p{'id'} |
|
160
|
0 |
0 |
if (defined $g) { } |
|
162
|
0 |
0 |
if defined $p{'id'} |
|
172
|
0 |
0 |
if ref $friend ne 'Mojo::Weixin::Friend' |
|
173
|
0 |
0 |
if $self->_add($self->friend, $friend) == 1 |
|
178
|
0 |
0 |
if ref $friend ne 'Mojo::Weixin::Friend' |
|
179
|
0 |
0 |
if $self->_remove($self->friend, $friend) == 1 |
|
184
|
0 |
0 |
if ref $group ne 'Mojo::Weixin::Group' |
|
185
|
0 |
0 |
if $self->_add($self->group, $group) == 1 |
|
190
|
0 |
0 |
if ref $group ne 'Mojo::Weixin::Group' |
|
191
|
0 |
0 |
if $self->_remove($self->group, $group) == 1 |
|
197
|
0 |
0 |
$gid =~ /^\@\@|\@chatroom$/ ? : |
|
213
|
0 |
0 |
if ref $callback ne 'CODE' |
|
221
|
0 |
0 |
if ref $callback ne 'CODE' |
|
240
|
0 |
0 |
if (ref $object ne 'Mojo::Weixin::Friend' and ref $object ne 'Mojo::Weixin::Group::Member') |
|
244
|
0 |
0 |
if ref $object ne 'Mojo::Weixin::Group::Member' |
|
247
|
0 |
0 |
if ($ret) { } |
|
262
|
0 |
0 |
if (ref $object ne 'Mojo::Weixin::Group' and ref $object ne 'Mojo::Weixin::Friend') |
|
268
|
0 |
0 |
if ($ret) { } |
|
269
|
0 |
0 |
$op ? : |
|
273
|
0 |
0 |
$op ? : |
|
282
|
0 |
0 |
if (ref $_[0] eq 'HASH') { } |
|
|
0 |
0 |
elsif (ref $_[0] eq 'ARRAY') { } |
|
295
|
0 |
0 |
unless (defined $group_info) |
|
296
|
0 |
0 |
defined $displayname ? : |
|
309
|
0 |
0 |
if (ref $group ne 'Mojo::Weixin::Group') |
|
313
|
0 |
0 |
unless ($displayname) |
|
319
|
0 |
0 |
if ($ret) { } |
|
334
|
0 |
0 |
unless $_->is_friend |
|
336
|
0 |
0 |
unless $group->is_group |
|
338
|
0 |
0 |
if ($ret) { } |
|
353
|
0 |
0 |
unless $_->is_group_member |
|
355
|
0 |
0 |
unless $group->is_group |
|
357
|
0 |
0 |
if ($ret) { } |
|
372
|
0 |
0 |
unless $member->is_group_member |
|
374
|
0 |
0 |
if ($ret) { } |
|
375
|
0 |
0 |
$content ? : |
|
379
|
0 |
0 |
$content ? : |
|
390
|
0 |
0 |
if ($ret) { } |
|
404
|
0 |
0 |
if (not ref($object) =~ /Mojo::Weixin::User|Mojo::Weixin::Friend|Mojo::Weixin::Group|Mojo::Weixin::Group::Member/) { } |
|
|
0 |
0 |
elsif (ref $callback ne 'CODE') { } |