File Coverage

blib/lib/Tapper/Schema/TestrunDB/Result/ReportTopic.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Tapper::Schema::TestrunDB::Result::ReportTopic;
2             our $AUTHORITY = 'cpan:TAPPER';
3             $Tapper::Schema::TestrunDB::Result::ReportTopic::VERSION = '5.0.11';
4             # ABSTRACT: Tapper - containg topic information for reports
5              
6 7     7   3681 use strict;
  7         15  
  7         184  
7 7     7   32 use warnings;
  7         14  
  7         160  
8              
9 7     7   32 use parent 'DBIx::Class';
  7         13  
  7         37  
10              
11             __PACKAGE__->load_components("Core");
12             __PACKAGE__->table("reporttopic");
13             __PACKAGE__->add_columns
14             (
15             "id", { data_type => "INT", default_value => undef, is_nullable => 0, size => 11, is_auto_increment => 1, },
16             "report_id", { data_type => "INT", default_value => undef, is_nullable => 0, size => 11, is_foreign_key => 1, },
17             "name", { data_type => "VARCHAR", default_value => "", is_nullable => 1, size => 255, },
18             "details", { data_type => "TEXT", default_value => "", is_nullable => 0, },
19             );
20              
21             __PACKAGE__->set_primary_key("id");
22              
23             __PACKAGE__->belongs_to ( report => 'Tapper::Schema::TestrunDB::Result::Report', { 'foreign.id' => 'self.report_id' });
24              
25              
26             1;
27              
28             __END__
29              
30             =pod
31              
32             =encoding UTF-8
33              
34             =head1 NAME
35              
36             Tapper::Schema::TestrunDB::Result::ReportTopic - Tapper - containg topic information for reports
37              
38             =head1 AUTHORS
39              
40             =over 4
41              
42             =item *
43              
44             AMD OSRC Tapper Team <tapper@amd64.org>
45              
46             =item *
47              
48             Tapper Team <tapper-ops@amazon.com>
49              
50             =back
51              
52             =head1 COPYRIGHT AND LICENSE
53              
54             This software is Copyright (c) 2019 by Advanced Micro Devices, Inc..
55              
56             This is free software, licensed under:
57              
58             The (two-clause) FreeBSD License
59              
60             =cut