Ericsson / CodecheckerVSCodePlugin

VSCode plugin that shows bugs detected by the Clang Static Analyzer and Clang Tidy analyzers using CodeChecker as a backend.
Apache License 2.0
24 stars 7 forks source link

Support browsing reports while analysis is running #143

Open Seneral opened 6 months ago

Seneral commented 6 months ago

Some files in my project take very long to analyse with just clang-tidy (nearly 2 hours for just some 1200 lines of heavy Eigen Linear Algebra), which means they may end up blocking me from working on the reports for another hour or more after the other files are done. In fact, I am currently waiting for two files to finish, 1.5hours after the last ones finished. Would it be possible to browse reports that already exist in the file system even if a analysis is running? Especially of files which aren't even analysed at the moment (can't browse reports of any file when I am just analysing one). For future runs I'll just exclude those files (or analyse file-by-file), but when first starting to use codechecker this hinders efficiency quite a lot. Thank you for your work on this!

Discookie commented 6 months ago

Sadly this is currently impossible due to how CodeChecker stores analysis results. We're planning to rework how these results are stored, but I'm not sure if this feature was considered before. I created an issue on the CodeChecker repo for it as well: Ericsson/codechecker#4184

Seneral commented 6 months ago

That makes sense, glad you're considering it, if it works out it'd be great!