cppcheck/tools/triage
Maksim Derbasov 5dae162780
[triage tool] Keep UI alive while wget and tar execution (#3296)
2021-06-13 10:51:42 +02:00
..
.gitignore
CMakeLists.txt cleaned up setting of compiler options and a few more things in CMake (#2599) 2020-04-22 11:04:19 +02:00
main.cpp
mainwindow.cpp [triage tool] Keep UI alive while wget and tar execution (#3296) 2021-06-13 10:51:42 +02:00
mainwindow.h cleaned up includes based on include-what-you-use (#3141) 2021-04-03 21:30:50 +02:00
mainwindow.ui
readme.txt
triage.pro

readme.txt

triage tool
This tool lets you comfortably look at Cppcheck analysis results for daca packages. It automatically
downloads the package, extracts it and jumps to the corresponding source code for a Cppcheck
message.

triage uses "wget" and "tar"
On Linux the tool can be directly run since the programs should be installed.
On Windows something like Cygwin is necessary and the directory containing the executables must be
in the PATH environment variable (for example "C:\cygwin\bin").

Usage:
After triage has been started you have to load daca results from a file via the "Load from file"
button or from the clipboard via the "Load from clipboard" button.
The file or clipboard text must contain the package URL line beginning with "ftp://" and the
Cppcheck messages.
When the results data has been parsed successfully you can see a list of Cppcheck messages directly
beneath the "Load ..." buttons. Double-click any entry to let the tool show the source code and jump
to and mark the corresponding line. If the package is not found it is downloaded and extracted
automatically. So after the first double-click it is normal that it takes some time until the
source code is shown.