-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Old mcc maps can be migrated to new metric names #3685
Comments
I think the acceptance criteria for this issue should be adjusted a little for two reasons: About the migration script: We already have the StructureModifier which can adjust the structure of an existing cc.json. For making the user aware: When the user imports a map, to give them the options to abort or import anyway we would need some kind of popup. This can get annoying for several reasons (popups are annoying in general; it would reappear for every new map, even when the user already knows what will happen; if someone has the visualisation in a pipeline somewhere the popup could mess with that; etc.). |
The script that can rename mcc to complexity or sonar_coplexity has been implemented into the structureModifier, so the first part of this issue is done |
I took an old map https://github.com/user-attachments/files/17414626/old.cc.json and it failed java.lang.NullPointerException: Input file contains null value for an attribute type! Please ensure the input is a valid cc.json file. |
Feature request
Description
As a user who has an old codecharta map with mcc, I want a script that allows me to migrate it in the repository with a documentation in the docs, so that I can migrate and compare them easier
Acceptance criteria
Assumptions & Exclusions
Development notes (optional Task Breakdown)
Open questions
The text was updated successfully, but these errors were encountered: