blib/lib/OTRS/OPM/Installer/Utils/OTRS/OTRS3.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 1 | 2 | 50.0 |
line | true | false | branch |
---|---|---|---|
20 | 0 | 1 | unless eval { do { require Kernel::Config; require Kernel::System::Main; require Kernel::System::Encode; require Kernel::System::Log; require Kernel::System::DB; require Kernel::System::Time; require Kernel::System::Package; my(%objects) = ('ConfigObject', 'Kernel::Config'->new); foreach my $module ('Main', 'Encode', 'Log', 'DB', 'Time', 'Package') { my $class = 'Kernel::System::' . $module; $objects{$module . 'Object'} = $class->new(%objects); }; $manager = $objects{'PackageObject'} } } |