Skip to content

Commit

Permalink
[doc] Describe the usage flow in the main readme
Browse files Browse the repository at this point in the history
  • Loading branch information
csordasmarton committed Dec 1, 2020
1 parent 111a982 commit 7e95642
Show file tree
Hide file tree
Showing 3 changed files with 498 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,25 @@ macOS (OS X) development environment.
[Eclipse plugin](http://github.com/Ericsson/CodeCheckerEclipsePlugin)


# Usage flow
![Usage diagram](images/usage_flow.png)

- *Step 1*: `CodeChecker log` runs the given build command and records the
executed compilation steps. These steps are written to an output file
(Compilation Databases) in a JSON format.
- *Step 2*: `CodeChecker analyze` uses the previously created JSON Compilation
Database to perform an analysis on the project, outputting analysis results in
a machine-readable (plist) format.
- *Step 3*: in this step you can do multiple things:
- Parse and pretty-print the summary and results from analysis result files
(`CodeChecker parse`).
- Store the results to a running CodeChecker server (`CodeChecker store`).
- Compare two analysis results/runs to show the results that differ between
the two (`CodeChecker cmd diff`).
- etc.

For more information how to use CodeChecker see our [user guide](usage.md).

# User documentation

* [Getting started (How-To with examples)](usage.md)
Expand Down
Binary file added docs/images/usage_flow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 7e95642

Please sign in to comment.