betajs/betajs-debug

View on GitHub
src/debug/instances.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function monitorInstances has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        monitorInstances: function (baseClass, filter) {
            var instances = {};
            var logchange = function (cls, delta, cid) {
                var current = cls;
                while (current) {
Severity: Minor
Found in src/debug/instances.js - About 1 hr to fix

    Function constructorHook has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

                var constructorHook = Hooks.hookMethod("constructor", baseClass.prototype, undefined, function (method, ctx, args, result, exc, instance) {
    Severity: Minor
    Found in src/debug/instances.js - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status