AlexRogalskiy/java-patterns

View on GitHub
packages/schema-diff/docs/js/tree.js

Summary

Maintainability
A
1 hr
Test Coverage

Avoid deeply nested control flow statements.
Open

                            if (COMPONENTS[j].name === newNodes[i].name) {
                                document.location.href = currentLocation.origin + currentLocation.pathname.replace(ACTUAL_COMPONENT.name, newNodes[i].name);
                            }
Severity: Major
Found in packages/schema-diff/docs/js/tree.js - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                        for(attr in value.attributes) {
                            if (DIRECTIVES[i].selector.indexOf(attr) !== -1) {
                                newNode.font = {
                                    multi: 'html'
                                };
    Severity: Major
    Found in packages/schema-diff/docs/js/tree.js - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status