Skip to content

Commit

Permalink
feat: Add option to toggle coverage details in VS Code extension (#2086)
Browse files Browse the repository at this point in the history
* feat: Add option to toggle on the coverage details

* feat: Refer to the same details in the Codacy app

* feat: Add inline coverage toggle screenshot; Clarify inline coverage details

* feat: Update to dark mode screenshot; Add test coverage count

* fix: Fix typo

---------

Co-authored-by: Nicola Klemenc <[email protected]>
  • Loading branch information
claudiacarpinteiro and nicklem authored Jun 5, 2024
1 parent ecee20a commit 2b44864
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ The **Pull request status** tab displays the following information for the pull

- The **diff coverage and coverage variation** introduced by the pull request. These are the same values you find in the [Pull request coverage overview](../repositories-coverage/pull-requests.md#coverage-overview) panel in the Codacy app.

The percentage next to each file name is the coverage variation for that file.
When this item is expanded, the percentage next to each file name is the coverage variation for that file. You can toggle on/off the inline coverage to see/hide the line-by-line diff coverage and a comparison of the old and new file content for each modified file - uncovered lines (red), covered lines with its test coverage count (green), and non-coverable lines (no background). These are the same details you find in the [coverage Diff tab of the pull request](../repositories-coverage/pull-requests.md#diff-tab) in the Codacy app.

![Toggle inline coverage](./images/codacy-vscode-extension-inline-coverage.png)

- Sequences of **duplicate code** (clones) introduced by the pull request. These are the same ones you find in the [Quality Duplication tabs](../repositories/pull-requests.md#duplication-tabs) in the Codacy app.

Expand Down

0 comments on commit 2b44864

Please sign in to comment.