Skip to content

Commit 09f0402

Browse files
authored
Update explanation on ignoring files in Codacy (#2527)
* Update explanation on ignoring files in Codacy Clarify the impact of ignoring files on Codacy and coverage reports. * Fix typo in coverage report documentation Corrected a typo in the documentation regarding coverage reports.
1 parent 201fdd1 commit 09f0402

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/faq/code-analysis/why-does-codacy-show-unexpected-coverage-changes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ There are several reasons that could cause Codacy to report unexpected coverage
7676

7777
This can be caused by a failed step in your CI/CD pipeline, for example. In the case of pull requests, you should make sure that you upload all relevant coverage reports for both the **common ancestor commit** and the **head commit** of the pull request branch.
7878

79-
- Ignoring files on Codacy.
79+
- Ignoring files on Codacy vs ignoring files on the coverage report.
8080

81-
[Updating the list of ignored files](../../repositories-configure/ignoring-files.md) can have an impact on the amount of coverable and covered lines of the commits that Codacy compares to calculate the coverage variation metric.
81+
[Updating the list of ignored files](../../repositories-configure/ignoring-files.md) won't have an impact on the amount of coverable and covered lines of the commits that Codacy compares to calculate the coverage variation metric. Codacy calculates Coverage based solely on what is included in the coverage report. Therefore, if there are files you wish to keep from being included in the calculation, you should ensure they are not included in the coverage report.
8282

8383
- External factors affecting the execution of tests.
8484

0 commit comments

Comments
 (0)