Database/View/Super/VToolsObjects.pm

filter: Statementstmt 64.7% 11 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 2 / 4 Podpod 50.0% 1 / 2 totaltotal 60.8% 14 / 23 CC 1 SCAR 4.1
CC
1
Cov
65%
load_full_list_p
2.0
load_tools_objects_fkey
2.0
BEGIN
1.0
CRAP 1.5
« Database/Model/Super/ToolsObjectTypes.pm ↑ Summary Database/Model/Super/ToolsObjectsTablesDatatypes.pm »
1 package Daje::Database::View::Super::VToolsObjects;
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::VToolsObjects - It creates perl code
9 #
10 # SYNOPSIS
11 # ========
12 #
13 # use Daje::Database::View::Super::VToolsObjects;
14 #
15 # DESCRIPTION
16 # ===========
17 #
18 # Daje::Database::View::Super::VToolsObjects 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_objects_pkey, editnum, insby, insdatetime, modby, moddatetime, tools_version_fkey, name, tools_object_types_fkey, tools_projects_fkey, workflow_fkey";
35 2 has 'primary_keys' => "tools_objects_pkey";
36 2 has 'foreign_keys' => "tools_version_fkey, workflow_fkey, tools_projects_fkey";
37 2 has 'view_name' => "v_tools_objects_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 ▶sub load_tools_objects_fkey($self, $foreign_key_name, $foreign_key) {
Subroutine load_tools_objects_fkey: not called CC=1 SCAR=6.9
Pod documented
49  
50 0 say "$foreign_key_name == $foreign_key";
51 0 return $self->load_fkey(
52 $self->view_name, $self->fields(), $foreign_key_name, $foreign_key
53 );
54 }
55  
56 2 1;
57 #################### pod generated by Pod::Autopod - keep this line to make pod updates possible ####################
58  
59 =head1 NAME
60  
61  
62 Daje::Database::View::Super::VToolsObjects - It creates perl code
63  
64  
65  
66 =head1 SYNOPSIS
67  
68  
69 use Daje::Database::View::Super::VToolsObjects;
70  
71  
72  
73 =head1 DESCRIPTION
74  
75  
76 Daje::Database::View::Super::VToolsObjects is a module that retrieves data from a View
77  
78  
79  
80 =head1 REQUIRES
81  
82 L<v5.40>
83  
84 L<Mojo::Base>
85  
86  
87 =head1 METHODS
88  
89 =head2 load_tools_objects_fkey($self,
90  
91 load_tools_objects_fkey($self,();
92  
93  
94 =head1 AUTHOR
95  
96  
97 janeskil1525 E<lt>janeskil1525@gmail.comE<gt>
98  
99  
100  
101 =head1 LICENSE
102  
103  
104 Copyright (C) janeskil1525.
105  
106 This library is free software; you can redistribute it and/or modify
107 it under the same terms as Perl itself.
108  
109  
110  
111 =cut
112  
« Database/Model/Super/ToolsObjectTypes.pm ↑ Summary Database/Model/Super/ToolsObjectsTablesDatatypes.pm »