Branch Coverage

blib/lib/POE/XUL/Session.pm
Criterion Covered Total %
branch 0 64 0.0


line true false branch
43 0 0 unless $session->isa('POE::Session')
52 0 0 if ($state eq '_stop') { }
0 0 elsif ($state eq '_start') { }
68 0 0 if ($session->[1]{'trace'})
78 0 0 unless ($handler)
80 0 0 unless ($handler)
82 0 0 if ($session->[1]{'default'})
111 0 0 if ($wa) { }
113 0 0 if ('CODE' eq ref $handler) { }
126 0 0 if ('CODE' eq ref $handler) { }
137 0 0 if ($OK)
138 0 0 if wantarray
200 0 0 unless $self->{'session'}
218 0 0 unless $self->{'name'}
227 0 0 unless ($self->{'booted'})
233 0 0 unless $self->{'main_window'}
270 0 0 unless $twindow
305 0 0 if ($listener)
308 0 0 if (ref $listener) { }
321 0 0 if ($self->{'application'}->can($name))
336 0 0 if ($self->{'application'}->can('shutdown'))
349 0 0 if ($self->{'application'}->can('timeout'))
369 0 0 if $handler
374 0 0 if $handler
386 0 0 if (not $self->{'main_window'}) { }
0 0 elsif ($self->{'CM'} and $self->{'CM'}{'current_event'}) { }
404 0 0 if (ref $listener)
413 0 0 if ($node->id)
421 0 0 unless defined $state
422 0 0 if $self->has_handler($state)
424 0 0 unless $app->can($state)
430 0 0 if ($listener) { }