Condition Coverage

blib/lib/AWS/CLIWrapper.pm
Criterion Covered Total %
condition 15 51 29.4


and 3 conditions

line !l l&&!r l&&r condition
181 0 0 0 $type and $type eq "HASH"
215 5 0 0 $service eq "ec2" and $operation eq "wait"
224 5 0 0 $service eq "ec2" and $operation eq "run-instances"
5 0 0 $service eq "s3" and $self->awscli_version >= 0.15.0
5 0 0 $service eq "s3api" and $self->awscli_version < 0.15.0
260 0 0 0 $service eq "s3" and $k =~ /^(?:include|exclude)$/
280 2 0 5 $retries-- > 0 and $AWS::CLIWrapper::Error->{'Message'} =~ /$error_re/
301 10 0 0 exists $opt->{'nofork'} and $opt->{'nofork'}
314 0 0 0 defined $err and $err =~ /^IPC::Cmd::TimeOut:/
329 7 0 3 $ret->{'exit_code'} == 0 and $ret->{'timeout'} == 0
356 7 0 0 $stdout_str and $stdout_str =~ /^{/
362 0 0 0 exists $ret->{'Errors'} and ref $ret->{'Errors'} eq "ARRAY"

or 2 conditions

line l !l condition
44 30 7 $param{'awscli_path'} || 'aws'
62 1 2 `$awscli_path --version 2>&1` || ''
351 0 0 $json || 'success'

or 3 conditions

line l !l&&r !l&&!r condition
243 0 0 0 $max ||= $min
306 0 0 0 $opt->{'timeout'} || $self->{'timeout'}
320 0 10 0 $opt->{'timeout'} || $self->{'timeout'}