Branch Coverage

blib/lib/DDG/Block.pm
Criterion Covered Total %
branch 21 30 70.0


line true false branch
20 3 6 $self->$_ ? :
65 596 0 unless $self->debug_trace
66 0 0 defined $_ ? :
100 0 36 if (ref $_ eq 'HASH') { }
101 0 0 unless defined $_->{'class'}
108 0 36 if (ref $class) { }
111 3 33 unless (try_load_class($class))
112 2 1 if ($self->allow_missing_plugins) { }
113 1 1 if (ref $self->allow_missing_plugins eq 'CODE')
122 8 25 if ($self->has_before_build)
129 8 25 if ($self->has_after_build)
135 2 31 unless @triggers
140 33 0 if @parsed_triggers
177 46 0 unless ($self->allow_duplicate)
178 1 45 if (grep {$_ eq $plugin_class;} @{$request->seen_plugins;})