<img src="https://secure.leadforensics.com/794635.png" style="display:none;">
Skip to content

Improve code coverage
where it matters the most

CodeScene's code coverage feature offers more than standard code coverage analysis. It combines coverage metrics to identify and mitigate high-risk areas by integrating with CodeScene analytics and metrics. Plus, it evaluates the sufficiency of coverage for planned refactoring efforts.

Empowering the world’s top engineering teams

logo-ea-2 logo-cisco-2 logo-philips-2 logo-bet365-2 logo-sky-2 logo-wd-2 logo-swarovski-2
logo-ea-2 logo-cisco-2 logo-philips-2 logo-bet365-2 logo-sky-2 logo-wd-2 logo-swarovski-2

Visualize code coverage with context

Code coverage is a set of metrics that indicate the extent to which your source code is executed by automated tests. There is no universally "good" coverage score; the ideal level of coverage depends on the context.

feature-cc-swp

Code coverage across all projects

Get a comprehensive overview of code coverage across all your projects in one place with Software Portfolio. Monitor and compare the code coverage of your entire codebase, identify trends, spot potential issues, and ensure consistent quality across your projects.

Whether you’re managing multiple teams or just want a high-level view, the Software Portfolio keeps you informed and in control.

Improve code coverage in high-risk areas

Hotspots—frequently changed, high-risk files—are more prone to bugs. CodeScene’s Hotspot code coverage guides you to improve coverage in these critical areas, supporting safer refactoring and smarter testing priorities.

feature-code-coverage-2
error_24dp_172E52_FILL0_wght400_GRAD0_opsz24

Mitigate risks

Identify feature areas with low coverage before planning refactoring tasks. For example, refactoring a complex hotspot that doesn't have adequate test coverage would be high risk.

document_search_24dp_172E52_FILL0_wght400_GRAD0_opsz24

Detect deeper issues

CodeScene lets you combine your views to identify hotspots that have low code coverage, low CodeHealth™, and many defects. That way, you can communicate the needs for pro-active improvements.

schema_24dp_172E52_FILL0_wght400_GRAD0_opsz24

Explore by project or organization

Quickly see if a project has decreased in code coverage and, if so, find out why and how to address it. Also follow progress on organizational level in conjunction with CodeHealth™ metrics.

How our code coverage metric differs?

CodeScene goes beyond raw percentages—by combining coverage with Hotspots, refactoring targets, and risk metrics, you’ll know exactly where coverage matters most.

trending_up_24dp_FFFFFF_FILL0_wght400_GRAD0_opsz24

Improve Hotspot Code Coverage

Through the concept of Hotspots, improve and explore code coverage where it matters most - in your code's hotspots: the most frequently changed modules.

query_stats_24dp_FFFFFF_FILL0_wght400_GRAD0_opsz24-1

Recommended Code Coverage improvements

Integrate CodeScene insights on high-risk code, high frequency of changes, and your team's knowledge. CodeScene will suggest areas where to enhance your code coverage.

target_24dp_FFFFFF_FILL0_wght400_GRAD0_opsz24

Combine with Refactoring Targets

Integrate Code Coverage metrics to decrease risks when performing refactoring to decrease technical debt using CodeScene.

checklist_rtl_24dp_FFFFFF_FILL0_wght400_GRAD0_opsz24

Support across multiple tools and formats

Get Code Coverage tracking for Cobertura XML Format, LCov/GCov Format, Clover XML Format, JaCoCo Format, OpenCover Format, BullsEye, Ncover.

“I would recommend CodeScene, especially to someone who is coming into a really large application and has poor Code Health. It feels really daunting to try to fix everything at once. CodeScene helps you prioritize what files to work on and which ones will have the most impact if you are to improve code quality.” 
Read Carterra case study

Combine code coverage with CodeScene's core KPIs

Combined with CodeHealth™ metrics, you'll quickly identify high-risk files with low health, high development activity and low coverage.

trending_down_24dp_172E52_FILL0_wght400_GRAD0_opsz24

Decrease technical debt with refactoring

Understand if your planned refactoring is well covered by tests at the function or branch level. For high-value refactoring with low coverage, plan a task to increase coverage before addressing the actual refactoring.

quick_reference_all_24dp_172E52_FILL0_wght400_GRAD0_opsz24

Meet test goals with project overview

Meet your team's test goals for code coverage. Identify projects that have decreased in meeting the goals, simply assign tasks to developers to create or improve tests.

graph_1_24dp_172E52_FILL0_wght400_GRAD0_opsz24

Determine release readiness

Use visualizations to determine the risk associated with the release. With coverage scores, help the team to make informed decisions about whether additional testing is needed or if the product can be released.

feature-cc-trends-2

Stay on top of coverage performance

Track code coverage trends and key KPIs—like code coverage and Hotspot code coverage—to identify areas for improvement and ensure your testing efforts align with quality standards.

More powerful features

Here’s a sneak peek at some exciting new capabilities we’re working on to make your experience even better.

target_24dp_FFFFFF_FILL0_wght400_GRAD0_opsz24

Goals

Meet your team's goals for code coverage. Identify projects that have decreased in meeting the goals, simply assign tasks to developers to create or improve tests.

graph_1_24dp_FFFFFF_FILL0_wght400_GRAD0_opsz24

Coverage gates in your Pull Requests

Receive immediate feedback on whether new changes meet the required coverage standards. Set up quality gates to enforce your coverage standards, and find high-risk areas.

fact_check_24dp_FFFFFF_FILL0_wght400_GRAD0_opsz24

Recommendations

Explore findings to focus on, which are based on tested code percentages, Code Health, and knowledge distribution, especially in high-activity files.

stroke_partial_24dp_FFFFFF_FILL0_wght400_GRAD0_opsz24

Code Coverage on components

Assess the coverage of specific components, and identify gaps in testing that might lead to undetected bugs or regressions. 

Start improving your code coverage

Gain full visibility into your code coverage with CodeScene’s smart insights as you understand what’s tested, what’s not, and where it matters most.