File Coverage

blib/lib/Data/Riak/Fast/MapReduce/Phase.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Data::Riak::Fast::MapReduce::Phase;
2              
3 22     22   16767 use Mouse::Role;
  22         2170  
  22         260  
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 method is required to be implemented by consumers of this role.
19              
20             =cut
21              
22             has keep => (
23             is => 'rw',
24             isa => 'Bool',
25             predicate => 'has_keep',
26             );
27              
28             requires 'pack';
29              
30 22     22   6320 no Mouse::Role; 1;
  22         46  
  22         714