File Coverage

blib/lib/DBIx/Class/ResultSetProxy.pm
Criterion Covered Total %
statement 9 19 47.3
branch n/a
condition n/a
subroutine 3 13 23.0
pod 0 10 0.0
total 12 42 28.5


line stmt bran cond sub pod time code
1             package # hide from PAUSE
2             DBIx::Class::ResultSetProxy;
3              
4             unless ($INC{"DBIx/Class/DB.pm"}) {
5             warn "IMPORTANT: DBIx::Class::ResultSetProxy is DEPRECATED AND *WILL* BE REMOVED. DO NOT USE.\n";
6             }
7              
8 3     3   1008 use strict;
  3         8  
  3         119  
9 3     3   19 use warnings;
  3         7  
  3         101  
10              
11 3     3   20 use base qw/DBIx::Class/;
  3         6  
  3         1007  
12              
13 0     0 0   sub search { shift->resultset_instance->search(@_); }
14 0     0 0   sub search_literal { shift->resultset_instance->search_literal(@_); }
15 0     0 0   sub search_like { shift->resultset_instance->search_like(@_); }
16 0     0 0   sub count { shift->resultset_instance->count(@_); }
17 0     0 0   sub count_literal { shift->resultset_instance->count_literal(@_); }
18 0     0 0   sub find { shift->resultset_instance->find(@_); }
19 0     0 0   sub create { shift->resultset_instance->create(@_); }
20 0     0 0   sub find_or_create { shift->resultset_instance->find_or_create(@_); }
21 0     0 0   sub find_or_new { shift->resultset_instance->find_or_new(@_); }
22 0     0 0   sub update_or_create { shift->resultset_instance->update_or_create(@_); }
23              
24             1;