Condition Coverage

blib/lib/Net/Amazon/EC2.pm
Criterion Covered Total %
condition 4 54 7.4


and 3 conditions

line !l l&&!r l&&r condition
263 0 0 0 /Code/ and not /Success/
493 0 10 5 grep {length $_ if defined $_;} $self->debug and $self->debug == 1
509 3 0 0 $filters and ref $filters eq 'ARRAY'
1145 0 0 0 grep {length $_ if defined $_;} $xml->{'progress'} and ref $xml->{'progress'} ne 'HASH'
1289 0 0 0 grep {length $_ if defined $_;} $xml->{'snapshotId'} and ref $xml->{'snapshotId'} ne 'HASH'
2101 0 0 0 grep {length $_ if defined $_;} $instance_elem->{'reason'} and ref $instance_elem->{'reason'} ne 'HASH'
2105 0 0 0 grep {length $_ if defined $_;} $instance_elem->{'privateDnsName'} and ref $instance_elem->{'privateDnsName'} ne 'HASH'
2109 0 0 0 grep {length $_ if defined $_;} $instance_elem->{'dnsName'} and ref $instance_elem->{'dnsName'} ne 'HASH'
2113 0 0 0 grep {length $_ if defined $_;} $instance_elem->{'placement'}{'availabilityZone'} and ref $instance_elem->{'placement'}{'availabilityZone'} ne 'HASH'
2970 0 0 0 grep {length $_ if defined $_;} $xml->{'createVolumePermission'} and ref $xml->{'createVolumePermission'} ne 'HASH'
3051 0 0 0 grep {length $_ if defined $_;} $snap->{'description'} and ref $snap->{'description'} ne 'HASH'
3055 0 0 0 grep {length $_ if defined $_;} $snap->{'progress'} and ref $snap->{'progress'} ne 'HASH'
3131 0 0 0 grep {length $_ if defined $_;} $volume_set->{'snapshotId'} and ref $volume_set->{'snapshotId'} ne 'HASH'
4569 0 0 0 grep {length $_ if defined $_;} $instance_elem->{'reason'} and ref $instance_elem->{'reason'} ne 'HASH'
4573 0 0 0 grep {length $_ if defined $_;} $instance_elem->{'privateDnsName'} and ref $instance_elem->{'privateDnsName'} ne 'HASH'
4577 0 0 0 grep {length $_ if defined $_;} $instance_elem->{'dnsName'} and ref $instance_elem->{'dnsName'} ne 'HASH'

or 3 conditions

line l !l&&r !l&&!r condition
302 0 0 0 $self->has_temp_creds or $self->has_SecurityToken
353 0 0 3 $self->has_temp_creds or $self->has_SecurityToken