DBIx/Class/SQLMaker/LimitDialects.pm

filter: Statementstmt 50.0% 8 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 33.3% 2 / 6 Podpod n/a totaltotal 45.4% 10 / 22 CC 1 SCAR 5.1
CC
1
Cov
50%
__ANON__
2.0
__rows_bindtype
2.0
__offset_bindtype
2.0
CRAP 1.7
« DBIx/Class/Storage/DBI/Replicated.pm ↑ Summary DBIx/Class/Cursor.pm »
1 # because of how loose dep specs are, we need to keep squatting
2 # on the CPAN face - FOREVER.
3 package DBIx::Class::SQLMaker::LimitDialects;
4  
5 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 ##
9 ## Compat in case someone is using these in the wild...
10 ##
11  
12 0 ▶my $sigh = sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
13 0 require DBIx::Class::_Util;
14 0 require DBIx::Class::SQLMaker;
15  
16 0 my( $meth ) = (caller(1))[3] =~ /([^:]+)$/;
17  
18 0 DBIx::Class::_Util::emit_loud_diag(
19 skip_frames => 1,
20 msg => "The $meth() constant is now provided by DBIx::Class::SQLMaker::ClassicExtensions: please adjust your code"
21 );
22  
23 0 DBIx::Class::SQLMaker::ClassicExtensions->$meth;
24 2 };
25  
26 0 ▶sub __rows_bindtype { $sigh->() }
Subroutine __rows_bindtype: not called CC=1 SCAR=6.9
27 0 ▶sub __offset_bindtype { $sigh->() }
Subroutine __offset_bindtype: not called CC=1 SCAR=6.9
28 0 ▶sub __total_bindtype { $sigh->() }
Subroutine __total_bindtype: not called CC=1 SCAR=6.9
29  
30 2 1;
31  
32 __END__
« DBIx/Class/Storage/DBI/Replicated.pm ↑ Summary DBIx/Class/Cursor.pm »