arrowjs/ArrowjsCore

View on GitHub
manager/handleAttribute/route.js

Summary

Maintainability
A
1 hr
Test Coverage

Function routeAttribute has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function routeAttribute(setting, fatherPath, component, application) {
    let files = getListFile(setting, fatherPath, application);
    if (files.type === "single") {
        Object.keys(files).map(function (key) {
            if (key !== "type") {
Severity: Minor
Found in manager/handleAttribute/route.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status