Condition Coverage

blib/lib/Asterisk/AMI.pm
Criterion Covered Total %
condition 0 38 0.0


and 3 conditions

line !l l&&!r l&&r condition
641 0 0 0 $self->_configure(%values) and $self->_connect
728 0 0 0 $val != 0 and $val != 1
991 0 0 0 defined $self->{'RESPONSEBUFFER'}{$actionid}{'Response'} and $self->{'RESPONSEBUFFER'}{$actionid}{'Response'} =~ /^(?:Success|Follows|Goodbye|Events Off|Pong)$/ox
1045 0 0 0 exists $packet->{'Message'} and $packet->{'Message'} =~ /[fF]ollow/ox
1152 0 0 0 $lkey eq 'async' and $value == 1
1243 0 0 0 $timeout and defined $self->{'CALLBACKS'}{$id}
1541 0 0 0 $self and $self->simple_action({'Action', 'Ping'}, $timeout)
1618 0 0 0 not $self->{'SOCKERR'} and $self->{'LOGGEDIN'}

or 2 conditions

line l !l condition
1565 0 0 $self->{'CONFIG'}{'TIMEOUT'} || 5

or 3 conditions

line l !l&&r !l&&!r condition
728 0 0 0 $val =~ /[^\d]/x or $val != 0 and $val != 1
1033 0 0 0 $packet->{'Event'} eq 'DBGetResponse' or $packet->{'Event'} eq 'OriginateResponse'
1045 0 0 0 $self->{'RESPONSEBUFFER'}{$actionid}{'ASYNC'} or exists $packet->{'Message'} and $packet->{'Message'} =~ /[fF]ollow/ox
1218 0 0 0 $self->{'LOGGEDIN'} or lc($actionhash->{'Action'}) =~ /login|challenge/x