Condition Coverage

blib/lib/App/Chart/Glib/Ex/DirBroadcast.pm
Criterion Covered Total %
condition 1 21 4.7


or 2 conditions

line l !l condition
72 0 1 $self->{'connections'}{$key} ||= []
78 0 0 $self->{'connections'}{$key} ||= []
168 0 0 $$ref_weak_self || (return 0)
209 0 0 'IO::Dir'->new($directory) || (return)
224 0 0 $self->{'listen_filename'} || ''
284 0 0 delete $self->{'target'} || (return)

or 3 conditions

line l !l&&r !l&&!r condition
213 0 0 0 $self->{'pattern'} ||= do { require Sys::Hostname; my $hostname = Sys::Hostname::hostname(); qr/^\Q$hostname\E\.[0-9]+$/o }
231 0 0 0 $send_sock ||= do { require IO::Socket; require Socket; my $sock = do { local $^F = 0; 'IO::Socket'->new('Domain', Socket::AF_UNIX(), 'Type', Socket::SOCK_DGRAM()) }; $sock->blocking(0); die unless binmode $sock, ':raw'; $sock }
255 0 0 0 not defined $sent or $sent != length $frozen