<commit_before>// Karma configuration
// Generated on Fri May 23 2016 17:23:01 GMT+0600 (+06)

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

    config.set({

        // base path that will be used to resolve all patterns (eg. files, exclude)
        basePath: './',


        // frameworks to use
        // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
        frameworks: ['mocha', 'requirejs'],


        // list of files / patterns to load in the browser
        files: [
            'test/spec/test.js',
            {pattern: 'app/**/*.js', included: false, served: true},
            {pattern: 'app/scripts/modules/modules.json', included: false, served: true},
            {pattern: 'app/locales/**/*.json', included: false, served: true},
            {pattern: 'test/spec/**/*.js', included: false, served: true},
            {pattern: 'test/bower_components/**/*.js', included: false, served: true}
        ],


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


        // preprocess matching files before serving them to the browser
        // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
        preprocessors: {
            'app/scripts/**/*.js': ['coverage']
        },

        coverageReporter: {
            type : 'lcov',
            dir  : 'coverage/'
        },


        // test results reporter to use
        // possible values: 'dots', 'progress'
        // available reporters: https://npmjs.org/browse/keyword/karma-reporter
        reporters: ['progress', 'coverage'],


        // web server port<commit_msg>Place Karma coverage reports in coverage folder<commit_after>// Karma configuration
// Generated on Fri May 23 2016 17:23:01 GMT+0600 (+06)

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

    config.set({

        // base path that will be used to resolve all patterns (eg. files, exclude)
        basePath: './',


        // frameworks to use
        // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
        frameworks: ['mocha', 'requirejs'],


        // list of files / patterns to load in the browser
        files: [
            'test/spec/test.js',
            {pattern: 'app/**/*.js', included: false, served: true},
            {pattern: 'app/scripts/modules/modules.json', included: false, served: true},
            {pattern: 'app/locales/**/*.json', included: false, served: true},
            {pattern: 'test/spec/**/*.js', included: false, served: true},
            {pattern: 'test/bower_components/**/*.js', included: false, served: true}
        ],


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


        // preprocess matching files before serving them to the browser
        // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
        preprocessors: {
            'app/scripts/**/*.js': ['coverage']
        },

        coverageReporter: {
            reporters: [
                {type: 'lcov', dir: 'coverage/', subdir: '.'},
            ]
        },


        // test results reporter to use
        // possible values: 'dots', 'progress'
        // available reporters: https://npmjs.org/browse/keyword/karma-reporter
        reporters: ['progress', 'coverage'],


        // web server port
{'fraction_non_alphanumeric': 0.14333132166566084, 'fraction_numerical': 0.010863005431502716, 'mean_word_length': 2.0027173913043477, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '7607656', 'n_tokens_mistral': 972, 'n_tokens_neox': 889, 'n_words': 257}