blib/lib/Thrift/Socket.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 19 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
64 | 0 | 0 | 0 | defined $opts and ref $opts eq ref {} |
line | l | !l | condition |
---|---|---|---|
72 | 0 | 0 | $opts || 'localhost' |
73 | 0 | 0 | shift() || 9090 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
121 | 0 | 0 | 0 | $self->__open || do { my $error = ref($self) . ': Could not connect to ' . $self->{'host'} . ':' . $self->{'port'} . ' (' . $! . ')'; die 'Thrift::TTransportException'->new($error, 1) } |
160 | 0 | 0 | 0 | not defined $buf or $buf eq "" |
194 | 0 | 0 | 0 | not defined $buf or $buf eq "" |
228 | 0 | 0 | 0 | not defined $sent or $sent == 0 |