Showing 4 of 19 total issues
Function createApiFile
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Generator.prototype.createApiFile = function (theTemplate, jsonModel, jsonApiDoc, destFile) {
var commentFile = '';
// Retrieve each methods on jsonApiDoc for generate an bloc with all necessary values
Function startProcess
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Generator.prototype.startProcess = function (src, docs, destFile, done, grunt) {
// Save grunt instance
this.grunt = grunt;
Function exports
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
Function startProcess
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
Generator.prototype.startProcess = function (src, docs, destFile, done, grunt) {