File Coverage

blib/lib/Data/Riak/Fast/ResultSet.pm
Criterion Covered Total %
statement 12 15 80.0
branch n/a
condition n/a
subroutine 4 6 66.6
pod 0 2 0.0
total 16 23 69.5


line stmt bran cond sub pod time code
1             package Data::Riak::Fast::ResultSet;
2              
3 22     22   119 use strict;
  22         43  
  22         1035  
4 22     22   119 use warnings;
  22         51  
  22         605  
5              
6 22     22   113 use Mouse;
  22         43  
  22         130  
7              
8             has results => (
9             is => 'rw',
10             isa => 'ArrayRef[Data::Riak::Fast::Result]',
11             required => 1
12             );
13              
14 0     0 0   sub first { (shift)->results->[0] }
15              
16 0     0 0   sub all { @{ (shift)->results } }
  0            
17              
18             __PACKAGE__->meta->make_immutable;
19 22     22   10117 no Mouse;
  22         64  
  22         111  
20              
21             1;
22              
23             __END__