Condition Coverage

blib/lib/Net/Amazon/EC2.pm
Criterion Covered Total %
condition 4 51 7.8


and 3 conditions

line !l l&&!r l&&r condition
263 0 0 0 /Code/ and not /Success/
493 0 6 3 grep {length $_ if defined $_;} $self->debug and $self->debug == 1
509 3 0 0 $filters and ref $filters eq 'ARRAY'
1130 0 0 0 grep {length $_ if defined $_;} $xml->{'progress'} and ref $xml->{'progress'} ne 'HASH'
1278 0 0 0 grep {length $_ if defined $_;} $xml->{'snapshotId'} and ref $xml->{'snapshotId'} ne 'HASH'
2122 0 0 0 grep {length $_ if defined $_;} $instance_elem->{'reason'} and ref $instance_elem->{'reason'} ne 'HASH'
2126 0 0 0 grep {length $_ if defined $_;} $instance_elem->{'privateDnsName'} and ref $instance_elem->{'privateDnsName'} ne 'HASH'
2130 0 0 0 grep {length $_ if defined $_;} $instance_elem->{'dnsName'} and ref $instance_elem->{'dnsName'} ne 'HASH'
2134 0 0 0 grep {length $_ if defined $_;} $instance_elem->{'placement'}{'availabilityZone'} and ref $instance_elem->{'placement'}{'availabilityZone'} ne 'HASH'
2996 0 0 0 grep {length $_ if defined $_;} $xml->{'createVolumePermission'} and ref $xml->{'createVolumePermission'} ne 'HASH'
3081 0 0 0 grep {length $_ if defined $_;} $snap->{'description'} and ref $snap->{'description'} ne 'HASH'
3085 0 0 0 grep {length $_ if defined $_;} $snap->{'progress'} and ref $snap->{'progress'} ne 'HASH'
3165 0 0 0 grep {length $_ if defined $_;} $volume_set->{'snapshotId'} and ref $volume_set->{'snapshotId'} ne 'HASH'
4629 0 0 0 grep {length $_ if defined $_;} $instance_elem->{'reason'} and ref $instance_elem->{'reason'} ne 'HASH'
4633 0 0 0 grep {length $_ if defined $_;} $instance_elem->{'privateDnsName'} and ref $instance_elem->{'privateDnsName'} ne 'HASH'
4637 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 3 $self->has_temp_creds or $self->has_SecurityToken