lib/Test2/Harness/UI/Schema/MySQL/Coverage.pm

filter: Statementstmt 100% 34 / 34 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 39 / 39 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Test2/Harness/UI/Schema/MySQL/Binary.pm ↑ Summary lib/Test2/Harness/UI/Schema/MySQL/CoverageManager.pm »
1 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 package Test2::Harness::UI::Schema::Result::Coverage;
3  
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY ANY PART OF THIS FILE
6  
7 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 ▶use base 'Test2::Harness::UI::Schema::ResultBase';
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 __PACKAGE__->load_components(
12 "InflateColumn::DateTime",
13 "InflateColumn::Serializer",
14 "InflateColumn::Serializer::JSON",
15 "Tree::AdjacencyList",
16 "UUIDColumns",
17 );
18 1 __PACKAGE__->table("coverage");
19 1 __PACKAGE__->add_columns(
20 "coverage_id",
21 { data_type => "binary", is_nullable => 0, size => 16 },
22 "run_id",
23 { data_type => "binary", is_foreign_key => 1, is_nullable => 0, size => 16 },
24 "test_file_id",
25 { data_type => "binary", is_foreign_key => 1, is_nullable => 0, size => 16 },
26 "source_file_id",
27 { data_type => "binary", is_foreign_key => 1, is_nullable => 0, size => 16 },
28 "source_sub_id",
29 { data_type => "binary", is_foreign_key => 1, is_nullable => 0, size => 16 },
30 "coverage_manager_id",
31 { data_type => "binary", is_foreign_key => 1, is_nullable => 1, size => 16 },
32 "job_key",
33 { data_type => "binary", is_foreign_key => 1, is_nullable => 1, size => 16 },
34 "metadata",
35 { data_type => "json", is_nullable => 1 },
36 );
37 1 __PACKAGE__->set_primary_key("coverage_id");
38 1 __PACKAGE__->add_unique_constraint(
39 "run_id",
40 ["run_id", "test_file_id", "source_file_id", "source_sub_id"],
41 );
42 1 __PACKAGE__->belongs_to(
43 "coverage_manager",
44 "Test2::Harness::UI::Schema::Result::CoverageManager",
45 { coverage_manager_id => "coverage_manager_id" },
46 {
47 is_deferrable => 1,
48 join_type => "LEFT",
49 on_delete => "RESTRICT",
50 on_update => "RESTRICT",
51 },
52 );
53 1 __PACKAGE__->belongs_to(
54 "job_key",
55 "Test2::Harness::UI::Schema::Result::Job",
56 { job_key => "job_key" },
57 {
58 is_deferrable => 1,
59 join_type => "LEFT",
60 on_delete => "RESTRICT",
61 on_update => "RESTRICT",
62 },
63 );
64 1 __PACKAGE__->belongs_to(
65 "run",
66 "Test2::Harness::UI::Schema::Result::Run",
67 { run_id => "run_id" },
68 { is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" },
69 );
70 1 __PACKAGE__->belongs_to(
71 "source_file",
72 "Test2::Harness::UI::Schema::Result::SourceFile",
73 { source_file_id => "source_file_id" },
74 { is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" },
75 );
76 1 __PACKAGE__->belongs_to(
77 "source_sub",
78 "Test2::Harness::UI::Schema::Result::SourceSub",
79 { source_sub_id => "source_sub_id" },
80 { is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" },
81 );
82 1 __PACKAGE__->belongs_to(
83 "test_file",
84 "Test2::Harness::UI::Schema::Result::TestFile",
85 { test_file_id => "test_file_id" },
86 { is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" },
87 );
88  
89  
90 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-03-02 16:05:14
91 1 ▶use Test2::Harness::UI::UUID qw/uuid_inflate uuid_deflate/;
Subroutine BEGIN: called CC=1 SCAR=0.0
92 1 __PACKAGE__->inflate_column('source_sub_id' => { inflate => \&uuid_inflate, deflate => \&uuid_deflate });
93 1 __PACKAGE__->inflate_column('coverage_id' => { inflate => \&uuid_inflate, deflate => \&uuid_deflate });
94 1 __PACKAGE__->inflate_column('coverage_manager_id' => { inflate => \&uuid_inflate, deflate => \&uuid_deflate });
95 1 __PACKAGE__->inflate_column('test_file_id' => { inflate => \&uuid_inflate, deflate => \&uuid_deflate });
96 1 __PACKAGE__->inflate_column('run_id' => { inflate => \&uuid_inflate, deflate => \&uuid_deflate });
97 1 __PACKAGE__->inflate_column('job_key' => { inflate => \&uuid_inflate, deflate => \&uuid_deflate });
98 1 __PACKAGE__->inflate_column('source_file_id' => { inflate => \&uuid_inflate, deflate => \&uuid_deflate });
99 # DO NOT MODIFY ANY PART OF THIS FILE
100  
101 1 1;
« lib/Test2/Harness/UI/Schema/MySQL/Binary.pm ↑ Summary lib/Test2/Harness/UI/Schema/MySQL/CoverageManager.pm »