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

Make CodanRunner progress monitor work a bit better #768

Merged
merged 1 commit into from
May 17, 2024

Conversation

MarkZ3
Copy link
Contributor

@MarkZ3 MarkZ3 commented Apr 27, 2024

The progress monitor didn't show which file was being analyzed properly.

Also, the work units didn't seem to be counted in a good way because the progress bar would stay stuck at like 1%. The fix in this commit for that is not perfect as it gives equal weight to all resources on a same level until further split into sub monitors. It still works quite a bit better without requiring more heavy changes.

Also fix usage of deprecated SubProgressMonitor.

@MarkZ3 MarkZ3 force-pushed the CodanRunnerProgressMonitor branch from 510ebb7 to 3e4fb7c Compare April 27, 2024 05:47
The progress monitor didn't show which file was being analyzed properly.

Also, the work units didn't seem to be counted in a good way because the
progress bar would stay stuck at like 1%. The fix in this commit for that is
not perfect as it gives equal weight to all resources on a same level until
further split into sub monitors. It still works quite a bit better without
requiring more heavy changes.

Also fix usage of deprecated SubProgressMonitor.
@MarkZ3 MarkZ3 force-pushed the CodanRunnerProgressMonitor branch from 3e4fb7c to 34a7a2c Compare April 27, 2024 16:39
@jonahgraham jonahgraham merged commit 0b7c2d9 into eclipse-cdt:main May 17, 2024
5 checks passed
@jonahgraham jonahgraham added the codan Code Analysis label May 17, 2024
@jonahgraham jonahgraham added this to the 11.6.0 milestone May 17, 2024
@jonahgraham
Copy link
Member

Thanks @MarkZ3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codan Code Analysis
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants