ilscipio/scipio-erp

View on GitHub
framework/widget/src/org/ofbiz/widget/WidgetWorker.java

Summary

Maintainability
B
6 hrs
Test Coverage

Method makeHyperlinkByType has 13 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public static void makeHyperlinkByType(Appendable writer, String linkType, String linkStyle, String targetType, String target,
            Map<String, String> parameterMap, String description, String targetWindow, String confirmation, ModelFormField modelFormField,
            HttpServletRequest request, HttpServletResponse response, Map<String, Object> context) throws IOException {
Severity: Major
Found in framework/widget/src/org/ofbiz/widget/WidgetWorker.java - About 1 hr to fix

    Method makeHyperlinkString has 12 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public static void makeHyperlinkString(Appendable writer, String linkStyle, String targetType, String target, Map<String, String> parameterMap,
                String description, String confirmation, ModelFormField modelFormField, HttpServletRequest request, HttpServletResponse response, Map<String, Object> context, String targetWindow)
    Severity: Major
    Found in framework/widget/src/org/ofbiz/widget/WidgetWorker.java - About 1 hr to fix

      Method buildHyperlinkUrl has 11 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          public static void buildHyperlinkUrl(Appendable externalWriter, String target, String targetType, Map<String, String> parameterMap,
                  String prefix, Boolean fullPath, Boolean secure, Boolean encode, HttpServletRequest request, HttpServletResponse response, Map<String, Object> context) throws IOException {
      Severity: Major
      Found in framework/widget/src/org/ofbiz/widget/WidgetWorker.java - About 1 hr to fix

        Method makeHiddenFormLinkForm has 9 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            public static void makeHiddenFormLinkForm(Appendable writer, String target, String targetType, String targetWindow, Map<String, String> parameterMap, ModelFormField modelFormField, HttpServletRequest request, HttpServletResponse response, Map<String, Object> context) throws IOException {
        Severity: Major
        Found in framework/widget/src/org/ofbiz/widget/WidgetWorker.java - About 1 hr to fix

          Method makeHiddenFormLinkAnchor has 8 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              public static void makeHiddenFormLinkAnchor(Appendable writer, String linkStyle, String description, String confirmation, ModelFormField modelFormField, HttpServletRequest request, HttpServletResponse response, Map<String, Object> context) throws IOException {
          Severity: Major
          Found in framework/widget/src/org/ofbiz/widget/WidgetWorker.java - About 1 hr to fix

            There are no issues that match your filters.

            Category
            Status