[LLVMbugs] [Bug 17797] New: Better sorting in scan-build html report
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Nov 4 04:24:29 PST 2013
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: kremenek at apple.com
Reporter: mozbugbox at yahoo.com.au
CC: llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131104/52196e81/attachment.html>
More information about the llvm-bugs
mailing list