Branch Coverage

blib/lib/DBIx/Aurora/Cluster.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
46 0 0 if ($instance->connected_at + $self->{'reconnect_interval'} < &Time::HiRes::time())
61 0 0 if $i->is_unreachable
64 0 0 if (my $e = $@) { }
67 0 0 if (ref $e and $e->isa('DBIx::Aurora::Instance::Exception::Connectivity')) { }
73 0 0 if ($i->is_writer) { }
82 0 0 unless ($instance)
87 0 0 $wantarray ? :
91 0 0 if (my $e = $@)
95 0 0 $wantarray ? :
108 0 0 if $i->is_unreachable
111 0 0 if (my $e = $@) { }
0 0 elsif ($i->is_reader) { }
113 0 0 if (ref $e and $e->isa('DBIx::Aurora::Instance::Exception::Connectivity')) { }
126 0 0 unless ($instance)
127 0 0 if ($self->{'force_reader_only'}) { }
135 0 0 $wantarray ? :
139 0 0 if (my $e = $@)
143 0 0 $wantarray ? :
149 0 0 if $instance
156 0 0 if $instance and $instance->maybe_writer
163 0 0 if $instance and $instance->maybe_reader