The Code Coverage Report provides a consolidated snapshot of the coverage generated for the selected application. It displays essential metrics such as assemblies scanned, classes analyzed, and line and branch coverage percentages. This high-level overview helps users quickly understand overall test effectiveness and identify sections of the codebase that may need additional testing.

Coverage Summary Report

The Coverage Summary Report consists of three major panels:

Information

Displays metadata about the generated report:

Line Coverage

Shows how many executable lines were actually executed:

Branch Coverage

Represents conditional coverage (if/else/switch):

Risk Hotspots

This section identifies high-risk parts of the application where low coverage overlaps with high complexity.

Global Action Icons

Risk Hotspot Table

This table lists high-complexity, low-coverage methods that may require additional testing.

Table Columns

Accessing the Detailed Coverage View

To access the detailed coverage view, the user must click under assembly at the Risk Hotspot table. Clicking on these entries opens the detailed file-level view where the complete source file is displayed with line-by-line coverage indicators, allowing the user to see which lines were covered, partially covered, or completely missed during the execution.

Detailed Coverage Report View

The Detailed Coverage Report View is displayed when the user clicks on any entry under the Assembly or Method column in the Risk Hotspot table. This screen provides a structured breakdown of line and branch coverage for assemblies, namespaces, classes, and individual methods. It allows the user to analyze coverage results at multiple levels and understand precisely where coverage is sufficient and where gaps exist.

Global Action Icons

At the top of the screen, several action controls are available to customize how the coverage information is displayed.

Coverage Table

The central portion of the Report presents a detailed table showing line and branch coverage metrics for each item in the selected grouping. The table includes multiple columns that help users understand coverage at various levels.

Understanding the Coverage Bars

File-Level Coverage View

This screen appears when the user clicks on any method name in the coverage table. It opens a detailed view of the source file, showing line-by-line coverage information for the selected method or file.

Coverage Indicators

Understanding Line Coverage

Executable lines are marked with green, red, or yellow coverage indicators based on their execution status. Non-executable lines such as comments or empty lines do not display coverage colors. Conditional statements may show partial coverage when only some execution paths are triggered during tests.

JaCoCo Based Report

JaCoCo Coverage Report provides detailed metrics showing how much of the codebase is exercised by automated tests. These metrics help developers identify untested code paths, improve test quality, and ensure overall software reliability.

Visual Indicators in the Code View