Skip to content

Comments

feat: new Coverage and overview metrics#2590

Open
claudiacodacy wants to merge 32 commits intomasterfrom
coverage-and-overview-metrics
Open

feat: new Coverage and overview metrics#2590
claudiacodacy wants to merge 32 commits intomasterfrom
coverage-and-overview-metrics

Conversation

@claudiacodacy
Copy link
Contributor

@claudiacodacy claudiacodacy commented Feb 20, 2026

👀 Live preview

https://coverage-and-overview-metrics--docs-codacy.netlify.app/organizations/reporting/organization-overview/

🚧 To do

  • If relevant, include the Jira issue key at the end of the pull request title
  • Perform a self-review of the changes
  • Fix any issues reported by the CI/CD

Test plan proposal

  • Verify that all internal anchor links (e.g., #grade, #coverage, #overview-filters) resolve to the correct sections on the rendered page
  • Confirm the Markdown tables in the 'Code health and security' and 'Coverage' sections render correctly without layout shifts or broken rows
  • Validate that all newly referenced images (e.g., organization-overview-grade.png) exist in the repository and display correctly
  • Check that external links to GitLab and Bitbucket documentation are functional and lead to the correct API references

claudiacodacy and others added 25 commits February 19, 2026 16:18
Co-authored-by: codacy-production[bot] <61871480+codacy-production[bot]@users.noreply.github.com>
Co-authored-by: codacy-production[bot] <61871480+codacy-production[bot]@users.noreply.github.com>
Co-authored-by: codacy-production[bot] <61871480+codacy-production[bot]@users.noreply.github.com>
Co-authored-by: codacy-production[bot] <61871480+codacy-production[bot]@users.noreply.github.com>
Co-authored-by: codacy-production[bot] <61871480+codacy-production[bot]@users.noreply.github.com>
Co-authored-by: codacy-production[bot] <61871480+codacy-production[bot]@users.noreply.github.com>
@claudiacodacy claudiacodacy requested a review from a team as a code owner February 20, 2026 14:45
@github-actions github-actions bot temporarily deployed to Netlify February 20, 2026 14:45 Inactive
@github-actions
Copy link
Contributor

github-actions bot commented Feb 20, 2026

Overall readability score: 54.18 (🟢 +0.06)

File Readability
organization-overview.md 62.32 (🟢 +13.89)
View detailed metrics

🟢 - Shows an increase in readability
🔴 - Shows a decrease in readability

File Readability FRE GF ARI CLI DCRS
organization-overview.md 62.32 38.92 8.71 11.8 12.87 6.4
  🟢 +13.89 🟢 +5.78 🟢 +3.05 🟢 +2.6 🟢 +0.3 🟢 +1.09

Averages:

  Readability FRE GF ARI CLI DCRS
Average 54.18 43.04 10.94 12.32 12.22 8.01
  🟢 +0.06 🟢 +0.02 🟢 +0.01 🟢 +0.01 🟢 +0 🟢 +0
View metric targets
Metric Range Ideal score
Flesch Reading Ease 100 (very easy read) to 0 (extremely difficult read) 60
Gunning Fog 6 (very easy read) to 17 (extremely difficult read) 8 or less
Auto. Read. Index 6 (very easy read) to 14 (extremely difficult read) 8 or less
Coleman Liau Index 6 (very easy read) to 17 (extremely difficult read) 8 or less
Dale-Chall Readability 4.9 (very easy read) to 9.9 (extremely difficult read) 6.9 or less

@codacy-production
Copy link
Contributor

codacy-production bot commented Feb 20, 2026

Codacy's Analysis Summary

0 new issue (≤ 0 minor issue)
0 new security issue

Review Pull Request in Codacy →

AI Reviewer available: add the codacy-review label to get contextual insights without leaving GitHub.

codacy-production[bot]

This comment was marked as outdated.

Co-authored-by: codacy-production[bot] <61871480+codacy-production[bot]@users.noreply.github.com>
@github-actions github-actions bot temporarily deployed to Netlify February 20, 2026 14:51 Inactive
codacy-production[bot]

This comment was marked as outdated.

@github-actions github-actions bot temporarily deployed to Netlify February 20, 2026 14:54 Inactive
codacy-production[bot]

This comment was marked as outdated.

claudiacodacy and others added 2 commits February 20, 2026 15:01
Co-authored-by: codacy-production[bot] <61871480+codacy-production[bot]@users.noreply.github.com>
@github-actions github-actions bot temporarily deployed to Netlify February 20, 2026 15:03 Inactive
codacy-production[bot]

This comment was marked as outdated.

@github-actions github-actions bot temporarily deployed to Netlify February 20, 2026 15:34 Inactive
codacy-production[bot]

This comment was marked as outdated.

@github-actions github-actions bot temporarily deployed to Netlify February 23, 2026 11:45 Inactive
@github-actions github-actions bot temporarily deployed to Netlify February 23, 2026 11:51 Inactive
Copy link
Contributor

@codacy-production codacy-production bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

The pull request is well-structured and follows the project's quality standards. No blocking security or logical issues were found. Suggestions are provided to enhance the clarity of the metric descriptions and maintain document consistency.

Test plan proposal

  • Verify that the average grade calculation on the 'Grade' tab correctly processes exactly the 100 most recently updated repositories.
  • Confirm that the 'Complexity' section highlighting logic correctly reflects the goals defined at the repository level.
  • Validate that 'Coverage' for paid plans is calculated as a line-based aggregate (sum of covered / sum of coverable) rather than an average of individual repository percentages.
  • Ensure the 'Duplication' distribution correctly categorizes repositories that have no configured quality goals.

About this PR

  • The pull request title is missing a Jira issue key. Consider updating it to follow the format: feat: [JIRA-123] new Coverage and overview metrics.

🗒️ Improve review quality by adding custom instructions.
💡 Codacy uses AI. Check for mistakes.


This panel shows, from the top 100 most recently updated repositories, which repositories are above goal, below goal, or have no goal. Because complexity is better when lower, repositories above goal are highlighted so you can review and act on them.

At the bottom of the tab, the complex files distribution helps you understand which files are complex because they are above goal, below goal, or in repositories without a goal. Files are not filterable, while repository goal distributions are.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 MEDIUM RISK

This sentence contradicts the definition provided a few lines above. If a file is 'below goal', it should not be categorized as 'complex' according to the criteria on line 98.

This might be a simple fix:

Suggested change
At the bottom of the tab, the complex files distribution helps you understand which files are complex because they are above goal, below goal, or in repositories without a goal. Files are not filterable, while repository goal distributions are.
At the bottom of the tab, the file distribution helps you understand which files are above goal, below goal, or in repositories without a goal. Files are not filterable, while repository goal distributions are.


In this tab, you can understand your organization's complexity status (based on the number of complex files) and how repositories compare against their [goals](../../repositories-configure/adjusting-quality-goals.md). A file is considered complex if its cyclomatic complexity value is higher than the goal defined at repository level. To learn more, see [how metrics are calculated](../../faq/code-analysis/which-metrics-does-codacy-calculate.md#complexity).

This panel shows, from the top 100 most recently updated repositories, which repositories are above goal, below goal, or have no goal. Because complexity is better when lower, repositories above goal are highlighted so you can review and act on them.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚪ LOW RISK

Suggestion: The current phrasing is a bit informal. Improving the tone enhances the professional quality of the documentation.

Try running the following prompt in your IDE agent:

Rephrase the sentence to be more professional and technically precise: 'Because complexity is better when lower, repositories above goal are highlighted so you can review and act on them.'

At the bottom of the tab, the complex files distribution helps you understand which files are complex because they are above goal, below goal, or in repositories without a goal. Files are not filterable, while repository goal distributions are.

## Duplication
![Image of the Duplication tab](./images/organization-overview-duplication.png)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚪ LOW RISK

Nitpick: Maintaining consistent spacing between headers and assets improves document readability and follows the pattern established in the previous sections.

This might be a simple fix:

Suggested change
![Image of the Duplication tab](./images/organization-overview-duplication.png)
## Duplication
![Image of the Duplication tab](./images/organization-overview-duplication.png)

- The overall quality chart displays information for **at most the last 100 updated repositories**.
On this page, you can also see the **Organization setup** area, which provides you with a checklist of items that you should complete to ensure that your organization is set up correctly and that you're getting the most out of Codacy.

<div id="overall-quality-chart"></div>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<div id="overall-quality-chart"></div>

what for?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants