src/generator/court.js
Function __convertFoldersToSystems
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
__convertFoldersToSystems() {
let systems = {};
let not_version = [];
_.forEach(this.__folder_evidences_suggestion, function(folder_evidence_suggestion) {
File court.js
has 264 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import { _, log, fsAsync } from 'azk';
import { async, mapPromises } from 'azk/utils/promises';
import { UIProxy } from 'azk/cli/ui';
import { SugestionChooser } from 'azk/generator/sugestion_chooser';
Function _investigate
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_investigate(dir) {
return async(this, function* () {
var evidences = [],
filesToSearch = [],
relevantFiles = [],
Function _veredict
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_veredict() {
_.forEach(this.__folder_evidences_suggestion, function(folder_evidence_suggestion) {
var systemName = '';
var folderName = folder_evidence_suggestion.path;
var evidences_suggestion = folder_evidence_suggestion.suggestions;