Branch Coverage

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


line true false branch
32 0 0 if (defined $s->{'content'})
46 0 0 unless defined $s->sender_id
47 0 0 if ($s->type eq 'friend_message') { }
0 0 elsif ($s->type eq 'group_message') { }
0 0 elsif ($s->type eq 'group_notice') { }
48 0 0 if $s->class eq 'send'
53 0 0 unless defined $group
54 0 0 if $s->class eq 'send'
58 0 0 unless my $s->client->search_group('id', $s->group_id, '_check_remote', 1)
64 0 0 unless defined $s->receiver_id
65 0 0 if ($s->type eq 'friend_message') { }
0 0 elsif ($s->type eq 'group_message') { }
0 0 elsif ($s->type eq 'group_notice') { }
66 0 0 if $s->class eq 'recv'
71 0 0 unless defined $group
72 0 0 if $s->class eq 'recv'
77 0 0 unless defined $group
78 0 0 if $s->class eq 'recv'
85 0 0 unless defined $s->group_id
86 0 0 if $s->type ne 'group_message' and $s->type ne 'group_notice'
92 0 0 if $s->type eq 'group_notice'
98 0 0 if $s->type eq 'group_notice'