Branch Coverage

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


line true false branch
80 0 0 if ($type eq 'tick') { }
0 0 elsif ($type eq 'workspace') { }
92 0 0 unless $log_all_events
106 0 0 if $value
121 0 0 unless $i3status
131 0 0 if $group
142 0 0 if $ws
314 0 0 unless $ws
315 0 0 unless exists $ws->{'group'}
316 0 0 if exists $ws->{'group'}{$group}
317 0 0 if exists $ws->{'group'}{'all'}
323 0 0 unless $ws
325 0 0 unless exists $ws->{'group'}
326 0 0 unless $self->_is_in_group($name, $group)
334 0 0 if $current_group eq $group and $cur ne "__EMPTY__"
342 0 0 if ($cur eq "__EMPTY__")
345 0 0 if $current_group eq $group
353 0 0 unless exists $ws->{'group'}
355 0 0 if (&any(sub { $name eq $_->{'name'}; } , @current_workspaces))
356 0 0 if ($self->_is_in_group($name, $current_group))
361 0 0 if (&any(sub { "${group}:$name" eq $_; } , @available))
376 0 0 unless $debug
382 0 0 unless defined $d
390 0 0 if (ref $sub ne "CODE")
396 0 0 if (&any(sub { $_ eq $type; } , @any)) { }
0 0 elsif (&any(sub { $_ eq $type; } , @actions)) { }
409 0 0 if (ref $sub ne "CODE")
413 0 0 if (&any(sub { $_ eq $payload; } , @any)) { }
0 0 elsif (&any(sub { $_ eq $payload; } , @payloads)) { }
426 0 0 if (ref $sub ne "CODE")
433 0 0 defined $on ? :
470 0 0 unless (@targets)
477 0 0 unless (exists $_->{'on'})
481 0 0 if (($_->{'on'}{'workspace'} // "") eq $current_workspace)
485 0 0 if (($_->{'on'}{'group'} // "") eq $current_group)
503 0 0 if $_->{'name'} eq "__i3"
506 0 0 unless $ws