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

filter: Statementstmt 100% 24 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 29 / 29 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/SourceSub.pm ↑ Summary lib/Test2/Harness/UI/Schema/MySQL/TestFile.pm »
1 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 package Test2::Harness::UI::Schema::Result::Sweep;
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("sweeps");
19 1 __PACKAGE__->add_columns(
20 "sweep_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 "name",
25 { data_type => "varchar", is_nullable => 0, size => 255 },
26 );
27 1 __PACKAGE__->set_primary_key("sweep_id");
28 1 __PACKAGE__->add_unique_constraint("run_id", ["run_id", "name"]);
29 1 __PACKAGE__->belongs_to(
30 "run",
31 "Test2::Harness::UI::Schema::Result::Run",
32 { run_id => "run_id" },
33 { is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" },
34 );
35  
36  
37 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-03-02 16:05:14
38 1 ▶use Test2::Harness::UI::UUID qw/uuid_inflate uuid_deflate/;
Subroutine BEGIN: called CC=1 SCAR=0.0
39 1 __PACKAGE__->inflate_column('sweep_id' => { inflate => \&uuid_inflate, deflate => \&uuid_deflate });
40 1 __PACKAGE__->inflate_column('run_id' => { inflate => \&uuid_inflate, deflate => \&uuid_deflate });
41 # DO NOT MODIFY ANY PART OF THIS FILE
42  
43 1 1;
« lib/Test2/Harness/UI/Schema/MySQL/SourceSub.pm ↑ Summary lib/Test2/Harness/UI/Schema/MySQL/TestFile.pm »