src/model/helpers/attibutes.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function createPropertyDefinitionsForAttributes has 53 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function createPropertyDefinitionsForAttributes(
    attributeProperties,
    getAttributeValues,
    setAttributeValues,
    setDirty
Severity: Major
Found in src/model/helpers/attibutes.js - About 2 hrs to fix

    Function set has 28 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

                    set(value) {
                        const attributeValue = getAttributeValues()
                            .filter((av) => av.attribute.name === attributeName)
                            .reduce((current, av) => av, undefined)
    
    
    Severity: Minor
    Found in src/model/helpers/attibutes.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status