Branch Coverage

blib/lib/AnyEvent/I3X/Workspace/OnDemand.pm
Criterion Covered Total %
branch 0 84 0.0


line true false branch
78 0 0 if ($type eq 'tick') { }
0 0 elsif ($type eq 'workspace') { }
90 0 0 unless $log_all_events
99 0 0 unless ($x11)
108 0 0 if ($sel->can_read(0))
110 0 0 if $@
124 0 0 if $value
130 0 0 if defined $value
133 0 0 unless defined $value
149 0 0 unless $i3status
159 0 0 if $group
170 0 0 if $ws
343 0 0 unless $ws
344 0 0 unless exists $ws->{'group'}
345 0 0 if exists $ws->{'group'}{$group}
346 0 0 if exists $ws->{'group'}{'all'}
352 0 0 unless $ws
354 0 0 unless exists $ws->{'group'}
355 0 0 unless $self->_is_in_group($name, $group)
363 0 0 if $current_group eq $group and $cur ne "__EMPTY__"
371 0 0 if ($cur eq "__EMPTY__")
374 0 0 if $current_group eq $group
382 0 0 unless exists $ws->{'group'}
384 0 0 if (&any(sub { $name eq $_->{'name'}; } , @current_workspaces))
385 0 0 if ($self->_is_in_group($name, $current_group))
390 0 0 if (&any(sub { "${group}:$name" eq $_; } , @available))
405 0 0 unless $debug
411 0 0 unless defined $d
419 0 0 if (ref $sub ne "CODE")
425 0 0 if (&any(sub { $_ eq $type; } , @any)) { }
0 0 elsif (&any(sub { $_ eq $type; } , @actions)) { }
438 0 0 if (ref $sub ne "CODE")
442 0 0 if (&any(sub { $_ eq $payload; } , @any)) { }
0 0 elsif (&any(sub { $_ eq $payload; } , @payloads)) { }
455 0 0 if (ref $sub ne "CODE")
462 0 0 defined $on ? :
499 0 0 unless (@targets)
506 0 0 unless (exists $_->{'on'})
510 0 0 if (($_->{'on'}{'workspace'} // "") eq $current_workspace)
514 0 0 if (($_->{'on'}{'group'} // "") eq $current_group)
532 0 0 if $_->{'name'} eq "__i3"
535 0 0 unless $ws