Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
13 0 0 0 not $msg->is_success and $msg->ttl > 0

or 2 conditions

line l !l condition
61 0 0 $msg->media_code || $Mojo::Weixin::Const::KEY_MAP_MEDIA_CODE{$msg->media_type} || 6

or 3 conditions

line l !l&&r !l&&!r condition
6 0 0 0 defined $msg->media_path || defined $msg->media_id
0 0 0 $msg->format ne 'media' or not defined $msg->media_path || defined $msg->media_id
33 0 0 0 not defined $msg->media_id or $error
65 0 0 0 $msg->media_type eq 'video' or $msg->media_type eq 'microvideo'