<commit_before>// Karma configuration
// http://karma-runner.github.io/0.12/config/configuration-file.html
// Generated on 2015-01-06 using
// generator-karma 0.8.3

module.exports = function (config) {
    'use strict';

    config.set({
        // enable / disable watching file and executing tests whenever any file changes
        autoWatch: false,

        // 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: [
            'bower_components/angular/angular.min.js',
            'bower_components/angular-mocks/angular-mocks.js',
            'src/**/*.js',
            'tests/**/*.js'
        ],

        // list of files / patterns to exclude
        exclude: [],

        // web server port
        port: 8080,

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

        // Which plugins to enable
        plugins: [
          'karma-phantomjs-launcher',
          'karma-jasmine',
          'karma-junit-reporter',
          'karma-story-reporter',
          'karma-coverage'
        ],

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

        colors: true,

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

        reporters: ['coverage', 'junit', 'story'],

        preprocessors: {
            'js/*.js': ['coverage']
        },

        junitReporter: {
            outputDir: 'test-reports/',
            outputFile: 'karma-results.xml',
            useBrowserName: false
        },

        coverageReporter:
            instrumenterOptions: {
                istanbul: { noCompact: true }
            },
            reporters: [
                { type: 'clover', dir: 'test-reports/', subdir: '.', file: 'clover.xml' },
                { type: 'cobertura', dir: 'test-reports/', subdir: '.', file: 'cobertura.xml' },
                { type: 'html', dir: 'test-reports/', subdir: '.' },
                { type: 'text' },
                { type: 'text-summary' },
                { type: 'lcovonly', dir: 'tests/test-reports/', subdir: '.',  file: 'lcov.info'}
            ]
        }

    });
};
<commit_msg>fixing issue with karma config<commit_after>// Karma configuration
// http://karma-runner.github.io/0.12/config/configuration-file.html
// Generated on 2015-01-06 using
// generator-karma 0.8.3

module.exports = function (config) {
    'use strict';

    config.set({
        // enable / disable watching file and executing tests whenever any file changes
        autoWatch: false,

        // 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: [
            'bower_components/angular/angular.min.js',
            'bower_components/angular-mocks/angular-mocks.js',
            'src/**/*.js',
            'tests/**/*.js'
        ],

        // list of files / patterns to exclude
        exclude: [],

        // web server port
        port: 8080,

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

        // Which plugins to enable
        plugins: [
          'karma-phantomjs-launcher',
          'karma-jasmine',
          'karma-junit-reporter',
          'karma-story-reporter',
          'karma-coverage'
        ],

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

        colors: true,

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

        reporters: ['coverage', 'junit', 'story'],

        preprocessors: {
            'js/*.js': ['coverage']
        },

        junitReporter: {
            outputDir: 'test-reports/',
            outputFile: 'karma-results.xml',
            useBrowserName: false
        },

        coverageReporter: {
            instrumenterOptions: {
                istanbul: { noCompact: true }
            },
            reporters: [
                { type: 'clover', dir: 'test-reports/', subdir: '.', file: 'clover.xml' },
                { type: 'cobertura', dir: 'test-reports/', subdir: '.', file: 'cobertura.xml' },
                { type: 'html', dir: 'test-reports/', subdir: '.' },
                { type: 'text' },
                { type: 'text-summary' },
                { type: 'lcovonly', dir: 'tests/test-reports/', subdir: '.',  file: 'lcov.info'}
            ]
        }

    });
};

{'fraction_non_alphanumeric': 0.13815913815913816, 'fraction_numerical': 0.006804006804006804, 'mean_word_length': 1.515209125475285, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '5343900', 'n_tokens_mistral': 1584, 'n_tokens_neox': 1481, 'n_words': 364}