FreeAllMedia/mrt

View on GitHub
es6/lib/component/propertyCollection.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function constructor has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    constructor(parentLink, propertyNames) {
        const _ = privateData(this);
        _.parentLink = parentLink;
        _.propertyNames = propertyNames;

Severity: Minor
Found in es6/lib/component/propertyCollection.js - About 1 hr to fix

    Function propertyName has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

                _.parentLink[propertyName] = (...newValue) => {
                    if (newValue.length > 0) {
                        if (!_.multi) {
                            newValue = newValue[0];
                        }
    Severity: Minor
    Found in es6/lib/component/propertyCollection.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status