grunt-jscpd-reporter
v0.2.0
Published
Grunt JSCPD Reporter
Downloads
15
Readme
Grunt JSCPD Reporter
=======================
What is it?
This grunt task extension is able to create different report output formats based on JavaScript Copy- Past- Detector reports. JSCPD Reporter just creates readable output formats. Use https://github.com/mazerte/grunt-jscpd to detect Copy- Past- errors.
Hint: Currently only HTML-Output is supported.
Screenshot
Demo
Take a look at the Demo
Requirement dependency
By using grunt-jscpd this extension will create an readable HTML file which is based on grunt-jscpd xml-output.
Build for jscpd & grunt-jscpd 0.0.11
Grunt task https://github.com/mazerte/grunt-jscpd is required.
Install
npm install grunt-jscpd-reporter
Configuration
Gruntfile
// Gruntfile.js
grunt.loadNpmTasks('grunt-jscpd-reporter');
Configure sourceFile and outputDir in grunt.initConfig();
jscpdreporter: {
options: {
sourcefile: '<grunt-jscpd>/output.xml',
outputDir: 'report/'
}
}
Release log
0.2.0
- Renamed grunt configuration index into
jscpdReporter
. - Added "no duplicates found - message" https://github.com/linslin/grunt-jscpd-reporter/issues/2.
- Tuned layout and UI.
- Fixed https://github.com/linslin/grunt-jscpd-reporter/issues/3.
0.1.5 & 0.1.4 Stable release
- Fixed issue #1 - https://github.com/linslin/grunt-jscpd-reporter/issues/1
0.1.3 alpha release
- Added demo link and screenshots.