<commit_before>#!/usr/bin/env node

require('./src/Turbulence');
require('./src/Executors/LocalExecutor');
require('./src/Reporters/JadeHtmlReportGenerator');
require('./src/Http/UnirestHttpClient');
require('./src/Reporters/__test__/StubFs');

var fs = require('fs');

var argh = require('argh');

var args = argh.argv;


var file = fs.readFileSync(args.argv.pop());

console.log(eval(
    "var T = new require('" + __dirname + "/src/Turbulence').Turbulence;" +
    "var E = require('" + __dirname + "/src/Executors/LocalExecutor');" +
    "var R = require('" + __dirname + "/src/Reporters/JadeHtmlReportGenerator');" +
    "var H = require('" + __dirname + "/src/Http/UnirestHttpClient');" +
    "var F = require('" + __dirname + "/src/Reporters/__test__/StubFs');" +
    "var turbulence = new T(new H.UnirestHttpClient(), new E.LocalExecutor(), new R.JadeHtmlReportGenerator(new F.StubFs()));" +
    file)
    .report()
    .then(function (data) {
        console.log(data);
    }).catch(function (err) {
        console.error(err);
    }));<commit_msg>Removing unnecessary log statements.<commit_after>#!/usr/bin/env node

require('./src/Turbulence');
require('./src/Executors/LocalExecutor');
require('./src/Reporters/JadeHtmlReportGenerator');
require('./src/Http/UnirestHttpClient');
require('./src/Reporters/__test__/StubFs');

var fs = require('fs');

var argh = require('argh');

var args = argh.argv;


var file = fs.readFileSync(args.argv.pop());

eval(
    "var T = new require('" + __dirname + "/src/Turbulence').Turbulence;" +
    "var E = require('" + __dirname + "/src/Executors/LocalExecutor');" +
    "var R = require('" + __dirname + "/src/Reporters/JadeHtmlReportGenerator');" +
    "var H = require('" + __dirname + "/src/Http/UnirestHttpClient');" +
    "var F = require('" + __dirname + "/src/Reporters/__test__/StubFs');" +
    "var turbulence = new T(new H.UnirestHttpClient(), new E.LocalExecutor(), new R.JadeHtmlReportGenerator(new F.StubFs()));" +
    file)
    .report()
    .then(function () {
    }).catch(function (err) {
    console.error(err);
});
{'fraction_non_alphanumeric': 0.1987518002880461, 'fraction_numerical': 0.0, 'mean_word_length': 4.082926829268293, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '3237301', 'n_tokens_mistral': 718, 'n_tokens_neox': 704, 'n_words': 129}