Database/View/Super/VToolsVersion.pm

filter: Statementstmt 52.1% 12 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 33.3% 2 / 6 Podpod 50.0% 2 / 4 totaltotal 48.4% 16 / 33 CC 1 SCAR 5.1
CC
1
Cov
52%
load_full_list_p
2.0
load_full_list
2.0
load_pkey
2.0
CRAP 1.7
« Database/Model/Super/ToolsObjectsTables.pm ↑ Summary Database/Model/ToolsObjects.pm »
1 package Daje::Database::View::Super::VToolsVersion;
2 2 ▶use Mojo::Base 'Daje::Database::Model::Super::Common::Base', -base, -signatures, -async_await;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use v5.40;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 # NAME
6 # ====
7 #
8 # Daje::Database::View::Super::VToolsVersion - It creates perl code
9 #
10 # SYNOPSIS
11 # ========
12 #
13 # use Daje::Database::View::Super::VToolsVersion;
14 #
15 # DESCRIPTION
16 # ===========
17 #
18 # Daje::Database::View::Super::VToolsVersion is a module that retrieves data from a View
19 #
20 # LICENSE
21 # =======
22 #
23 # Copyright (C) janeskil1525.
24 #
25 # This library is free software; you can redistribute it and/or modify
26 # it under the same terms as Perl itself.
27 #
28 # AUTHOR
29 # ======
30 #
31 # janeskil1525 E<lt>janeskil1525@gmail.comE<gt>
32 #
33  
34 2 has 'fields' => "tools_version_pkey, editnum, insby, insdatetime, modby, moddatetime, tools_projects_fkey, version, locked, name, workflow_fkey";
35 2 has 'primary_keys' => "tools_version_pkey";
36 2 has 'foreign_keys' => "tools_projects_fkey, workflow_fkey";
37 2 has 'view_name' => "v_tools_version_workflow_fkey";
38  
39  
40 0 ▶async sub load_full_list_p($self) {
Subroutine load_full_list_p: not called CC=1 SCAR=6.9
Pod undocumented
41 0 my $result = $self->load_a_full_list(
42 $self->view_name,
43 $self->fields
44 );
45 0 return $result;
46 2 }
47  
48 0 ▶async sub load_full_list($self) {
Subroutine load_full_list: not called CC=1 SCAR=6.9
Pod undocumented
49 0 my $result = $self->load_a_full_list(
50 $self->view_name,
51 $self->fields
52 );
53 0 return $result;
54 2 }
55  
56 0 ▶sub load_pkey($self, $tools_version_pkey) {
Subroutine load_pkey: not called CC=1 SCAR=6.9
Pod documented
57  
58 0 my $result = $self->load_pk(
59 $self->view_name,
60 $self->fields,
61 $self->primary_keys,
62 $tools_version_pkey
63 );
64 0 return $result;
65 }
66  
67 0 ▶sub load_tools_version_fkey($self, $tools_projects_pkey) {
Subroutine load_tools_version_fkey: not called CC=1 SCAR=6.9
Pod documented
68  
69 0 return $self->load_fkey(
70 $self->view_name, $self->fields(), "tools_projects_fkey", $tools_projects_pkey
71 );
72 }
73 2 1;
74 #################### pod generated by Pod::Autopod - keep this line to make pod updates possible ####################
75  
76 =head1 NAME
77  
78  
79 Daje::Database::View::Super::VToolsVersion - It creates perl code
80  
81  
82  
83 =head1 SYNOPSIS
84  
85  
86 use Daje::Database::View::Super::VToolsVersion;
87  
88  
89  
90 =head1 DESCRIPTION
91  
92  
93 Daje::Database::View::Super::VToolsVersion is a module that retrieves data from a View
94  
95  
96  
97 =head1 REQUIRES
98  
99 L<v5.40>
100  
101 L<Mojo::Base>
102  
103  
104 =head1 METHODS
105  
106 =head2 load_pkey($self,
107  
108 load_pkey($self,();
109  
110 =head2 load_tools_version_fkey($self,
111  
112 load_tools_version_fkey($self,();
113  
114  
115 =head1 AUTHOR
116  
117  
118 janeskil1525 E<lt>janeskil1525@gmail.comE<gt>
119  
120  
121  
122 =head1 LICENSE
123  
124  
125 Copyright (C) janeskil1525.
126  
127 This library is free software; you can redistribute it and/or modify
128 it under the same terms as Perl itself.
129  
130  
131  
132 =cut
133  
« Database/Model/Super/ToolsObjectsTables.pm ↑ Summary Database/Model/ToolsObjects.pm »