Branch Coverage

blib/lib/Asterisk/AMI/Common.pm
Criterion Covered Total %
branch 0 120 0.0


line true false branch
623 0 0 unless $action->{'GOOD'}
628 0 0 if ($desc =~ s/\s*\(Priv:\ (.+)\)$//x)
649 0 0 if ($action->{'GOOD'})
673 0 0 unless $action->{'GOOD'}
691 0 0 if ($val eq '' or $val eq '')
707 0 0 if (defined $ver and $ver >= 1.1) { }
725 0 0 if (defined $ver and $ver >= 1.1) { }
730 0 0 if defined $key
737 0 0 if (defined $key)
756 0 0 if ($action->{'GOOD'})
789 0 0 if ($action->{'GOOD'})
803 0 0 if defined $parktime
814 0 0 unless $action->{'GOOD'}
838 0 0 unless $action->{'GOOD'}
863 0 0 if ($action->{'GOOD'})
885 0 0 if ($action->{'GOOD'})
900 0 0 if ($action->{'GOOD'})
922 0 0 unless $action->{'GOOD'}
935 0 0 if ($qevent eq 'QueueParams') { }
0 0 elsif ($qevent eq 'QueueMember') { }
0 0 elsif ($qevent eq 'QueueEntry') { }
969 0 0 unless $action->{'GOOD'}
980 0 0 if ($qevent eq 'QueueParams') { }
0 0 elsif ($qevent eq 'QueueMember') { }
0 0 elsif ($qevent eq 'QueueEntry') { }
1024 0 0 unless $queueobj
1028 0 0 if ($queueobj->{'MEMBERS'}{$member}{'Paused'} == 0) { }
0 0 elsif ($queueobj->{'MEMBERS'}{$member}{'Paused'}) { }
1034 0 0 unless $self->queue_pause($queue, $member, $paused, $timeout)
0 0 if (defined $paused)
1080 0 0 if $err
1082 0 0 unless (defined $resp)
1087 0 0 unless $resp
1090 0 0 if ($err)
1101 0 0 unless $action->{'GOOD'}
1128 0 0 unless $action->{'GOOD'}
1161 0 0 if (defined $amiver and $amiver >= 1.1) { }
1164 0 0 unless $action->{'GOOD'}
1180 0 0 unless $list->{'GOOD'}
1193 0 0 unless defined $meetme
1210 0 0 if (defined $amiver and $amiver >= 1.1) { }
1214 0 0 unless $action->{'GOOD'}
1230 0 0 unless $members->{'GOOD'}
1251 0 0 $split[4] ? :
1253 0 0 $split[6] ? :
1255 0 0 $split[7] ? :
1283 0 0 unless defined $dir
1294 0 0 unless defined $dir
1344 0 0 unless defined $dir
1355 0 0 unless defined $dir
1376 0 0 unless $action->{'GOOD'}
1400 0 0 if (defined $ver and $ver >= 1.1) { }
1407 0 0 unless defined $resp and $resp->{'GOOD'}
1409 0 0 if ($resp->{'CMD'}[-1] =~ /(\d+)\ .*/x)
1411 0 0 if $1 == 0
1454 0 0 if defined $callerid
1456 0 0 if (defined $ctime)
1459 0 0 if ($timeout)
1478 0 0 if defined $callerid
1479 0 0 if defined $ctime