Branch Coverage

blib/lib/Lab/Connection.pm
Criterion Covered Total %
branch 19 50 38.0


line true false branch
33 7 0 if (ref $_[0] eq 'HASH') { }
54 0 0 if ($self->{'blocked'})
58 0 0 if $self->bus->can("connection_clear")
69 0 0 if (ref $_[0] eq 'HASH') { }
73 0 0 if ($self->{'connection_blocked'})
84 0 0 if (ref $_[0] eq 'HASH') { }
88 0 0 if ($self->{'connection_blocked'})
97 0 0 if (ref $self->config('termchar') eq 'ARRAY') { }
115 0 0 if (ref $_[0] eq 'HASH') { }
125 0 0 if (ref $_[0] eq 'HASH') { }
138 0 0 if (ref $_[0] eq 'HASH') { }
148 0 0 if (ref $_[0] eq 'HASH') { }
159 0 4 unless defined $timo
162 2 2 if defined $self->bus
184 0 54 if ($self->{'connection_blocked'} == 1) { }
204 0 14 if (ref $config ne 'HASH') { }
216 22 134 if exists $config->{$fields_key}
239 7 7 if ($class eq $package)
260 0 2 unless $self->bus(eval "require $bus_class; new $bus_class(\$self->config());")
288 30 41 if (not defined $key) { }
17 24 elsif (ref($key) =~ /HASH/u) { }
302 0 2708 unless my $type = ref $self
307 0 2708 unless (exists $self->{'_permitted'}{$name})
313 683 2025 if (@_) { }
324 0 0 if $self->can("SUPER::DESTROY")