For the complete documentation index, see llms.txt. This page is also available as Markdown.

New Coverage Calculation Options

Technology compatibility:

  • Java: Supported from version 4.0.2531 onwards.

SeaLights is excited to announce two groundbreaking additions to your code coverage analysis toolkit: Advanced Method Coverage and Line Level Coverage. These features offer an unparalleled level of granularity, empowering you to assess how effectively your tests exercise your codebase.

New Calculation for SeaLights Coverage Metrics

Advanced Method Coverage

Advanced Method Coverage goes beyond the basic question of whether a method was invoked during testing. Instead, it delves deeper, calculating the percentage of code lines actually executed within each method. This provides a clearer picture of test effectiveness, especially for methods with intricate logic. By identifying sections within methods that lack coverage, you can pinpoint areas that might require additional testing efforts, ultimately leading to a more comprehensive understanding of your code's functionality.

Using this option affects both the Overall Coverage and Code Changes Coverage (Modified Coverage) metrics, as they now take into account the percentage of executed lines within each method.

Line-Level Coverage

Beyond method-level coverage metrics (Overall Coverage and Code Changes Coverage), SeaLights offers a complementary line-level coverage metric: Overall Line Coverage.

This metric takes a more granular approach, calculating the percentage of executable lines within methods that were executed during any testing stage. It provides a broader view of how thoroughly your test suite exercises the code across your entire application.

The Benefits of Utilizing Both Features Together

By leveraging both Advanced Method Coverage and Line Level Coverage, you can achieve a holistic understanding of how thoroughly your tests exercise your code. This comprehensive view empowers you to make data-driven decisions about where to focus your testing efforts for maximum impact. Ultimately, this improved code coverage analysis leads to the development of more robust and reliable software.

Getting Started

These powerful features are readily available within SeaLights. To unlock their full potential and delve deeper into the details of these calculation methods, configuration options, and best practices, visit our dedicated Coverage Calculation page.

New Coverage Settings Button
New Coverage Settings Popup
Build Coverage Calculation Indication

Last updated

Was this helpful?