Skip to content

Commit

Permalink
delete old coverage files and add new page for new coverage page [CY-…
Browse files Browse the repository at this point in the history
…7340] (#2202)

* delete old coverage files and add new page for new coverage page cy-7340

* delete links on previous release notes for coverage pages

* refactor: wording
  • Loading branch information
joanasteodoro authored Sep 26, 2024
1 parent 52d03e7 commit 7837c0f
Show file tree
Hide file tree
Showing 35 changed files with 55 additions and 344 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ In the main view, you can find the following information:

When this item is expanded, the number next to each file name is the total number of Quality issues that the pull request adds to that file.

- The **diff coverage** introduced by the pull request. This is the same value 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.
- The **diff coverage** introduced by the pull request. The percentage next to each file name is the coverage variation for that file.

- 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
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ The **Pull request status** tab displays the following information for the pull

![Important issues](./images/codacy-vscode-extension-important-issues.png)

- 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 **diff coverage and coverage variation** introduced by the pull request.

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.
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).

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,6 @@ Please refer to the table below for the updated status of the transition process
<td>Live</td>
<td>The new Coverage engine now sends coverage summaries to GitHub. If you haven't done so yet, please review and update your app permissions as mentioned above.</td>
</tr>
<tr>
<td rowspan="3">Codacy app UI</td>
<td><a href="../../../repositories-coverage/pull-requests/#diff-tab">Coverage pull request Diff tab</a></td>
<td>Live</td>
<td>Since December 27th, 2023, this component gets data from the new Coverage engine.</td>
</tr>
<tr>
<td><a href="../../../repositories-coverage/pull-requests/">Coverage Pull Requests page</a></td>
<td>Live</td>
<td>Since February 6th, 2024, this page gets data from the new Coverage engine.</td>
</tr>
<tr>
<td>Other pages and components</td>
<td>Planned</td>
Expand Down Expand Up @@ -140,7 +129,7 @@ On December 7th 2023, the new Coverage engine started posting coverage summaries

### Missing data on the Coverage Pull request page {: id="differences-in-coverage-metrics-between-the-coverage-and-quality-pull-request-pages" }

You may notice missing coverage data on the [Coverage Pull requests page](../../repositories-coverage/pull-requests.md) for older pull requests when compared to the coverage data shown on the [Quality Pull requests page](../../repositories/pull-requests.md). This may happen due to a number of reasons:
You may notice missing coverage data on the Coverage Pull requests page for older pull requests when compared to the coverage data shown on the [Quality Pull requests page](../../repositories/pull-requests.md). This may happen due to a number of reasons:

- GitHub only: The new Coverage service requires updated app permissions to calculate coverage data. If you haven't done so yet, [review and accept the updated Codacy app permissions](https://docs.github.com/en/enterprise-cloud@latest/apps/using-github-apps/reviewing-and-modifying-installed-github-apps#reviewing-permissions) on GitHub and re-analyze the pull request by pushing an empty commit.

Expand Down
2 changes: 1 addition & 1 deletion docs/release-notes/cloud/cloud-2024-02.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ These release notes are for the Codacy Cloud updates during February 2024.

- The Codacy GitHub App no longer requires **Read and write access to Administration** repository permission. For more information, see the [Discontinuation of SSH keys for GitHub repositories](./cloud-2024-01-15-gh-repository-ssh-keys-discontinuation.md). (PLUTO-803)
- The coverage data sent by the new Coverage engine to your Git provider moved from **beta** to stable. Thus, the coverage data sent by the old engine is now marked **deprecated**. For more information, [see the rollout details of the new Coverage engine](./cloud-2023-11-23-new-coverage-engine-status-checks.md). (ALA-766)
- The [Coverage Pull Requests page](../../repositories-coverage/pull-requests.md) now gets data from the new Coverage engine. For more information, [see the rollout details of the new Coverage engine](./cloud-2023-11-23-new-coverage-engine-status-checks.md). (ALA-770)
- The Coverage Pull Requests page now gets data from the new Coverage engine. For more information, [see the rollout details of the new Coverage engine](./cloud-2023-11-23-new-coverage-engine-status-checks.md). (ALA-770)
- The [Organization overview](../../organizations/organization-overview.md) is now available on all plans. (ALA-842)
- Improved the mechanism to refresh organizations from the Git provider. As a result, we removed the option to manually refresh the list of organizations when [adding new organizations to Codacy](../../organizations/what-are-organizations.md#adding-an-organization). (ALA-862)
- For GitHub, if you have email privacy enabled on the provider, Codacy doesn't show your private email addresses when displaying your personal details on lists, search filters, or activity. (PLUTO-794)
Expand Down
107 changes: 0 additions & 107 deletions docs/repositories-coverage/commits.md

This file was deleted.

57 changes: 0 additions & 57 deletions docs/repositories-coverage/files.md

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed docs/repositories-coverage/images/commits.png
Binary file not shown.
Binary file removed docs/repositories-coverage/images/files-details.png
Binary file not shown.
Binary file removed docs/repositories-coverage/images/files-search.png
Binary file not shown.
Binary file removed docs/repositories-coverage/images/files.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed docs/repositories-coverage/images/pull-requests.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
70 changes: 0 additions & 70 deletions docs/repositories-coverage/pull-requests.md

This file was deleted.

Loading

0 comments on commit 7837c0f

Please sign in to comment.