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

Static Analyzer output reports cannot be sorted by column anymore #37982

Open
thomreis opened this issue May 17, 2022 · 11 comments
Open

Static Analyzer output reports cannot be sorted by column anymore #37982

thomreis opened this issue May 17, 2022 · 11 comments

Comments

@thomreis
Copy link
Contributor

Since a while the Static Analyzer output reports cannot be sorted by other columns than the Bug Type one.

According to @gartung it must be the result of the filtering that removes duplicates. The pre-filtered version is still sortable.
https://cmssdt.cern.ch/SDT/jenkins-artifacts/ib-static-analysis/CMSSW_12_5_X_2022-05-16-2300/slc7_amd64_gcc10/llvm-analysis/index_full.html

@cmsbuild
Copy link
Contributor

A new Issue was created by @thomreis Thomas Reis.

@Dr15Jones, @perrotta, @dpiparo, @makortel, @smuzaffar, @qliphy can you please review it and eventually sign/assign? Thanks.

cms-bot commands are listed here

@makortel
Copy link
Contributor

assign core

@cmsbuild
Copy link
Contributor

New categories assigned: core

@Dr15Jones,@smuzaffar,@makortel you have been requested to review this Pull request/Issue and eventually sign? Thanks

@gartung
Copy link
Member

gartung commented May 19, 2022

After looking at the source of the page it appears that only the bug type column is sortable and the filtering did not change anything. This must be a feature of the current version of scan-build.

@gartung
Copy link
Member

gartung commented May 19, 2022

image
image

@gartung
Copy link
Member

gartung commented May 19, 2022

Correction. If I unselect all bugs categories and then select one category, the sort column switches to file.

@gartung
Copy link
Member

gartung commented May 19, 2022

Actually is does not. If you click on any column it should switch but the javascript is very slow to switch columns.

@gartung
Copy link
Member

gartung commented May 19, 2022

Especially since there are ~40000 entries to sort.

@gartung
Copy link
Member

gartung commented May 20, 2022

The filtered page source with the addition of a column might have triggered a bug in the javascript
image

@gartung
Copy link
Member

gartung commented May 20, 2022

The bug in the javascript also appears in index_full.html, so it is not specific to the filtered version.

@gartung
Copy link
Member

gartung commented May 31, 2023

With llvm/clang 16 the duplicate reports are removed by scan build so the post processing is no longer needed. The scan-build report is again sortable.

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

No branches or pull requests

4 participants