File Coverage

blib/lib/Rosetta.pm
Criterion Covered Total %
statement 13 15 86.6
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 18 20 90.0


line stmt bran cond sub pod time code
1             #!perl
2 1     1   1161 use 5.008001;
  1         3  
  1         33  
3 1     1   4 use utf8;
  1         2  
  1         7  
4 1     1   59 use strict;
  1         29  
  1         69  
5 1     1   6 use warnings;
  1         3  
  1         49  
6              
7             # External packages used by packages in this file, that don't export symbols:
8 1     1   462 use only 'Locale::KeyedText' => '1.72.0-';
  0            
  0            
9             use only 'Rosetta::Model' => '0.724.0';
10              
11             ###########################################################################
12             ###########################################################################
13              
14             # Constant values used by packages in this file:
15             use only 'Readonly' => '1.03-';
16             # (None Yet)
17              
18             ###########################################################################
19             ###########################################################################
20              
21             { package Rosetta; # package
22             use version; our $VERSION = qv('0.724.0');
23             # Note: This given version applies to all of this file's packages.
24             } # package Rosetta
25              
26             ###########################################################################
27             ###########################################################################
28              
29             { package Rosetta::Interface::DBMS; # class
30              
31             # External packages used by the Rosetta::Interface::DBMS class, that do export symbols:
32             use only 'Class::Std' => '0.0.8-';
33             use only 'Class::Std::Utils' => '0.0.2-';
34              
35             # Attributes of every Rosetta::Interface::DBMS object:
36             # (None Yet)
37              
38             ###########################################################################
39              
40             sub BUILD {
41             my ($self, $ident, $arg_ref) = @_;
42             my $engine_name = $arg_ref->{'engine_name'};
43              
44             # This is a quick hack that just tests if the Engine module loads or not.
45             # It WILL be replaced.
46             eval "require $engine_name;";
47             die $@
48             if $@;
49              
50             return;
51             }
52              
53             ###########################################################################
54              
55             } # class Rosetta::Interface::DBMS
56              
57             ###########################################################################
58             ###########################################################################
59              
60             { package Rosetta::Interface::Exception; # class
61              
62             # External packages used by the Rosetta::Interface::Exception class, that do export symbols:
63             use only 'Class::Std' => '0.0.8-';
64             use only 'Class::Std::Utils' => '0.0.2-';
65              
66             # Attributes of every Rosetta::Interface::Exception object:
67             # (None Yet)
68              
69             ###########################################################################
70              
71              
72              
73             ###########################################################################
74              
75             } # class Rosetta::Interface::Exception
76              
77             ###########################################################################
78             ###########################################################################
79              
80             { package Rosetta::Interface::Command; # class
81              
82             # External packages used by the Rosetta::Interface::Command class, that do export symbols:
83             use only 'Class::Std' => '0.0.8-';
84             use only 'Class::Std::Utils' => '0.0.2-';
85              
86             # Attributes of every Rosetta::Interface::Command object:
87             # (None Yet)
88              
89             ###########################################################################
90              
91              
92              
93             ###########################################################################
94              
95             } # class Rosetta::Interface::Command
96              
97             ###########################################################################
98             ###########################################################################
99              
100             { package Rosetta::Interface::Value; # class
101              
102             # External packages used by the Rosetta::Interface::Value class, that do export symbols:
103             use only 'Class::Std' => '0.0.8-';
104             use only 'Class::Std::Utils' => '0.0.2-';
105              
106             # Attributes of every Rosetta::Interface::Value object:
107             # (None Yet)
108              
109             ###########################################################################
110              
111              
112              
113             ###########################################################################
114              
115             } # class Rosetta::Interface::Value
116              
117             ###########################################################################
118             ###########################################################################
119              
120             { package Rosetta::Interface::Variable; # class
121              
122             # External packages used by the Rosetta::Interface::Variable class, that do export symbols:
123             use only 'Class::Std' => '0.0.8-';
124             use only 'Class::Std::Utils' => '0.0.2-';
125              
126             # Attributes of every Rosetta::Interface::Variable object:
127             # (None Yet)
128              
129             ###########################################################################
130              
131              
132              
133             ###########################################################################
134              
135             } # class Rosetta::Interface::Variable
136              
137             ###########################################################################
138             ###########################################################################
139              
140             1; # Magic true value required at end of a reuseable file's code.
141             __END__