Branch Coverage

blib/lib/Mojo/Weixin/Message/Remote/_send_media_message.pm
Criterion Covered Total %
branch 0 26 0.0


line true false branch
6 0 0 if ($msg->format ne 'media' or not defined $msg->media_path || defined $msg->media_id)
13 0 0 if (not $msg->is_success and $msg->ttl > 0) { }
19 0 0 if (ref $msg->cb eq 'CODE')
29 0 0 defined $msg->media_id ? :
33 0 0 if (not defined $msg->media_id or $error)
35 0 0 if (ref $msg->cb eq 'CODE')
42 0 0 $self->pass_ticket ? :
61 0 0 $msg->type eq 'group_message' ? :
65 0 0 if ($msg->media_type eq 'image') { }
0 0 elsif ($msg->media_type eq 'video' or $msg->media_type eq 'microvideo') { }
0 0 elsif ($msg->media_type eq 'emoticon') { }
76 0 0 $self->pass_ticket ? :
102 0 0 if exists $post->{'Msg'}{'Content'}