v6.11.0
New Feature highlights
-
Show system comments for bugs GUI #746
Review status changes by the users are automatically stored and shown at the report comment section
for each report. With this feature the status changes of the reports can be easily tracked. -
Introduce different compiler argument filtering if the original compiler was clang #2382 #2482
If the original compiler used to build a project was clang/clang++ only a minimal compilation
flag filtering or modification is done.
In the case where the original compiler was gcc/g++ many non compatible compiler flags were
filtered which is not required if the original compiler is clang. -
Store the Cppcheck plist reports #2474
Plist reports generated by Cppcheck can be stored by theCodeChecker store
command.
For a more detailed example how to configure Cppcheck to generate the reports in the right format
see the documentation. -
CodeChecker config file support for the analysis arguments #427 #2268
The arguments for aCodeChecker analyze
command can be given in a config file.
A more detailed description about the usage and the config file format can be
found here. -
Log compile commands with absolute paths #2447
With the introduction of a new environment variable (CC_LOGGER_ABS_PATH) the compiler include paths
will be converted to an absoute path.
This conversion can be necessary if the compiler command database created
by CodeChecker will be used by other static analyzers (E.g. Cppcheck). -
Enforce taking the analyzers from PATH #2378
With the newly introduced environment variable the usage of the static analyzers in the PATH
can be forced even if the configuration contains analyzers not from the PATH. -
List ClangSA checker options #2425
The Clang Static Analyzer options can be listed now (requires clang v9.0.0 or newer).
Use the commandCodeChecker analyzers --dump-config clangsa
to print the static analyzer configuration. -
Support json output for parse command #2424
The parse command can generate json output from the reports if required:
CodeChecker parse -e json analyzer_reports
-
Use
CodeChecker parse
with multiple directories #2384
TheCodeChecker cmd parse
command now accepts multiple directories to parse the reports from. -
Update the name of a run from the command line #1778
Improvements and bug fixes
Analyzer
- Detect -MG as a precompilation flag #2472
- CodeChecker analyze and parse fails for non ascii. #2454
- Document some new checkers #2445
- Incorrect full path reconstruction for
-include
#2440 - Resolve symlinks of compiler binaries #2430
- Add missing lxml dependency to the analyzer #2414
- Document two new checks #2405
- Replace analyzer option
api-metadata-path
with package optionAPIMetadataPath
#2403 - Skip handler must be run before compiler options parsing not after #2396
- Incremental analysis failures on the same file results in stupid failure ZIP #2395
- Do not count a number of skipped actions in progress log #2394
- 'aggressive-binary-operation-simplification' should be clang version dependent #2390
- Do not load plugins when CC_ANALYZERS_FROM_PATH is used #2483
- Print a log message when overwriting a plist file #2375
- Ignore -mllvm option #2374
- Fix taint issue #2426
- Fix missing analyzer binary #2437
- Fix failure zip #2444
- Fix handling '--sysroot=' flag format #2453
- Handle enabled checker per profile for ClangSA #2337
- Do not disable all clang static analyzer checkers unconditionally #2386
- Less argument processing if skip file used without ctu and stats #2462
- Set io.open encoding to utf-8 #2484
- Add 4 new checker severity levels #2485
- some specific Xclang arguments modify the output #2492
- do not disable all clang static analyzer checkers unconditionally #2386
Web
- args.config has been renamed to args.config_file #2478
- Can not delete run #2473
- Always generate a new token on login #2423
- Use saved credentials if auto login is enabled #2421
- Trim white spaces from the user name when adding new permissions to it #2420
- Fix personal access token generation #2413
- Add a heartbeat and readiness URL #2410
- Keep the selected sub tab on run tab switch #2401
- Run tab switch jumps back to previous tab #2400
- Disable run limitation #1949
- Fix hiding tooltip of the source component filter item #2489
Other
- Documentation for cppcheck report storage #2481
- Remove SimpleStream checker from sensitive profile #2480
- Extra comments for clang compiler change in travis #2469
- Bump up the minimal required clang version #2468
- OSX does not have include-fixed in its include path #2464
- The existence of a config file influences the test #2463
- Fix test case for has_analyzer_option #2460
- Sort report lines for files #2459
- Fix missing type imports for the tests #2456
- Update to xcode10 in travis #2455
- Upgrade tests to run with Clang 9.0.0 #2451
- Remove fail zip first in case of write mode. #2450
- Fix pylint errors #2448
- Fix travis error code handling. #2446
- Adding compilation database to JSON in tu_collector #2441
- Revert "add label configuration for the github actions" #2438
- Update authentication.md for codechecker.readthedocs.io publishing #2436
- Fix thrift path on osx #2431
- Fix pylint warnings #2422
- Add more example how to use credentials #2416
- Simplify Gerrit integration documentation #2415
- Rename shared.thrift to codechecker_api_shared.thrift #2406
- Fix travis failure #2392
- Add default values to the package_layout.json #2385
- Refactoring package_layout.json file #2379
- Increment CodeChecker version to 6.11.0 #2313
- It is not possible to order runs by run name #2235
- Support response files #2092
- Introduce code owners file #2075
API changes
- New filter options for CodeChecker cmd runs command #2343
Contributors
Big thanks to everyone who helped us creating this release: @josod, @LebedevRI, @sylvestre, @hpwxf, @irishrover, @scphantm