<commit_before>var coveralls = require('gulp-coveralls'),
    david     = require('gulp-david'),
    eslint    = require('gulp-eslint'),
    gulp      = require('gulp'),
    gutil     = require('gulp-util'),
    istanbul  = require('gulp-istanbul'),
    mocha     = require('gulp-mocha'),
    sequence  = require('gulp-sequence');


// Lint as JS files (including this one)
gulp.task('lint', function () {
    return gulp.src([
        'lib/*.js',
        'test/*.js',
        'gulpfile.js',
        '!node_modules/**'
    ])
    .pipe(eslint())
    .pipe(eslint.format());
});


// Instrument the code
gulp.task('cover', function () {
    return gulp.src(['lib/*.js'])
        .pipe(istanbul())
        .pipe(istanbul.hookRequire());
});


// Run tests and product coverage
gulp.task('test', function () {
    return gulp.src('test/*.js')
        .pipe(mocha({
            require : [ 'should' ]
        }))
        .pipe(istanbul.writeReports())
        .pipe(istanbul.enforceThresholds({
            thresholds : { global : 90 }
        }));
});


// Check deps with David service
gulp.task('deps', function() {
    return gulp.src('package.json')
        .pipe(david({ update: true }))
        .pipe(david.reporter)
        .pipe(gulp.dest('.'));
});


// Watch certain files
gulp.task('watch', function() {<commit_msg>Removing unneeded array literal wrapper<commit_after>var coveralls = require('gulp-coveralls'),
    david     = require('gulp-david'),
    eslint    = require('gulp-eslint'),
    gulp      = require('gulp'),
    gutil     = require('gulp-util'),
    istanbul  = require('gulp-istanbul'),
    mocha     = require('gulp-mocha'),
    sequence  = require('gulp-sequence');


// Lint as JS files (including this one)
gulp.task('lint', function () {
    return gulp.src([
        'lib/*.js',
        'test/*.js',
        'gulpfile.js',
        '!node_modules/**'
    ])
    .pipe(eslint())
    .pipe(eslint.format());
});


// Instrument the code
gulp.task('cover', function () {
    return gulp.src('lib/*.js')
        .pipe(istanbul())
        .pipe(istanbul.hookRequire());
});


// Run tests and product coverage
gulp.task('test', function () {
    return gulp.src('test/*.js')
        .pipe(mocha({
            require : [ 'should' ]
        }))
        .pipe(istanbul.writeReports())
        .pipe(istanbul.enforceThresholds({
            thresholds : { global : 90 }
        }));
});


// Check deps with David service
gulp.task('deps', function() {
    return gulp.src('package.json')
        .pipe(david({ update: true }))
        .pipe(david.reporter)
        .pipe(gulp.dest('.'));
});


// Watch certain files
gulp.task('watch', function() {
{'fraction_non_alphanumeric': 0.18651685393258427, 'fraction_numerical': 0.00149812734082397, 'mean_word_length': 2.385297845373891, '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': '6758771', 'n_tokens_mistral': 900, 'n_tokens_neox': 872, 'n_words': 162}