blib/lib/DBIO/Test/Schema/PunctuatedColumnName.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 17 / 17 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/Schema/Producer.pm ↑ Summary blib/lib/DBIO/Test/Schema/ResultDDL.pm »
1 package DBIO::Test::Schema::PunctuatedColumnName;
2 # ABSTRACT: Test result class for columns with punctuated names
3  
4 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 our $VERSION = '0.900007';
7  
8 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 3 ▶use base qw/DBIO::Test::BaseResult/;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 3 __PACKAGE__->table('punctuated_column_name');
13 3 __PACKAGE__->add_columns(
14 'id' => {
15 data_type => 'integer',
16 is_auto_increment => 1,
17 },
18 q{foo ' bar} => {
19 data_type => 'integer',
20 is_nullable => 1,
21 accessor => 'foo_bar',
22 },
23 q{bar/baz} => {
24 data_type => 'integer',
25 is_nullable => 1,
26 accessor => 'bar_baz',
27 },
28 q{baz;quux} => {
29 data_type => 'integer',
30 is_nullable => 1,
31 accessor => 'bar_quux',
32 },
33 );
34  
35 3 __PACKAGE__->set_primary_key('id');
36  
37 3 1;
38  
39 __END__
« blib/lib/DBIO/Test/Schema/Producer.pm ↑ Summary blib/lib/DBIO/Test/Schema/ResultDDL.pm »