Branch Coverage

blib/lib/MHA/AWS.pm
Criterion Covered Total %
branch 0 26 0.0


line true false branch
41 0 0 unless ($interface)
58 0 0 unless ($$res{'RouteTables'}[0])
63 0 0 if ($$route{'DestinationCidrBlock'} eq $destination_cidr_block)
73 0 0 if ($self->failover_method eq 'eni') { }
83 0 0 if ($$tag{'ResourceType'} eq 'instance' and $$tag{'Key'} eq 'Name')
88 0 0 if ($self->new_master_host and not $self->new_master_instance_id)
92 0 0 if ($self->orig_master_host and not $self->orig_master_instance_id)
101 0 0 defined $args ? :
103 0 0 if ($res) { }
116 0 0 system(('timeout', '3', 'ping', '-c', '1', '-t', '3'), $ip_addr) == 0 ? :
137 0 0 if (my $method = $self->can("_command_$command")) { }
140 0 0 if ($success) { }
158 0 0 if &Scalar::Util::blessed($$self{$key})