Skip to content

v5.9

Compare
Choose a tag to compare
@whisperity whisperity released this 14 Jul 15:34
· 5239 commits to master since this release

Release 5.9 brings new improvements and changes for an easier, more secure use to CodeChecker.

Incompatible command line changes!

Previously, to store analysis results, you needed to provide a database connection. This has been changed for both a more easier and secure usage model, which no longer requires having to know and input database credentials. A CodeChecker server is now needed by CodeChecker store to connect to and store runs in the database it is connected to. Because of this the command-line invocation has changed!, as follows:

  • A CodeChecker server needs to be started before analysis results can be stored to the database, i.e. before executing store or check commands.
  • Database-related arguments (--dbaddress, --dbport, --dbusername, --dbname, --sqlite, and --postgresql) have been removed from check and store.
  • Instead, --host and --port is to be used to specify which CodeChecker server accepts and stores the analysis results.
  • Servers which have authentication enabled require a valid session before allowing storage of analysis results. Use CodeChecker cmd login before calling store or check if your server is password protected.
    • If the server is configured for a short time-out period for valid sessions and building your project and analyzing it takes too long, the session on the server can time out before the storage of results can commence. Please use log, analyze and store separately, or configure your server for a longer timeout.

New features

  • CodeChecker cmd diff allows diffing a run on a server and a local report folder containing plist files.
    • E.g. CodeChecker cmd diff --basename release --newname ~/my_analyze_output --new will show reports introduced in your local folder without having to store your results to a CodeChecker server.

Improvements

  • CodeChecker cmd diff shows the source code line where the bug was found in its output.

Fixes

  • Fixed a rare crash that resulted because of special characters in the source files badly decoded by the client.
  • Fixed CodeChecker store unable to import any useful information from a report folder that did not contain metadata files alongside the plists.

Miscellaneous

  • CodeChecker debug has been removed.