michielbdejong/solid-panes

View on GitHub

Showing 243 of 327 total issues

Consider simplifying this complex logical expression.
Open

    if (
      t['http://www.w3.org/ns/pim/trip#Trip'] || // If in any subclass
      subject.uri === 'http://www.w3.org/ns/pim/trip#Trip' ||
      t['http://www.w3.org/2005/01/wf/flow#Task'] ||
      t['http://www.w3.org/2000/10/swap/pim/qif#Transaction'] ||
Severity: Major
Found in src/attach/attachPane.js - About 40 mins to fix

    Function OutlinerIcon has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    outlineIcons.OutlinerIcon = function (src, width, alt, tooltip, filter) {
    Severity: Minor
    Found in src/outline/outlineIcons.js - About 35 mins to fix

      Function showMenu has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

            e,
            menuType,
            inputQuery,
            extraInformation,
            _order
      Severity: Minor
      Found in src/outline/userInput.js - About 35 mins to fix

        Function on has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            on: function (el, sType, fn, obj, fnId /* ,override */) {
        Severity: Minor
        Found in src/outline/dragDrop.js - About 35 mins to fix

          Function getStatementsToAdd has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

            origin: NamedNode,
            nodeName: string,
            modes: string[],
            person: NamedNode,
            ns: Namespaces
          Severity: Minor
          Found in src/trustedApplications/trustedApplications.utils.ts - About 35 mins to fix

            Function expandAfterRowOrCollapse has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                    dom,
                    row,
                    subject,
                    paneName,
                    solo
            Severity: Minor
            Found in src/transaction/period.js - About 35 mins to fix

              Function expandAfterRowOrCollapse has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                    dom,
                    row,
                    subject,
                    paneName,
                    solo
              Severity: Minor
              Found in src/transaction/pane.js - About 35 mins to fix

                Function expandAfterRow has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                      var expandAfterRow = function (dom, row, subject, paneName, solo) {
                Severity: Minor
                Found in src/transaction/period.js - About 35 mins to fix

                  Function createContainer has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                    elementName: K,
                    children: HTMLElement[],
                    attributes = {},
                    eventListeners = {},
                    onCreated = null
                  Severity: Minor
                  Found in src/trustedApplications/trustedApplications.dom.ts - About 35 mins to fix

                    Function createText has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                      elementName: K,
                      textContent: string | null,
                      attributes = {},
                      eventListeners = {},
                      onCreated = null
                    Severity: Minor
                    Found in src/trustedApplications/trustedApplications.dom.ts - About 35 mins to fix

                      Function expandAfterRow has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          var expandAfterRow = function (dom, row, subject, paneName, solo) {
                      Severity: Minor
                      Found in src/transaction/pane.js - About 35 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                        return
                        Severity: Major
                        Found in src/outline/userInput.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                            return
                          Severity: Major
                          Found in src/outline/userInput.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                if (UI.utils.getTarget(e).tagName === 'INPUT') return
                            Severity: Major
                            Found in src/outline/manager.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                        return
                              Severity: Major
                              Found in src/outline/userInput.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                            return
                                Severity: Major
                                Found in src/outline/userInput.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                            return 'nothing to return'
                                  Severity: Major
                                  Found in src/outline/userInput.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                    return
                                    Severity: Major
                                    Found in src/outline/userInput.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                          return 'asGivenTxt'
                                      Severity: Major
                                      Found in src/outline/userInput.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                        return
                                        Severity: Major
                                        Found in src/outline/userInput.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language