Skip to content

Commit

Permalink
Update diff.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Szelethus authored Sep 20, 2023
1 parent c3dfd07 commit a7bf1d0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/web/diff.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,8 @@ command) and a local report directory and show new results:
```
</details>

You can compare both local analysis results (see `CodeChecker analyze`) and
results stored on the server (see `CodeChecker store`). In fact, you can compare
You can compare both local analysis results (see [CodeChecker analyze](../analyzer/user_guide.md#analyze)) and
results stored on the server (see [CodeChecker store](./user_guide.md#store)). In fact, you can compare
local _and_ remote analyses against one other! We call these in order local-local,
remote-remote, and local-remote or remote-local diffs.

Expand Down Expand Up @@ -655,7 +655,7 @@ Click on the first report, emitted by `deadcode.DeadStores`.

Set its review status to false positive.

![image](https://github.com/Szelethus/codechecker/assets/23276031/d642a5aa-17f3-4566-856f-a54bd37b20d8)
![image](https://github.com/Szelethus/codechecker/assets/23276031/3c431590-8c62-43cc-b22d-20090d0ae844)

Now, modify `example.cpp`: fix the `core.DivideZero` error and introduce a null dereference error:

Expand Down Expand Up @@ -701,7 +701,7 @@ Below is the "Reports" view for "Test Run Updated":

As a result, this report is not outstanding in either of the runs:

![image](https://github.com/Szelethus/codechecker/assets/23276031/28b5cc67-7de4-4f8f-9486-1408a127e10d)
![image](https://github.com/Szelethus/codechecker/assets/23276031/9201f853-967b-4d88-a074-7289572c6061)

### Using `CodeChecker cmd diff`
* Show outstanding reports that appeared from first analysis to the next (via `--new`):
Expand Down Expand Up @@ -808,7 +808,7 @@ Click on the first report, emitted by `deadcode.DeadStores`.

Set its review status to false positive.

![image](https://github.com/Szelethus/codechecker/assets/23276031/d642a5aa-17f3-4566-856f-a54bd37b20d8)
![image](https://github.com/Szelethus/codechecker/assets/23276031/72dc2cf1-ca7c-44e1-afbe-f1f98adf6e62)

Now, modify `example.cpp`: fix the `core.DivideZero` error and introduce a null dereference error:

Expand Down

0 comments on commit a7bf1d0

Please sign in to comment.