blib/lib/DBIO/Adapter/Base.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 100% 3 / 3 totaltotal 100% 28 / 28 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/DBIO/Test/ForeignComponent/TestComp.pm ↑ Summary blib/lib/DBIO/Candy/Exports.pm »
1 package DBIO::Adapter::Base;
2 # ABSTRACT: per-driver base->native column type resolver (one-way)
3  
4 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 4 our $VERSION = '0.900007';
8  
9 4 ▶use Carp qw/croak/;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 4 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12  
13 3 ▶sub new { my ($class, %args) = @_; bless { %args }, $class }
Subroutine new: called CC=1 SCAR=0.0
Pod documented
14  
15  
16 # to_native(\%canonical_column) -> native DDL type string. Subclasses implement.
17 1 ▶sub to_native { croak ref($_[0]) . "::to_native not implemented" }
Subroutine to_native: called CC=1 SCAR=0.0
Pod documented
18  
19  
20 # capabilities -> hashref of engine traits the diff consults.
21 1 ▶sub capabilities { return { supports_alter_column_type => 1 } }
Subroutine capabilities: called CC=1 SCAR=0.0
Pod documented
22  
23 4 1;
24  
25 __END__
« blib/lib/DBIO/Test/ForeignComponent/TestComp.pm ↑ Summary blib/lib/DBIO/Candy/Exports.pm »