Coverage Analysis and Test Traceability

Powered by Parasoft Jtest, the enterprise development testing solution for Java

Try Parasoft Jtest

Coverage analysis and test traceability for Java

Use Parasoft Jtest to get broader visibility into what you’re testing, how well you’re testing it, and how to customize test plans based on priorities. Jtest captures code coverage from testing frameworks and at runtime for desktop/web applications. By associating coverage with specific tests (including manual tests, automated functional tests, and unit tests), Jtest helps you understand which tests you need to re-execute to validate code changes, while requirement-to-test information enables users to validate that their requirements have been sufficiently covered by their tests.

Java coverage

How does it work?

For unit testing, Jtest collects coverage data for unit tests that are run from different build systems (Ant, Maven or Gradle), IDEs (Eclipse and IntelliJ), and the most popular testing framework (JUnit). Jtest analyzes every line of code and marks it as covered if it was executed during the testing process. Total coverage is the ratio of covered lines to all the lines which could have been covered. Users can easily check if their code has been thoroughly tested by inspecting coverage reports, or check if they are meeting a code coverage requirement. Parasoft’s coverage report enables the user to easily identify the lines and portions of code that were not covered.

Jtest also enables customers to monitor standalone and web applications to collect coverage information for code that was executed when an application was running. QAs and testers can collect coverage data from their manual or automated testing sessions, and Jtest can easily integrate with third-party test execution software for an automated process.

To provide effective test traceability, Parasoft tracks the covered code per test, especially useful when a user wants to check what exactly is tested by their test case, or to ensure proper test isolation (for instance, if a unit test executes unintended code, that accesses locally-stored files or modifies the environment, the user can stub or mock it). By associating tests with development artifacts, such as requirements, tasks, or feature requests in a requirement or task management system, Parasoft can collect requirement-to-test and test-to-coverage information to enable users to check if their feature implementations are properly covered by their tests.

Try Parasoft Jtest


Parasoft Jtest collects coverage based on runtime execution (any kind of Java desktop or web application) and informs the user about which lines of code were executed to complete tests, so he or she can identify areas and features that have been sufficiently or tested or not tested at all. This helps users ensure that their code is thoroughly tested and that individual tests are covering the code that they are meant to test.

Parasoft Jtest can differentiate coverage on a per-test basis, regardless of whether the test is a manual test, automated functional test, or unit test. During runtime, multiple users can be touching the code at the same time, so Jtest associates coverage with the individual users who are simultaneously accessing the same web application, to associate test failures and static analysis violations to the person responsible.

Parasoft Jtest presents analysis results in a number of different forms so users can get the information they need in a way that’s most convenient. Users can get results in the IDE code editor (color-coded markers indicate covered and uncovered code), as customizable HTML or PDF reports, or dynamically on a web server to combine coverage results from different test runs into one dynamic dashboard with custom widgets.

In this dynamic view, users can navigate the details associated with the aggregated coverage to look at not only code that was touched, but which tests are touching those pieces of code. Parasoft’s Process Intelligence Engine provides further analysis and post-processing of results, with deeper historical insights and actionable analytics, along with rich traceability and reporting capabilities. Parasoft can merge coverage results from the consecutive test runs and present it back to the user in the IDE to reflect recent code changes.

Parasoft Jtest ships with out-of-the-box plugins for integrating with Ant, Maven, and Gradle build systems, and runs from the IDE (Eclipse, IntelliJ) to allow users to easily monitor tests and applications.

Benefit from the Parasoft Approach

Want to learn more?

Parasoft Jtest integrates with a wide variety of software, tools, and frameworks,
so you can easily adopt and scale within your existing development environment.