File Coverage

lib/DBIx/ActiveRecord/Arel/NakidWhere.pm
Criterion Covered Total %
statement 10 10 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 0 2 0.0
total 14 16 87.5


line stmt bran cond sub pod time code
1             package DBIx::ActiveRecord::Arel::NakidWhere;
2 2     2   12 use strict;
  2         5  
  2         70  
3 2     2   9 use warnings;
  2         5  
  2         233  
4              
5             sub new {
6 3     3 0 5 my ($self, $statement, $value) = @_;
7 3         16 bless {statement => $statement, value => $value}, $self;
8             }
9              
10             sub build {
11 3     3 0 6 my $self = shift;
12 3         13 return ($self->{statement}, $self->{value});
13             }
14              
15             1;