Tapper/Schema/TestrunDB/Result/ChartLineAxisColumns.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 21 / 21 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Tapper/Schema/TestrunDB/Result/ChartLineAdditionals.pm ↑ Summary Tapper/Schema/TestrunDB/Result/ChartLineAxisElements.pm »
1 package Tapper::Schema::TestrunDB::Result::ChartLineAxisColumns;
2 10 our $AUTHORITY = 'cpan:TAPPER';
3 10 $Tapper::Schema::TestrunDB::Result::ChartLineAxisColumns::VERSION = '5.0.12';
4 # ABSTRACT: Tapper - containing column name as element for chart axis
5  
6 10 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 10 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 10 ▶use parent 'DBIx::Class';
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 10 __PACKAGE__->load_components(qw/FilterColumn InflateColumn::DateTime Core/);
12 10 __PACKAGE__->table('chart_line_axis_columns');
13 10 __PACKAGE__->add_columns(
14 'chart_line_axis_element_id', {
15 data_type => 'INT',
16 default_value => undef,
17 is_nullable => 0,
18 size => 11,
19 extra => {
20 unsigned => 1,
21 },
22 },
23 'chart_line_axis_column', {
24 data_type => 'VARCHAR',
25 is_nullable => 0,
26 size => 512,
27 },
28 );
29  
30 10 (my $basepkg = __PACKAGE__) =~ s/::\w+$//;
31  
32 10 __PACKAGE__->set_primary_key('chart_line_axis_element_id');
33 10 __PACKAGE__->belongs_to(
34 chart => "${basepkg}::ChartLineAxisElements",
35 { 'foreign.chart_line_axis_element_id' => 'self.chart_line_axis_element_id' },
36 );
37  
38 10 1;
39  
40 __END__
« Tapper/Schema/TestrunDB/Result/ChartLineAdditionals.pm ↑ Summary Tapper/Schema/TestrunDB/Result/ChartLineAxisElements.pm »