Branch Coverage

blib/lib/AnyEvent/Sway.pm
Criterion Covered Total %
branch 7 36 19.4


line true false branch
150 2 0 if ($path_tainted)
153 2 0 if (scalar @dirs != scalar @filtered)
166 0 2 if ($result =~ /^([^\0]+)$/)
188 2 0 unless $path
195 2 0 if ($path =~ /~/)
199 0 2 unless $home and -d $home
225 2 0 unless $fh
239 0 0 if ($type & $event_mask) == $event_mask
246 0 0 unless defined $cb->{$type}
279 0 0 unless defined $self->{'callbacks'}{$type}
284 0 0 if ($type & $event_mask) == $event_mask
348 0 0 unless defined $type
350 0 0 unless defined $self->{'ipchdl'}
353 0 0 if ($content)
354 0 0 if (not ref $content) { }
390 0 0 if defined $self->{'ipchdl'}
392 0 0 unless $self->connect->recv
507 0 0 if ($version =~ /^[0-9]+\.[0-9]+\.([0-9]+)/)