blib/lib/DDG/Block/Blockable/Any.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 3 | 5 | 60.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 1 | 5 | 20.0 |
pod | 0 | 4 | 0.0 |
total | 4 | 14 | 28.5 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package DDG::Block::Blockable::Any; | ||||||
2 | our $AUTHORITY = 'cpan:DDG'; | ||||||
3 | # ABSTRACT: Role for something blockable that has no triggers | ||||||
4 | $DDG::Block::Blockable::Any::VERSION = '1016'; | ||||||
5 | 3 | 3 | 1304 | use Moo::Role; | |||
3 | 5 | ||||||
3 | 14 | ||||||
6 | |||||||
7 | with 'DDG::Block::Blockable'; | ||||||
8 | |||||||
9 | 0 | 0 | sub get_triggers {} | ||||
10 | 0 | 0 | sub triggers {} | ||||
11 | |||||||
12 | 0 | 0 | 0 | sub has_triggers { 0 } | |||
13 | 0 | 0 | 0 | sub triggers_block_type { 'Any' } | |||
14 | |||||||
15 | |||||||
16 | 1; | ||||||
17 | |||||||
18 | __END__ |