AlexRogalskiy/java-patterns

View on GitHub

Showing 70 of 70 total issues

Avoid deeply nested control flow statements.
Open

                        if (typeof obj[property][i] === 'string') {
                            obj[property].splice(i, 1);
                        }
Severity: Major
Found in packages/schema-diff/docs/js/routes.js - About 45 mins to fix

    Avoid deeply nested control flow statements.
    Open

                            if (toggler) {
                                toggler.click();
                            }
    Severity: Major
    Found in packages/github-client/docs/js/menu.js - About 45 mins to fix

      Avoid deeply nested control flow statements.
      Open

                              if (parentUl) {
                                  parentChapterMenu = parentUl.parentNode;
                                  if (parentChapterMenu) {
                                      var toggler = parentChapterMenu.querySelector('.menu-toggler'),
                                          elementIconChild =
      Severity: Major
      Found in packages/contributors-view/docs/js/menu.js - About 45 mins to fix

        Avoid deeply nested control flow statements.
        Open

                                if (linkContextId === 'additional') {
                                    var mainToggler = activeMenu.querySelector(
                                        '.chapter.' + linkContextId + ' div.menu-toggler'
                                    );
                                    if (mainToggler) {
        Severity: Major
        Found in packages/contributors-view/docs/js/menu.js - About 45 mins to fix

          Avoid deeply nested control flow statements.
          Open

                                  if (typeof obj[property][i] === 'string') {
                                      obj[property].splice(i, 1);
                                  }
          Severity: Major
          Found in packages/changelog/docs/js/routes.js - About 45 mins to fix

            Avoid deeply nested control flow statements.
            Open

                                if (linkContextId === 'additional') {
                                    var mainToggler = activeMenu.querySelector(
                                        '.chapter.' + linkContextId + ' div.menu-toggler'
                                    );
                                    if (mainToggler) {
            Severity: Major
            Found in packages/changelog/docs/js/menu.js - About 45 mins to fix

              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

                                        if (toggler) {
                                            toggler.click();
                                        }
                Severity: Major
                Found in packages/contributors-view/docs/js/menu.js - About 45 mins to fix

                  Avoid deeply nested control flow statements.
                  Open

                                          if (typeof obj[property][i] === 'string') {
                                              obj[property].splice(i, 1);
                                          }
                  Severity: Major
                  Found in packages/github-client/docs/js/routes.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

                      Avoid deeply nested control flow statements.
                      Open

                                              if (typeof obj[property][i] === 'string') {
                                                  obj[property].splice(i, 1);
                                              }
                      Severity: Major
                      Found in packages/contributors-view/docs/js/routes.js - About 45 mins to fix

                        Avoid deeply nested control flow statements.
                        Open

                                            if (linkContextId === 'additional') {
                                                var mainToggler = activeMenu.querySelector(
                                                    '.chapter.' + linkContextId + ' div.menu-toggler'
                                                );
                                                if (mainToggler) {
                        Severity: Major
                        Found in packages/contributors-view/docs/js/menu.js - About 45 mins to fix

                          Avoid deeply nested control flow statements.
                          Open

                                              if (linkContextId === 'additional') {
                                                  var mainToggler = activeMenu.querySelector(
                                                      '.chapter.' + linkContextId + ' div.menu-toggler'
                                                  );
                                                  if (mainToggler) {
                          Severity: Major
                          Found in packages/schema-diff/docs/js/menu.js - About 45 mins to fix

                            Avoid deeply nested control flow statements.
                            Open

                                                    if (parentUl) {
                                                        parentChapterMenu = parentUl.parentNode;
                                                        if (parentChapterMenu) {
                                                            var toggler = parentChapterMenu.querySelector('.menu-toggler'),
                                                                elementIconChild =
                            Severity: Major
                            Found in packages/github-client/docs/js/menu.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/changelog/docs/js/tree.js - About 45 mins to fix

                                Avoid deeply nested control flow statements.
                                Open

                                                        if (toggler) {
                                                            toggler.click();
                                                        }
                                Severity: Major
                                Found in packages/schema-diff/docs/js/menu.js - About 45 mins to fix

                                  Avoid deeply nested control flow statements.
                                  Open

                                                          if (linkContextId === 'additional') {
                                                              var mainToggler = activeMenu.querySelector(
                                                                  '.chapter.' + linkContextId + ' div.menu-toggler'
                                                              );
                                                              if (mainToggler) {
                                  Severity: Major
                                  Found in packages/github-client/docs/js/menu.js - About 45 mins to fix

                                    Avoid deeply nested control flow statements.
                                    Open

                                                        if (linkContextId === 'additional') {
                                                            var mainToggler = activeMenu.querySelector(
                                                                '.chapter.' + linkContextId + ' div.menu-toggler'
                                                            );
                                                            if (mainToggler) {
                                    Severity: Major
                                    Found in packages/github-client/docs/js/menu.js - About 45 mins to fix

                                      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/contributors-view/docs/js/tree.js - About 45 mins to fix

                                        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/changelog/docs/js/tree.js - About 45 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language