DDG/Block/Blockable/Any.pm

filter: Statementstmt 77.7% 7 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 20.0% 1 / 5 Podpod 0.0% 0 / 4 totaltotal 44.4% 8 / 18 CC 1 SCAR 3.4
CC
1
Cov
78%
has_triggers
2.0
triggers_block_type
2.0
BEGIN
1.0
CRAP 1.4
« DDG/Meta/Helper.pm ↑ Summary DDG/Meta/AnyBlock.pm »
1 package DDG::Block::Blockable::Any;
2 3 our $AUTHORITY = 'cpan:DDG';
3 # ABSTRACT: Role for something blockable that has no triggers
4 3 $DDG::Block::Blockable::Any::VERSION = '1017';
5 3 ▶use Moo::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 3 with 'DDG::Block::Blockable';
8  
9 ▶sub get_triggers {}
Subroutine get_triggers: not called CC=1 SCAR=0.0
Pod undocumented
10 ▶sub triggers {}
Subroutine triggers: not called CC=1 SCAR=0.0
Pod undocumented
11  
12 0 ▶sub has_triggers { 0 }
Subroutine has_triggers: not called CC=1 SCAR=6.9
Pod undocumented
13 0 ▶sub triggers_block_type { 'Any' }
Subroutine triggers_block_type: not called CC=1 SCAR=6.9
Pod undocumented
14  
15  
16 3 1;
17  
18 __END__
« DDG/Meta/Helper.pm ↑ Summary DDG/Meta/AnyBlock.pm »