File Coverage

blib/lib/DBIx/Class.pm
Criterion Covered Total %
statement 16 16 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod 0 1 0.0
total 22 23 95.6


line stmt bran cond sub pod time code
1             package DBIx::Class;
2              
3             # important to load early
4 313     313   7569 use DBIx::Class::_Util;
  313         729  
  313         13337  
5              
6 313     313   1869 use strict;
  313         656  
  313         7843  
7 313     313   1620 use warnings;
  313         679  
  313         24577  
8              
9             our $VERSION;
10             # Always remember to do all digits for the version even if they're 0
11             # i.e. first release of 0.XX *must* be 0.XX000. This avoids fBSD ports
12             # brain damage and presumably various other packaging systems too
13              
14             # $VERSION declaration must stay up here, ahead of any other package
15             # declarations, as to not confuse various modules attempting to determine
16             # this ones version, whether that be s.c.o. or Module::Metadata, etc
17             $VERSION = '0.082899_15';
18              
19             $VERSION = eval $VERSION if $VERSION =~ /_/; # numify for warning-free dev releases
20              
21 313     313   2121 use mro 'c3';
  313         768  
  313         3270  
22              
23 313     313   11652 use base qw/DBIx::Class::Componentised DBIx::Class::AccessorGroup/;
  313         728  
  313         99574  
24              
25             __PACKAGE__->mk_classaccessor(
26             _skip_namespace_frames => join( '|', map { '^' . $_ } qw(
27             DBIx::Class
28             SQL::Abstract
29             SQL::Translator
30             Try::Tiny
31             Class::Accessor::Grouped
32             Context::Preserve
33             Moose::Meta::
34             )),
35             );
36              
37 4475     4475 0 671839 sub component_base_class { 'DBIx::Class' }
38              
39             # *DO NOT* change this URL nor the identically named =head1 below
40             # it is linked throughout the ecosystem
41             sub DBIx::Class::_ENV_::HELP_URL () {
42             'http://p3rl.org/DBIx::Class#GETTING_HELP/SUPPORT'
43             }
44              
45             1;
46              
47             __END__