atsid/circuits-js

View on GitHub
js/ZypSMDReader.js

Summary

Maintainability
C
1 day
Test Coverage

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

            constructor: function (schema, refResolver) {

                logger.debug("Creating reader for schema", schema);

                if (!refResolver) {
Severity: Major
Found in js/ZypSMDReader.js - About 4 hrs to fix

    File ZypSMDReader.js has 308 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    "use strict";
    /**
     * Parses an SMD and provides methods to read information from it for working with RESTful services.
     * Uses the format defined by Kris Zyp and utilized by Dojo for RPC stores
     */
    Severity: Minor
    Found in js/ZypSMDReader.js - About 3 hrs to fix

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

                  function resolveProperties(schema) {
      
                      logger.debug("Resolving sub-properties for " + schema.id);
      
                      // resolve inherited global parameters
      Severity: Minor
      Found in js/ZypSMDReader.js - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status