<commit_before>#!/usr/bin/perl -w
use strict;

=head1 LICENSE

   Bweb - A Bacula web interface
   Bacula® - The Network Backup Solution

   Copyright (C) 2000-2010 Free Software Foundation Europe e.V.

   The main author of Bweb is <NAME>.
   The main author of Bacula is <NAME>, with contributions from
   many others, a complete list can be found in the file AUTHORS.

   This program is Free Software; you can redistribute it and/or
   modify it under the terms of version two of the GNU General Public
   License as published by the Free Software Foundation plus additions
   that are listed in the file LICENSE.

   This program is distributed in the hope that it will be useful, but
   WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
   General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
   02110-1301, USA.

   Bacula® is a registered trademark of <NAME>.
   The licensor of Bacula is the Free Software Foundation Europe
   (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zurich,
   Switzerland, email:<EMAIL>.

=head1 USAGE

    - You need to be in a X session
    - Install Selenium IDE addon from http://seleniumhq.org/
    - Install through CPAN WWW::Selenium
      $ perl -e 'install WWW::Selenium' -MCPAN 
    - Download Selenium RC (remote control) from  http://seleniumhq.org/
    - unzip the archive, and start the Selenium server (require java >= 1.5)
      $ java -jar selenium-server.jar
    - Load bweb sql file
    - run backup-bacula-test
    - uncomment schedule
    - Start the test
      $ ./tests/bweb-test.pl

=cut

use warnings;
use Time::HiRes qw(sleep);
use Test::WWW::Selenium;
use Test::More "no_plan";
use Test::Exception;
use Getopt::Long;
use scripts::functions;
use File::Copy qw/copy move/;
<commit_msg>regress: cleanup<commit_after>#!/usr/bin/perl -w
use strict;

=head1 LICENSE

   Bweb - A Bacula web interface
   Bacula® - The Network Backup Solution

   Copyright (C) 2000-2010 Free Software Foundation Europe e.V.

   The main author of Bweb is <NAME>.
   The main author of Bacula is <NAME>, with contributions from
   many others, a complete list can be found in the file AUTHORS.

   This program is Free Software; you can redistribute it and/or
   modify it under the terms of version two of the GNU General Public
   License as published by the Free Software Foundation plus additions
   that are listed in the file LICENSE.

   This program is distributed in the hope that it will be useful, but
   WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
   General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
   02110-1301, USA.

   Bacula® is a registered trademark of <NAME>.
   The licensor of Bacula is the Free Software Foundation Europe
   (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zurich,
   Switzerland, email:<EMAIL>.

=head1 USAGE

    - You need to be in a X session
    - Install Selenium IDE addon from http://seleniumhq.org/
    - Install through CPAN WWW::Selenium
      $ perl -e 'install WWW::Selenium' -MCPAN 
    - Download Selenium RC (remote control) from  http://seleniumhq.org/
    - unzip the archive, and start the Selenium server (require java >= 1.5)
      $ java -jar selenium-server.jar
    - Load bweb sql file
    - run backup-bacula-test
    - Start the test
      $ ./tests/bweb-test.pl

=cut

use warnings;
use Time::HiRes qw(sleep);
use Test::WWW::Selenium;
use Test::More "no_plan";
use Test::Exception;
use Getopt::Long;
use scripts::functions;
use File::Copy qw/copy move/;

{'fraction_non_alphanumeric': 0.07, 'fraction_numerical': 0.0145, 'mean_word_length': 3.2745726495726495, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5907851', 'n_tokens_mistral': 1228, 'n_tokens_neox': 1141, 'n_words': 539}