v6.15.2
❗ ❗ ❗ Non-backward compatible changes ❗ ❗ ❗
-
When a checker name and the alias of this checker is turned on,
Clang Tidy (>=v11)
will generate only one report where the checker names are concatenated with,
mark (e.g.: cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers). Unfortunately in previous CodeChecker releases we didn't handle this use case properly and we generated only one report from it. We changed this behaviour in #3238 so multiple reports will be generated for each checker name / alias if both are enabled. -
From this release, the
CodeChecker analyze
command will indicate only the success and failure of analysis by zero and non-zero exit codes respectively. Before, the analysis subcommand returned with2
, if there was any report in the analysis. Form this release, it will return with0
, if the analysis was successful irrespectively of the number of reports.
TheCodeChecker parse
andCodeChecker cmd diff
subcommand will return with value2
if there is at least one (not suppressed) report in the result set (#3232, #3255).The return values of the subcommands is as follows:
-
CodeChecker analyze:
0 - Successful analysis
1 - CodeChecker error
3 - Analysis of at least one translation unit failed
128+signum - Terminating on a fatal signal whose number is signum -
CodeChecker parse
0 - No report
1 - CodeChecker error
2 - At least one report emitted by an analyzer -
CodeChecker check
0 - No report
1 - CodeChecker error
2 - At least one report emitted by an analyzer
3 - Analysis of at least one translation unit failed
128+signum - Terminating on a fatal signal whose number is signum -
CodeChecker cmd diff
0 - No difference between baseline and newrun
1 - CodeChecker error
2 - There is at least one report difference between baseline and newrun
-
Analyze improvements / fixes
- Fix target attribute of the log parser (#3184).
- Fix parsing clangsa analyze help (#3206).
- Fix ccache compiler detection (#3204).
- Handle no analyzer use cases (#3194).
- Fix cleanup metadata (#3192).
- Expose --supress option to the check sub-command (#3231).
- Fix duplication warning when creating failed zip (#3213).
- Handle Clang Tidy aliases in plist files (#3238).
- Removing noisy checkers from the sei-cert guideline (#3256).
CLI (parse, diff, etc.) improvements / fixes
- Change exit codes (#3232, #3255).
- Fix file path in codeclimate output (#3202).
- Fix source content change error when diffing remote runs (#3191).
- Handle suppression properly in diff command (#3189).
- Fix for the SpotBugs report converter (#3237, #3247).
- Improve error message when cmd diff fails on user input (#3240).
Server improvements / fixes
- Configure keepalive (#3167).
- Wrap bugstep messages (#3177).
- Fix database status in product name column (#3185).
- Set filter properly when clicking on the diff count in the statistics page (#3230).
- Fix getting analysis statistics (#3229).