Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DTPDEVEL and version 2025.1

...

Table of Contents
maxLevel2

Overview

The Parasoft MISRA Compliance artifact configures code analysis to run against MISRA guidelines and conforms the data to meet the following reporting specifications defined in MISRA Compliance 2020.

Guideline Enforcement Plan

...

See MISRA Compliance 2020: Achieving Compliance with MISRA Coding Standards for additional details and information.

Prerequisites

Supported Guidelines
Anchor
supportedGuidelines
supportedGuidelines

The MISRA Compliance artifact supports the following specific MISRA implementations:

  • MISRA C 2023
  • MISRA C 2025
  • MISRA C++ 2023

Prerequisites

This compliance artifact supports code analysis executed by C/C++This compliance artifact supports code analysis executed by C/C++test (Standard or Professional) with the Flow Analysis license feature enabled.

...

  1. Analyze code with C/C++test using the MISRA C 2023 or MISRA C++:2023 test a corresponding MISRA test configuration and report violations to DTP.
  2. Install the Automotive Compliance Pack into DTP Extension Designer, which also installs the MISRA Compliance assets.
  3. Deploy the MISRA DTP Workflow to your DTP environment and add the MISRA dashboard and widgets to your DTP interface.
  4. Interact with the widgets and reports to identify code that needs to be fixed, as well as print out the reports for auditing purposes.
Note
titleAchieving 100% Compliance

DTP reports compliance against MISRA C 2023 and MISRA C++:2023 the corresponding MISRA compliance guidelines that are enforceable with Parasoft static analysis and enabled in the MISRA C 2023 and MISRA C++:2023 corresponding compliance reporting.

MISRA Compliance Extension Assets

The Parasoft MISRA Compliance artifact helps you create the documentation required for demonstrating compliance with MISRA C 2023 or MISRA C++:2023. supported MISRA guidelines. The following assets are included:

  • Compliance categories and guidelines: These files add the MISRA Compliance option to DTP interfaces, such as widget configuration settings.  The following compliance categories and guidelines are included in the artifact:
    • MISRA C:2023 Categories
    • MISRA C:2023 Guidelines
    • MISRA C++:2023 Categories
    • MISRA C++:2023 Guidelines
    • MISRA C:2025 Categories
    • MISRA C:2025 Guidelines
  • Test configurations: These files specify which code analysis rules to execute. You can configure C/C++test to run the local test Test configurations: These files specify which code analysis rules to execute. You can configure C/C++test to run the local test configuration or to run the test configuration uploaded to DTP when the compliance pack is installed.  
    The following test configurations are included in the artifact:
    • MISRA C 2023 (MISRA C 2012)
    • MISRA C++ 2023
    • MISRA C 2025
  • Dashboard template: Dashboard template: This file enables you to add the MISRA C 2023 or MISRA C++:2023 dashboard corresponding MISRA compliance guidelines that includes a pre-defined set of MISRA-related widgets. The following template files are included in the artifact: 
    • MISRA C 2023 (MISRA C 2012) Compliance
    • MISRA C++ 2023 Compliance
    • MISRA C 2025 Compliance
  • Model and profile: These files drive the report compliance reports necessary for demonstrating MISRA compliance. See Profile Configuration for additional information.necessary for demonstrating MISRA compliance. See Profile Configuration for additional information. The following models and profiles are included in the artifact:
    • Models
      • MISRA Compliance
    • Profiles
      • MISRA C 2023 (MISRA C 2012)
      • MISRA C++ 2023
      • MISRA C 2025
  • DTP Workflow: This is the DTP Enterprise Pack artifact that includes the widgets, reports, and processing logic that show violations in the context of MISRA guidelines.   

...

The MISRA dashboard is configured to show custom widgets shipped as part of the MISRA artifact. The dashboard also contains select native DTP widgets configured to show code analysis data within the context of the corresponding MISRA C 2023guidelines. The information in this section is also covered in the Adding Dashboards chapter.

  1. Click Add Dashboard and specify a name when prompted.
  2. (Optional) You can configure the default view for the dashboard by specifying the following information:
    • Choose the filter associated with your project in the filter menu. A filter represents a set of run configurations that enabled custom views of the data stored in DTP. See DTP Concepts for additional information.
    • Specify a range of time from the Period menu. 
    • Specify a range of builds from the Baseline Build and Target Build menus.  
  3. Enable Create dashboard from a template and choose MISRA C 2023 (MISRA C 2012) Compliance or MISRA C++:2023 Compliance from a MISRA compliance guideline from the menu.
  4. Click Create to finish adding the dashboard.

See Viewing MISRA Compliance Widgetsfor  for information about understanding the widgets shipped with the MISRA compliance artifact.

...

The MISRA Compliance DTP Workflow ships with model profiles (see Working with Model Profiles) configured to monitor compliance with MISRA C 2023 and MISRA C++ 2023the corresponding MISRA compliance guideline. The profile includes information necessary for generating compliance reports (see Viewing MISRA Compliance Reports), such as fields for specifying your compiler and guideline categorization and re-categoriziationcategorization.  You You can modify the profile if you want to re-categorize guidelines to meet you specific goals or specify additional metadata for your reports. Changes will be reflected in the Guideline Re-categorization Plan.

...