Flexible and Dynamic Reporting and Analytics for C/C++ Software Testing

Parasoft’s extensive reporting capabilities bring the results of Parasoft C/C++test into context. Test results can be quickly accessed by developers directly in the IDE, reports can be automatically generated as part of CI builds and printed for code audits in safety-critical organizations, and results from across builds can be aggregated into Parasoft’s web-based reporting system (giving the team a detailed view without requiring access to the code within their IDE). In the reporting dashboard, Parasoft’s Process Intelligence Engine helps managers understand the quality of a project over time, illustrating the impact of change after each new code change, and integrating with the overall toolchain and providing advanced analytics that pinpoint areas of risk.

Reporting and Analytics

How does it work?

Parasoft C/C++test helps teams efficiently understand results from software testing by reporting and analyzing results in multiple ways.

Directly in the developer’s IDE, users can view:

  • Static analysis findings (warnings and coding standard violations)
  • Unit testing details (passed/failed assertions, exceptions with stack traces, info/debug messages)
  • Runtime analysis failures (with allocation stack traces)
  • Code coverage details (percentage values, code highlights, including coverage-test case correlation)
  • Change impact analysis that demonstrates the indicates which tests have failed or need retesting based on recent code changes.

From Parasoft’s centralized reporting dashboard, users can view all of the above plus the additional:

  • Aggregated visual reporting of the entire project status through dynamic dashboards with customizable reporting widgets
  • Deep-dive information from each dashboard element
  • Granular filtering and advanced analytics
  • File and source code access with traces for unit test results and static analysis warning and coding standard violations
  • Report generation and compliance evaluation

The Quality Tasks view in the IDE makes it easy for developers to sort and filter the results (i.e. group per file, per rule, per project, etc.). Developers can make annotations directly in the source code editors to correlate issues with the source code, and for better understanding the context of reported issues and how to apply a fix. Code coverage information is presented as visual highlights displaying directing the code editors, together with percentage values (for project, file, and function) in a dedicated Coverage view.

Analysis results for both IDE and command line workflows can also be exported to standard HTML and PDF reports, for local reporting. For safety-critical software development, C/C++test provides an additional dedicated report format that provides details about unit test case configuration and the log of results from test execution, so the user has a complete report of how the test case was constructed and what happened during runtime. 

For team collaboration, C/C++test publishes analysis results to a centralized server so developers can access results from automated runs and project managers can quickly assess the quality of the project. Reported results (static analysis findings, metric analysis details, unit testing details, code coverage details, and source code details) are stored with a build identifier, for full traceability between the results and the build.
 

Features

Parasoft C/C++test provides dedicated views and source code annotations/markers directly in the IDE (Eclipse, Visual Studio), so developers can access results from C/C++test (i.e. static analysis violations, unit testing failures, code coverage information) without leaving the IDE to efficiently analyze results, apply corrections, and re-execute tests quickly.

When integrating into CI/CD workflows, Parasoft users benefit from a centralized and flexible web-based interface for browsing results. The dynamic, web-based reporting dashboard includes customizable reporting widgets, source code navigation, advanced filtering, and advanced analytics from Parasoft’s Process Intelligence Engine. Users can access historical data and trends, apply baselining and test impact analysis, as well as integrate with external systems (e.g. for test-requirements traceability).

For each and every test performed, including manual, system level or UI-based, tests are recorded for not just test/fail and results but also their coverage impact on the code base. Each additional test is overlaid on this existing information, creating a complete picture of test success and coverage. As code is changed, the impact is clearly visible on the underlying record, highlighting tests that now fail or code that is now untested. Raising this information in various degrees of detail allows developers and testers to quickly identify what needs to be altered/fixed for the next test run.

In addition to change impact analysis, static analysis can be used to highlight areas of the code that appear more risky than others. Risk can take the form of highly complex code, or an unusually high number of coding standard violations or a high number of reported static analysis warnings. These are areas of code that may require additional test coverage and even refactoring. 
 

Parasoft C/C++test provides specific reporting capabilities suited to functional-safety development, for example the following reports:

  • Unit Testing Execution Details Tests to Requirements Traceability
  • Test to Code Coverage Traceability

Industry-specific Compliance Packs provide a dedicated, standard-driven report template to help teams comply with industry standards and provide automatically-generated reports required for code audits.
 

Benefit from the Parasoft Approach

Want to learn more?

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