Branch Coverage

blib/lib/Thrift/SASL/Transport.pm
Criterion Covered Total %
branch 0 52 0.0


line true false branch
21 0 0 if ($self->{'trans'}{'_sasl_client'} and not $self->{'trans'}{'_sasl_encode'})
50 0 0 if $self->{'_debug'}
59 0 0 unless defined $data
61 0 0 if ($length) { }
68 0 0 if $self->{'_debug'}
74 0 0 unless $self->{'_transport'} and $self->isOpen
75 0 0 unless $self->isOpen
81 0 0 if $self->{'_transport'} and $self->isOpen
89 0 0 if $self->{'_debug'}
100 0 0 if $self->{'_debug'}
106 0 0 if ($code == 5)
108 0 0 if $self->{'_debug'}
113 0 0 if ($code == 3 or $code == 4)
117 0 0 unless defined $data
130 0 0 if $self->{'_debug'} > 1
139 0 0 if $self->{'_debug'}
141 0 0 if &bytes::length($buf) > 0
159 0 0 if ($self->{'_sasl_encode'}) { }
161 0 0 unless my $decoded = $self->{'_sasl_client'}->decode($encoded)
179 0 0 if $self->{'_debug'}
181 0 0 if ($self->{'_sasl_encode_check'})
183 0 0 if (&bytes::length($encoded) and &bytes::length($encoded) != &bytes::length($self->{'_out_buffer'})) { }
187 0 0 if $self->{'_debug'}
191 0 0 if $self->{'_debug'}
195 0 0 if ($self->{'_sasl_encode'}) { }
216 0 0 if $self->{'_debug'} > 1