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
637 0 0 0 $self->_configure(%values) and $self->_connect
724 0 0 0 $val != 0 and $val != 1
987 0 0 0 defined $$self{'RESPONSEBUFFER'}{$actionid}{'Response'} and $$self{'RESPONSEBUFFER'}{$actionid}{'Response'} =~ /^(?:Success|Follows|Goodbye|Events Off|Pong)$/ox
1041 0 0 0 exists $$packet{'Message'} and $$packet{'Message'} =~ /[fF]ollow/ox
1148 0 0 0 $lkey eq 'async' and $value == 1
1239 0 0 0 $timeout and defined $$self{'CALLBACKS'}{$id}
1537 0 0 0 $self and $self->simple_action({'Action', 'Ping'}, $timeout)
1604 0 0 0 not $$self{'SOCKERR'} and $$self{'LOGGEDIN'}

or 2 conditions

line l !l condition
1561 0 0 $$self{'CONFIG'}{'TIMEOUT'} || 5

or 3 conditions

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