Showing 44 of 179 total issues
File index.js
has 909 lines of code (exceeds 250 allowed). Consider refactoring. Open
'use strict';
// tricks for hinter
var jsbeautyKey = 'js_beautify';
// dependencies
File index copie.js
has 892 lines of code (exceeds 250 allowed). Consider refactoring. Open
'use strict';
// tricks for hinter
var jsbeautyKey = 'js_beautify';
// dependencies
Function constructor
has a Cognitive Complexity of 33 (exceeds 5 allowed). Consider refactoring. Open
constructor : function () {
// Calling the super constructor is important so our generator is correctly set up
generators.Base.apply(this, arguments);
/**
* Current grunt file editor. we dont use yeaoman generator beacuse
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function constructor
has a Cognitive Complexity of 33 (exceeds 5 allowed). Consider refactoring. Open
constructor : function () {
// Calling the super constructor is important so our generator is correctly set up
generators.Base.apply(this, arguments);
/**
* Current grunt file editor. we dont use yeaoman generator beacuse
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function constructor
has 121 lines of code (exceeds 25 allowed). Consider refactoring. Open
constructor : function () {
// Calling the super constructor is important so our generator is correctly set up
generators.Base.apply(this, arguments);
/**
* Current grunt file editor. we dont use yeaoman generator beacuse
Function bowerBasePackage
has 104 lines of code (exceeds 25 allowed). Consider refactoring. Open
bowerBasePackage : function () {
// process node package ?
if (this.cfg.generate.angular) {
// banner message
this.banner('Now tell us some informations about your AngularJS configuration.');
Function bowerBasePackage
has 103 lines of code (exceeds 25 allowed). Consider refactoring. Open
bowerBasePackage : function () {
// process node package ?
if (this.cfg.generate.angular) {
// banner message
this.banner('Now tell us some informations about your AngularJS configuration.');
Function constructor
has 100 lines of code (exceeds 25 allowed). Consider refactoring. Open
constructor : function () {
// Calling the super constructor is important so our generator is correctly set up
generators.Base.apply(this, arguments);
/**
* Current grunt file editor. we dont use yeaoman generator beacuse
File _services.js
has 326 lines of code (exceeds 250 allowed). Consider refactoring. Open
'use strict';
/**
* A Logger utility service
*
Function nodeBasePackage
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
nodeBasePackage : function () {
// process node package ?
if (this.cfg.generate.node) {
// banner message
this.banner('Now tell us some informations about your NodeJs configuration.');
Function nodeBasePackage
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
nodeBasePackage : function () {
// process node package ?
if (this.cfg.generate.node) {
// banner message
this.banner('Now tell us some informations about your NodeJs configuration.');
Function generateGruntFile
has 88 lines of code (exceeds 25 allowed). Consider refactoring. Open
generateGruntFile : function () {
// create async process
var done = this.async();
// default config array
var list = {};
Function generateGruntFile
has 88 lines of code (exceeds 25 allowed). Consider refactoring. Open
generateGruntFile : function () {
// create async process
var done = this.async();
// default config array
var list = {};
Function packages
has a Cognitive Complexity of 22 (exceeds 5 allowed). Consider refactoring. Open
packages : function () {
// banner message
this.banner('We will install needed packages');
// process install for each type
_.each([ 'node', 'angular'], function (type) {
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function packages
has a Cognitive Complexity of 22 (exceeds 5 allowed). Consider refactoring. Open
packages : function () {
// banner message
this.banner('We will install needed packages');
// process install for each type
_.each([ 'node', 'angular'], function (type) {
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function nodeBasePackage
has a Cognitive Complexity of 21 (exceeds 5 allowed). Consider refactoring. Open
nodeBasePackage : function () {
// process node package ?
if (this.cfg.generate.node) {
// banner message
this.banner('Now tell us some informations about your NodeJs configuration.');
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function nodeBasePackage
has a Cognitive Complexity of 21 (exceeds 5 allowed). Consider refactoring. Open
nodeBasePackage : function () {
// process node package ?
if (this.cfg.generate.node) {
// banner message
this.banner('Now tell us some informations about your NodeJs configuration.');
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function bowerBasePackage
has a Cognitive Complexity of 21 (exceeds 5 allowed). Consider refactoring. Open
bowerBasePackage : function () {
// process node package ?
if (this.cfg.generate.angular) {
// banner message
this.banner('Now tell us some informations about your AngularJS configuration.');
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function bowerBasePackage
has a Cognitive Complexity of 21 (exceeds 5 allowed). Consider refactoring. Open
bowerBasePackage : function () {
// process node package ?
if (this.cfg.generate.angular) {
// banner message
this.banner('Now tell us some informations about your AngularJS configuration.');
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function generateTemplates
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
generateTemplates : function () {
// create async process
var done = this.async();
// to execute