Condition Coverage

blib/lib/AWS/CLIWrapper.pm
Criterion Covered Total %
condition 3 48 6.2


and 3 conditions

line !l l&&!r l&&r condition
110 0 0 0 $type and $type eq "HASH"
144 0 0 0 $service eq "ec2" and $operation eq "wait"
153 0 0 0 $service eq "ec2" and $operation eq "run-instances"
0 0 0 $service eq "s3" and $self->awscli_version >= 0.15.0
0 0 0 $service eq "s3api" and $self->awscli_version < 0.15.0
189 0 0 0 $service eq "s3" and $k =~ /^(?:include|exclude)$/
199 0 0 0 exists $opt{'nofork'} and $opt{'nofork'}
212 0 0 0 defined $err and $err =~ /^IPC::Cmd::TimeOut:/
221 0 0 0 $ret->{'exit_code'} == 0 and $ret->{'timeout'} == 0
248 0 0 0 $stdout_str and $stdout_str =~ /^{/
254 0 0 0 exists $ret->{'Errors'} and ref $ret->{'Errors'} eq "ARRAY"

or 2 conditions

line l !l condition
40 1 7 $param{'awscli_path'} || 'aws'
58 0 2 `$awscli_path --version 2>&1` || ''
243 0 0 $json || 'success'

or 3 conditions

line l !l&&r !l&&!r condition
172 0 0 0 $max ||= $min
204 0 0 0 $opt{'timeout'} || $self->{'timeout'}
218 0 0 0 $opt{'timeout'} || $self->{'timeout'}