ilscipio/scipio-erp

View on GitHub
themes/base/webapp/base/js/cms/trumbowyg/scipio_links/trumbowyg.scipio_links.js

Summary

Maintainability
C
7 hrs
Test Coverage

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

                                        fromFtl: function(k, v, linkType, argDefs, ftlDir, initValues) {

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

                                            fromFtl: function(k, v, linkType, argDefs, ftlDir, initValues) {

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

                                              fromFtl: function(k, v, linkType, argDefs, ftlDir, initValues) {

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

                                                fromFtl: function(k, v, linkType, argDefs, ftlDir, initValues) {

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

                                                  fromFtl: function(k, v, linkType, argDefs, ftlDir, initValues) {

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

                                                    fromFtl: function(k, v, linkType, argDefs, ftlDir, initValues) {

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

                                                      fromFtl: function(k, v, linkType, argDefs, ftlDir, initValues) {

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

                                                        fromFtl: function(k, v, linkType, argDefs, ftlDir, initValues) {

                  Consider simplifying this complex logical expression.
                  Open

                                                      if (!selectedFound && (currPageId || currPageName)) {
                                                          optsHtml = '<option value="' + (currPageId || '') + '" selected="selected">'
                                                              + (currPageName || currPageId || '')
                                                              + '</option>'
                                                              + optsHtml;

                    Avoid too many return statements within this function.
                    Open

                                                                        return null;

                      Avoid too many return statements within this function.
                      Open

                                                                          return {name:'id', value:helper.makeFtlStrLit(pageId)};

                        There are no issues that match your filters.

                        Category
                        Status