Branch Coverage

blib/lib/DDG/Test/Block.pm
Criterion Covered Total %
branch 12 16 75.0


line true false branch
31 13 2 if ($plugin->triggers_block_type eq 'Words') { }
2 0 elsif ($plugin->triggers_block_type eq 'Regexp') { }
39 7 0 @words ? :
40 1 6 @regexp ? :
44 5 14 if (ref $query eq 'DDG::Request') { }
56 19 0 if $words_block
57 2 17 if $regexp_block and not $answer
58 19 0 if (defined $target) { }