Condition Coverage

blib/lib/Weixin/Message.pm
Criterion Covered Total %
condition 0 29 0.0


and 3 conditions

line !l l&&!r l&&r condition
34 0 0 0 defined $retcode and defined $selector
0 0 0 defined $retcode and defined $selector and $retcode == 0
0 0 0 defined $retcode and defined $selector and $retcode == 0 and $selector != 0
0 0 0 defined $retcode and defined $selector
0 0 0 defined $retcode and defined $selector and $retcode == 0
276 0 0 0 defined $friend and $$friend{'Id'}
291 0 0 0 defined $chatroom and $$chatroom{'ChatRoomId'}

or 2 conditions

line l !l condition
182 0 0 $self->search_friend('Id', $$msg{'ToId'}) || {}
191 0 0 $self->search_chatroom('ChatRoomId', $$msg{'ToId'}) || $self->get_chatroom($$msg{'ToId'}) || {}
204 0 0 $self->search_friend('Id', $$msg{'FromId'}) || {}
215 0 0 $self->search_chatroom_member('ChatRoomId', $$msg{'FromId'}, 'Id', $chatroom_member_id) || $self->get_chatroom($$msg{'FromId'}) || {}