atlassian/localstack

View on GitHub
localstack/dashboard/web/js/joint.defs.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function applyExtras has 91 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    joint.applyExtras = function(graph, paper, params) {
        if(!params) params = {};

        /* returnestrict children to parent's bounding box*/
        graph.on('change:position', function(cell, newPosition, opt) {
Severity: Major
Found in localstack/dashboard/web/js/joint.defs.js - About 3 hrs to fix

    Function getPortAttrs has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            getPortAttrs: function(portName, index, total, selector, type) {
    Severity: Minor
    Found in localstack/dashboard/web/js/joint.defs.js - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status