codacy / docs

Codacy documentation
https://docs.codacy.com
Other
20 stars 39 forks source link

[DOCS-496] Clarify which commits must have coverage data to calculate each coverage metric #1549

Closed prcr closed 1 year ago

prcr commented 1 year ago

Type of feedback

Feedback

We should explicitly describe which commits must have coverage data so that Codacy can calculate:

Here's another way of explaining the associated logic:

A: Ancestor commit
H: Head commit

A & H =>  Codacy calculates the coverage variation and the diff coverage
!A & H => Codacy calculates diff coverage only (error on coverage variation)
A & !H => Codacy can't calculate any coverage metric (error on both coverage metrics)
!A & !H => Codacy can't calculate any coverage metric (error on both coverage metrics)

Affected pages This feedback applies to the following documentation pages / URLs:

https://docs.codacy.com/coverage-reporter/#validating-coverage

Additional context If applicable, provide any other context or information that could be useful in updating the documentation:

github-actions[bot] commented 1 year ago

Internal Jira issue: DOCS-496