Skip to content
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

Beautify CodeModel file output #315

Merged
merged 6 commits into from
Dec 8, 2023
Merged

Conversation

Gram21
Copy link
Member

@Gram21 Gram21 commented Dec 7, 2023

This PR makes the CodeModel-files more readable (including indentation etc.).
Moreover, the identifiers of entities are updated to use a reproducible ID (for same project in the same version).

Lastly, the code model was slightly adapted to use sealed classes.

IdentifierProvider can (and should) be reset for new extractors or in the ModelProviderInformant to ensure that the IDs are reproducible for the same project in the same version.
Copy link

sonarcloud bot commented Dec 7, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

66.7% 66.7% Coverage
0.0% 0.0% Duplication

@dfuchss dfuchss merged commit d80b3f5 into main Dec 8, 2023
9 checks passed
@dfuchss dfuchss deleted the feature/beautify_codemodel_file branch December 8, 2023 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants