Branch Coverage

blib/lib/Protocol/CassandraCQL/Client.pm
Criterion Covered Total %
branch 15 36 41.6


line true false branch
103 0 1 @_ == 1 ? :
107 0 1 unless my $self = $class->SUPER::new(%args)
110 0 1 unless $self->_version <= 2
114 0 1 if defined $args{'Keyspace'}
150 0 2 if (length $body_compressed < length $body)
158 0 2 unless my($version, $flags, $streamid, $result_op, $body) = recv_frame($self)
160 0 2 unless $version & 128
163 0 2 unless $version <= $self->_version
166 0 2 if ($flags & 1)
170 0 2 unless $flags == 0
173 0 2 unless $streamid == 0
178 0 2 if ($result_op == 0)
184 0 2 unless $version == $self->_version
202 0 1 if ($op == 3)
204 0 0 if ($authenticator eq 'org.apache.cassandra.auth.PasswordAuthenticator') { }
205 0 0 unless defined $args{'Username'} and defined $args{'Password'}
220 0 1 unless $op == 2
253 0 0 unless $op == 8