<commit_before># --
# Copyright (C) 2001-2016 OTRS AG, http://otrs.com/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --

## no critic (Modules::RequireExplicitPackage)
use strict;
use warnings;
use utf8;

use vars (qw($Self));
use File::Path qw(mkpath rmtree);

use Devel::Peek;

use Kernel::System::Crypt::SMIME;
use Kernel::System::DB;
use Kernel::System::CustomerUser;
use Kernel::System::Console::Command::Maint::SMIME::FetchFromCustomer;

# get needed objects
my $ConfigObject = $Kernel::OM->Get('Kernel::Config');
my $MainObject   = $Kernel::OM->Get('Kernel::System::Main');

$ConfigObject->Set(
    Key   => 'CheckEmailAddresses',
    Value => 0,
);

# copy all
# discard main + config

my $DBObject = $Kernel::OM->Get('Kernel::System::DB');

my $HomeDir = $ConfigObject->Get('Home');

# create directory for certificates and private keys<commit_msg>Code cleanup.<commit_after># --
# Copyright (C) 2001-2016 OTRS AG, http://otrs.com/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --

## no critic (Modules::RequireExplicitPackage)
use strict;
use warnings;
use utf8;

use vars (qw($Self));
use File::Path qw(mkpath rmtree);

my $ConfigObject = $Kernel::OM->Get('Kernel::Config');
my $MainObject   = $Kernel::OM->Get('Kernel::System::Main');

$ConfigObject->Set(
    Key   => 'CheckEmailAddresses',
    Value => 0,
);

# copy all
# discard main + config

my $DBObject = $Kernel::OM->Get('Kernel::System::DB');

my $HomeDir = $ConfigObject->Get('Home');

# create directory for certificates and private keys
{'fraction_non_alphanumeric': 0.16404981050351922, 'fraction_numerical': 0.010828370330265295, 'mean_word_length': 4.980582524271845, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2350744', 'n_tokens_mistral': 627, 'n_tokens_neox': 600, 'n_words': 171}