Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-2294

New class Fan-Out Complexity after a change in Checkstyle

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 13.8
    • Fix Version/s: 13.9-rc-1
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Hi, I am fixing checkstyle bug https://github.com/checkstyle/checkstyle/issues/10144 and our ci for fixed version shows that xwiki-commons classes AbstractJobStatus, XStreamParameterManager fail with
      [ERROR] src/main/java/org/xwiki/job/AbstractJobStatus.java:[53,1] (metrics) ClassFanOutComplexity: Class Fan-Out Complexity is 21 (max allowed is 20).
      [ERROR] src/main/java/org/xwiki/filter/xml/internal/parameter/XStreamParameterManager.java:[59,1] (metrics) ClassFanOutComplexity: Class Fan-Out Complexity is 21 (max allowed is 20).

      Any help with this will be appreciated.

       link to build

      https://app.circleci.com/pipelines/github/checkstyle/checkstyle/9240/workflows/0f48c81d-be8b-4871-8c4f-a5c7a957623f/jobs/102304?invite=true#step-102-1051

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              strkk Andrei Paikin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: