v5.9
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 executingstore
orcheck
commands. - Database-related arguments (
--dbaddress
,--dbport
,--dbusername
,--dbname
,--sqlite
, and--postgresql
) have been removed fromcheck
andstore
. - 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 callingstore
orcheck
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
andstore
separately, or configure your server for a longer timeout.
- 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
New features
CodeChecker cmd diff
allows diffing a run on a server and a local report folder containingplist
files.- E.g.
CodeChecker cmd diff --basename release --newname ~/my_analyze_output --new
will show reports introduced in your local folder without having tostore
your results to a CodeChecker server.
- E.g.
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 theplist
s.
Miscellaneous
CodeChecker debug
has been removed.