Condition Coverage

blib/lib/Object/Meta/Plugin/Host.pm
Criterion Covered Total %
condition 16 32 50.0


and 3 conditions

line !l l&&!r l&&r condition
244 4 0 9 ${$stack;}[$i] == $$self{'plugin'} and -1 == --$j

or 2 conditions

line l !l condition
77 36 35 $self->stack($method) || []
119 0 7 $self->UNIVERSAL::can($method) || $self->stack($method) && sub { $AUTOLOAD = '::' . $method; goto \&AUTOLOAD; } || undef
148 0 22 shift() || 0
219 0 7 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
47 32 1 0 $plugin->init(@_) || croak('init() did not return an export list')
71 0 1 31 not $x or grep {not $x->can($_);} 'list', 'plugin', 'exists', 'merge', 'unmerge'
91 0 0 0 not $x or grep {not $x->can($_);} 'list', 'plugin'
189 0 0 0 $self->UNIVERSAL::can($method) or $self->plugin->can($method)
236 9 0 0 $$self{'host'}->self->stack($method) || croak(qq[Can't locate object method "$method" via any plugin in ${$self;}{'host'}])
243 13 0 0 $i >= 0 or croak("The plugin which requested an offset is not in the stack for the method $method which it called")
254 2 2 5 $i > $#$stack or $i < 0