Branch Coverage

blib/lib/DDG/Block/Words.pm
Criterion Covered Total %
branch 18 20 90.0


line true false branch
16 0 28 unless ref $trigger eq 'HASH'
17 7 21 if (defined $trigger->{'start'})
20 5 23 if (defined $trigger->{'end'})
23 3 25 if (defined $trigger->{'startend'})
27 23 5 if (defined $trigger->{'any'})
61 46 4 unless defined $self->_words_plugins->{$type}{$key}
62 32 18 if ($word_count eq 1) { }
63 30 2 unless defined $self->_words_plugins->{$type}{$key}{$word_count}
66 16 2 unless defined $self->_words_plugins->{$type}{$key}{$word_count}
67 18 0 unless defined $self->_words_plugins->{$type}{$key}{$word_count}{$word}