Uploaded image for project: 'Minimal Marketable Features'
  1. Minimal Marketable Features
  2. MMF-733

Calculate Cognitive Complexity metric at file level and above

    Details

    • Type: MMF
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Labels:
      None

      Description

      With the philosophy that we should provide rules at block level to find specific instances that need correction, and metrics at the file level and above to help detect hotspots, we should begin providing Cognitive Complexity metrics.

      Typically, these metrics will simply sum lower-level values, but there is a distinction to be made for scripting languages, which could have both top-level complexity and method-level complexity. In those cases, File complexity cannot simply equal the sum of the complexities of the enclosed methods, but must also include any top-level complexity as well.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ann.campbell.2 Ann Campbell
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: