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

New class Fan-Out Complexity after a change in Checkstyle

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    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

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

              Dates

                Created:
                Updated:
                Resolved: