codecharta icon indicating copy to clipboard operation
codecharta copied to clipboard

Decouple CodeCharta from fixed metrics like MCC

Open ce-bo opened this issue 1 year ago • 0 comments

Feature request

Resulted from https://github.com/MaibornWolff/codecharta/issues/3456

Description

Some complexity metrics (e.g. from sonar) are imported and renamed into mcc, so that CodeCharta does know the most important complexity metric. But...

As a User, I want to preserve the source metrics names and definition, so that I can use exactly these metrics in CodeCharta.

At the moment, some metrics are mapped during import on custom acronyms that nobody can understand.

We need to put further thoughts into this on how to get rid of the fixed core metrics in CodeCharta.

Acceptance criteria

Assumptions & Exclusions

Development notes (optional Task Breakdown)

  • [ ] There are hard references to mcc, rloc and maybe others in the code
  • [ ]
  • [ ]

Open questions

  • How to be able to identify the main complexity metric, that is available from the cc.json file, so that features like Suspicious Metrics can work with it.

ce-bo avatar Jan 30 '24 10:01 ce-bo