Set/Storage/BlackHole.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 100% 3 / 3 totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
populate_context
1.0
set_context_property
1.0
CRAP 1.0
« Set/Role/Stored.pm ↑ Summary Set/Storage/Split/Rule.pm »
1 package Context::Set::Storage::BlackHole;
2 3 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 =head1 NAME
5  
6 Context::Set::Storage::BlackHole - A Storage that doesnt do anything.
7  
8 =cut
9  
10 3 extends qw/Context::Set::Storage/;
11  
12  
13 =head2 populate_context
14  
15 See super class L<Context::Set::Storage>
16  
17 =cut
18  
19 21 ▶sub populate_context{}
Subroutine populate_context: called CC=1 SCAR=0.0
Pod documented
20  
21 =head2 set_context_property
22  
23 See super class L<Context::Set::Storage>
24  
25 =cut
26  
27 10 ▶sub set_context_property{
Subroutine set_context_property: called CC=1 SCAR=0.0
Pod documented
28 10 my ($self, $context, $prop , $v , $after) = @_;
29 10 return &{$after}();
30 }
31  
32 =head2 delete_context_property
33  
34 See superclass L<Context::Set::Storage>
35  
36 =cut
37  
38 1 ▶sub delete_context_property{
Subroutine delete_context_property: called CC=1 SCAR=0.0
Pod documented
39 1 my ($self, $context, $prop , $after) = @_;
40 1 return &{$after}();
41 }
42  
43 3 __PACKAGE__->meta->make_immutable();
44 3 1;
« Set/Role/Stored.pm ↑ Summary Set/Storage/Split/Rule.pm »