frisb/fdboost

View on GitHub
lib/enhance/encoding/typecodes.js

Summary

Maintainability
A
2 hrs
Test Coverage

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

    'get': function(value) {
      switch (typeof value) {
        case 'undefined':
          return this.undefined;
        case 'string':
Severity: Minor
Found in lib/enhance/encoding/typecodes.js - About 1 hr to fix

    Avoid too many return statements within this function.
    Open

                return this.array;
    Severity: Major
    Found in lib/enhance/encoding/typecodes.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                  return this.object;
      Severity: Major
      Found in lib/enhance/encoding/typecodes.js - About 30 mins to fix

        There are no issues that match your filters.

        Category
        Status