You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 26, 2021. It is now read-only.
gulp-sloc reports this:
lines of source code : 16045
total comment : 2533
singleline : 1044
multiline : 1489
empty : 2585
number of files read : 65
strict mode
gulp-coverage reports this:
"sloc": 3587,
"ssoc": 6711,
"sboc": 1251,
"coverage": 37.97044884304432,
"statements": 35.2853524064968,
"blocks": 27.018385291766588,
And lists only 35 files
Why are files missing ?
FYI:
Notice that the source lists are the same
// ==========================
gulp.task('linesOfCode', function(){
gulp.src(['./../Server/source//.js'])
.pipe(sloc());
});
// ==========================
gulp.task('nodeuniter', ['clean_uniter'], function () {
var stream = gulp.src(['./testing/.js'], {read: false})
.pipe(cover.instrument({
pattern: ['./../Server/source//*.js'],
debugDirectory: './.debug'
}))
.pipe(nodeunit({
reporter: 'junit',
reporterOptions: {
output: './.unitReport'
}
}))
.pipe(cover.gather())
.pipe(cover.format([{reporter: 'html'}, {reporter: 'json'}]))
.pipe(gulp.dest('./.covReport'));
return stream;
});
// ==========================