<commit_before>// Karma configuration
// http://karma-runner.github.io/0.10/config/configuration-file.html

module.exports = function (config) {
    var configuration = {
        // base path, that will be used to resolve files and exclude
        basePath: '../../',

        // testing framework to use (jasmine/mocha/qunit/...)
        frameworks: ['jasmine'],

        // list of files / patterns to load in the browser
        files: [
            'test/libs/jquery/2.1.0/jquery-2.1.0.min.js',
            'test/libs/dash/2.0.0/dash.all.min.js',
            'node_modules/angular/angular.js',
            'node_modules/angular-sanitize/angular-sanitize.js',
            'node_modules/angular-mocks/angular-mocks.js',
            'node_modules/angulartics/src/angulartics.js',
            'node_modules/angulartics/src/angulartics-ga.js',

            'app/scripts/com/2fdevs/videogular/vg-module.js',
            'app/scripts/com/2fdevs/videogular/**/*.js',
            'app/scripts/com/2fdevs/videogular/**/*.html',
            'test/spec/**/*.js'
        ],

        // web server port
        port: 8080,

        // level of logging
        // possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
        logLevel: config.LOG_INFO,

        // enable / disable watching file and executing tests whenever any file changes
        autoWatch: true,


        // Start these browsers, currently available:
        // - Chrome
        // - ChromeCanary
        // - Firefox
        // - Opera
        // - Safari (only Mac)
        // - PhantomJS
        // - IE (only Windows)
        browsers: ['Chrome', 'Firefox'],

        plugins: [
            'karma-jasmine',
            'karma-junit-reporter',
            'karma-coverage',
            'karma-chrome-launcher',
            'karma-firefox-launcher',
            'karma-script-launcher',
            'karma-ng-html2js-preprocessor'
        ],

        "junitReporter": {
            outputFile: 'build/unit.xml',
            suite: 'unit'
        },

        // optionally, configure the reporter
        coverageReporter: {
            reporters: [
                {
                    type: 'cobertura',
                    dir: 'coverage/',
                    file: 'coverage.xml'
                },
                {
                    type: 'html',
                    dir: 'coverage/'
                }
            ]
        },

        // coverage reporter generates the coverage
        reporters: [/*'progress', */'dots', 'coverage'],

        preprocessors: {
            // source files, that you wanna generate coverage for
            // do not include tests or libraries
            // (these files will be instrumented by Istanbul)
            'app/scripts/com/2fdevs/videogular/**/!(vg-ima-ads)/*.js': ['coverage']
        },

        // Continuous Integration mode
        // if true, it capture browsers, run tests and exit
        singleRun: false
    };

    if (process.env.TRAVIS) {
        configuration.browsers = ['Chrome_travis_ci'];
        configuration.reporters = ['spec', 'coverage'];
    }

    config.set(configuration);
};<commit_msg>Add single run on travis<commit_after>// Karma configuration
// http://karma-runner.github.io/0.10/config/configuration-file.html

module.exports = function (config) {
    var configuration = {
        // base path, that will be used to resolve files and exclude
        basePath: '../../',

        // testing framework to use (jasmine/mocha/qunit/...)
        frameworks: ['jasmine'],

        // list of files / patterns to load in the browser
        files: [
            'test/libs/jquery/2.1.0/jquery-2.1.0.min.js',
            'test/libs/dash/2.0.0/dash.all.min.js',
            'node_modules/angular/angular.js',
            'node_modules/angular-sanitize/angular-sanitize.js',
            'node_modules/angular-mocks/angular-mocks.js',
            'node_modules/angulartics/src/angulartics.js',
            'node_modules/angulartics/src/angulartics-ga.js',

            'app/scripts/com/2fdevs/videogular/vg-module.js',
            'app/scripts/com/2fdevs/videogular/**/*.js',
            'app/scripts/com/2fdevs/videogular/**/*.html',
            'test/spec/**/*.js'
        ],

        // web server port
        port: 8080,

        // level of logging
        // possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
        logLevel: config.LOG_INFO,

        // enable / disable watching file and executing tests whenever any file changes
        autoWatch: true,


        // Start these browsers, currently available:
        // - Chrome
        // - ChromeCanary
        // - Firefox
        // - Opera
        // - Safari (only Mac)
        // - PhantomJS
        // - IE (only Windows)
        browsers: ['Chrome', 'Firefox'],

        plugins: [
            'karma-jasmine',
            'karma-junit-reporter',
            'karma-coverage',
            'karma-chrome-launcher',
            'karma-firefox-launcher',
            'karma-script-launcher',
            'karma-ng-html2js-preprocessor'
        ],

        "junitReporter": {
            outputFile: 'build/unit.xml',
            suite: 'unit'
        },

        // optionally, configure the reporter
        coverageReporter: {
            reporters: [
                {
                    type: 'cobertura',
                    dir: 'coverage/',
                    file: 'coverage.xml'
                },
                {
                    type: 'html',
                    dir: 'coverage/'
                }
            ]
        },

        // coverage reporter generates the coverage
        reporters: [/*'progress', */'dots', 'coverage'],

        preprocessors: {
            // source files, that you wanna generate coverage for
            // do not include tests or libraries
            // (these files will be instrumented by Istanbul)
            'app/scripts/com/2fdevs/videogular/**/!(vg-ima-ads)/*.js': ['coverage']
        },

        // if true, it capture browsers, run tests and exit
        singleRun: false
    };

    // Continuous Integration mode
    if (process.env.TRAVIS) {
        configuration.browsers = ['Chrome_travis_ci'];
        configuration.reporters = ['spec', 'coverage'];
        configuration.singleRun = true;
    }

    config.set(configuration);
};
{'fraction_non_alphanumeric': 0.13024351924587588, 'fraction_numerical': 0.006598586017282011, 'mean_word_length': 1.5271933306867804, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '7522762', 'n_tokens_mistral': 1889, 'n_tokens_neox': 1798, 'n_words': 372}