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

CodeChecker incremental analysis leaves outdated analysis results in the report directory #4249

Open
dkrupp opened this issue May 31, 2024 · 0 comments
Labels
analyzer 📈 Related to the analyze commands (analysis driver) bug 🐛

Comments

@dkrupp
Copy link
Member

dkrupp commented May 31, 2024

If the compilation action changes for a file in the compile commands.json (for example the cmake is reexecuted), new plist files will be generated for the same file. then the old plist files will never be updated and remain in the report directory.

This is so, because name of the generated plist files contain the hash of the compilation action.

In incremental mode, when a source file is reanalzyed, CodeChecker should clean up all earlier outdated analysis results for that source file.

@dkrupp dkrupp added bug 🐛 analyzer 📈 Related to the analyze commands (analysis driver) labels May 31, 2024
@dkrupp dkrupp added this to the release 6.25.0 milestone May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer 📈 Related to the analyze commands (analysis driver) bug 🐛
Projects
None yet
Development

No branches or pull requests

1 participant