Branch Coverage

blib/lib/App/Chart/Glib/Ex/DirBroadcast.pm
Criterion Covered Total %
branch 5 56 8.9


line true false branch
46 0 1 if (my $filename = delete $self->{'listen_filename'})
54 0 0 unless ref $self
56 0 0 if (@_ < 2)
57 0 0 if ($self->{'listen_source_ids'})
70 1 0 unless ref $self
77 0 0 unless ref $self
84 0 0 unless ref $self
90 0 0 if ($obj) { }
101 0 0 if (my $aref = $self->{'connections'}{$key})
108 1 0 unless ref $self
110 0 1 if ($self->{'hold'}) { }
114 1 0 if (my $aref = $self->{'connections'}{$key})
124 0 0 unless ref $self
126 0 0 if ($self->{'listen_source_ids'})
128 0 0 unless (defined $directory)
151 0 0 unless binmode $listen_sock, ':raw'
173 0 0 unless (defined $ret)
182 0 0 unless (eval { do { $args = Storable::thaw($buf); 1 } })
196 0 0 unless ref $self
198 0 0 if ($self->{'hold'})
221 0 0 unless ($filename =~ /$pattern/)
224 0 0 if ($filename eq ($self->{'listen_filename'} || ''))
240 0 0 unless binmode $sock, ':raw'
245 0 0 unless (defined $frozen)
248 0 0 if (length $frozen > 16384)
255 0 0 if (not defined $sent or $sent != length $frozen)
264 0 0 unless ref $self
285 0 0 if (--$dirb->{'hold'})