Data/Riak/Fast/MapReduce/Phase.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 11 / 11 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Data/Riak/Fast/HTTP/Request.pm ↑ Summary Data/Riak/Fast/MapReduce/Phase/Reduce.pm »
1 package Data::Riak::Fast::MapReduce::Phase;
2  
3 22 ▶use Mouse::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 =head1 DESCRIPTION
6  
7 The Phase role contains common code used by all the Data::Riak::Fast::MapReduce
8 phase classes.
9  
10 =head2 keep
11  
12 Flag controlling whether the results of this phase are included in the final
13 result of the map/reduce.
14  
15 =head1 METHOD
16 =head2 pack()
17  
18 The C<pack> method is required to be implemented by consumers of this role.
19  
20 =cut
21  
22 22 has keep => (
23 is => 'rw',
24 isa => 'Bool',
25 predicate => 'has_keep',
26 );
27  
28 22 requires 'pack';
29  
30 22 ▶no Mouse::Role; 1;
Subroutine BEGIN: called CC=1 SCAR=0.0
« Data/Riak/Fast/HTTP/Request.pm ↑ Summary Data/Riak/Fast/MapReduce/Phase/Reduce.pm »