http://llvm.org/bugs/show_bug.cgi?id=17797
Bug ID: 17797
Summary: Better sorting in scan-build html report
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Static Analyzer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 11480
--> http://llvm.org/bugs/attachment.cgi?id=11480&action=edit
Use browser's builtin array sort for more stable sort result
The sorting of bug table in the scan-build report is not very "stable". In the
sense when sorting by "Bug Type", the file names are not grouped together. The
filenames popup randomly for the same type of bug.
What will be better is that when sorting by "File" first and then sorting by
"Bug Type", the bugs in the same file should be grouped together.
In the clang/tools/scan-build/sorttable.js, shaker_sort was used, but the sort
does not preserve previous sort order.
While on the firefox, with the default array sorting function, the previous
sort order will be preserved, i.e. after sorting by "File" then by "Bug Type",
filenames are grouped up for the same bug type.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs