Condition Coverage

blib/lib/Mojo/Webqq/Message/Handle.pm
Criterion Covered Total %
condition 0 105 0.0


and 3 conditions

line !l l&&!r l&&r condition
169 0 0 0 ref $friend eq 'Mojo::Webqq::Friend' and defined $friend->id
209 0 0 0 ref $group eq 'Mojo::Webqq::Group' and defined $group->id
250 0 0 0 ref $discuss eq 'Mojo::Webqq::Discuss' and defined $discuss->id
292 0 0 0 ref $member eq 'Mojo::Webqq::Group::Member' and defined $member->id
0 0 0 ref $member eq 'Mojo::Webqq::Group::Member' and defined $member->id and defined $member->id
0 0 0 ref $member eq 'Mojo::Webqq::Discuss::Member' and defined $member->id
0 0 0 ref $member eq 'Mojo::Webqq::Discuss::Member' and defined $member->id and defined $member->id
354 0 0 0 ref $self->ignore_poll_retcode eq 'ARRAY' and grep {$json->{'retcode'} == $_;} @{$self->ignore_poll_retcode;}
509 0 0 0 defined $info{'type'} and $info{'type'} eq 'share-file'
603 0 0 0 @{$msg->{'content'};} == 1 and ref $msg->{'content'}[0] eq 'ARRAY'
0 0 0 @{$msg->{'content'};} == 1 and ref $msg->{'content'}[0] eq 'ARRAY' and $msg->{'content'}[0][0] eq 'font'

or 3 conditions

line l !l&&r !l&&!r condition
31 0 0 0 $self->has_subscribers('receive_pic') or $self->has_subscribers('receive_friend_pic')
42 0 0 0 $self->has_subscribers('receive_pic') or $self->has_subscribers('receive_sess_pic')
53 0 0 0 $self->has_subscribers('receive_pic') or $self->has_subscribers('receive_group_pic')
165 0 0 0 not defined $content or $content eq ''
205 0 0 0 not defined $content or $content eq ''
210 0 0 0 $group->me || $self->user
246 0 0 0 not defined $content or $content eq ''
251 0 0 0 $discuss->search_discuss_member('id', $self->user->id) || $self->user
288 0 0 0 not defined $content or $content eq ''
295 0 0 0 $group->search_group_member('id', $self->user->id) || $self->user
322 0 0 0 $discuss->search_discuss_member('id', $self->user->id) || $self->user
354 0 0 0 $json->{'retcode'} == 100 or $json->{'retcode'} == 103
0 0 0 $json->{'retcode'} == 120 or $json->{'retcode'} == 121
597 0 0 0 $msg->{'type'} eq 'friend_message' or $msg->{'type'} eq 'group_message'
0 0 0 $msg->{'type'} eq 'friend_message' or $msg->{'type'} eq 'group_message' or $msg->{'type'} eq 'sess_message'
0 0 0 $msg->{'type'} eq 'friend_message' or $msg->{'type'} eq 'group_message' or $msg->{'type'} eq 'sess_message' or $msg->{'type'} eq 'discuss_message'
697 0 0 0 $group->search_group_member('id', $msg->{'receiver_id'}) || $self->user
717 0 0 0 $group->search_group_member('id', $msg->{'receiver_id'}) || $self->user
742 0 0 0 $group->search_group_member('id', $msg->{'receiver_id'}) || $self->user
762 0 0 0 $group->search_group_member('id', $msg->{'receiver_id'}) || $self->user
784 0 0 0 $discuss->search_discuss_member('id', $msg->{'receiver_id'}) || $self->user
804 0 0 0 $discuss->search_discuss_member('id', $msg->{'receiver_id'}) || $self->user
829 0 0 0 $discuss->search_discuss_member('id', $msg->{'receiver_id'}) || $self->user
844 0 0 0 $discuss->search_discuss_member('id', $msg->{'receiver_id'}) || $self->user