neyric/wireit

View on GitHub
src/wireit-app/js/editor-view.js

Summary

Maintainability
A
2 hrs
Test Coverage

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

   saveWiring: function (e) {
      var o = {
         name: Y.one('#wiring-name').get('value') || 'Unnamed'
      };
      
Severity: Minor
Found in src/wireit-app/js/editor-view.js - About 1 hr to fix

    Function setWiring has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

       setWiring: function (wiring) {
          
          var that = this,
              layer = this.layer;
    
    
    Severity: Minor
    Found in src/wireit-app/js/editor-view.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status