Skip to content

linslin/grunt-jscpd-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grunt JSCPD Reporter

=======================

NPM

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

Screenshot-1

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

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" #2.
  • Tuned layout and UI.
  • Fixed #3.

0.1.5 & 0.1.4 Stable release

  • Fixed issue #1 - #1

0.1.3 alpha release

  • Added demo link and screenshots.

0.1.2 alpha release

About

📃 Reporter tool to create different output formats for reports jscpd.

Resources

Stars

Watchers

Forks

Packages

No packages published