Validation Results View

The validation-view Validation Results view displays all validation messages of your DaVinci Adaptive project.

Shortcuts

Open Validation Results View

CTRL + SHIFT + D, 1

Open Validations Results View

To open the Validation Results view, expand your DaVinci Adaptive project in the DaVinci Project Explorer and double click on da-vinci-developer-adaptive Open Project Dashboard. The Project Frame opens showing the Project Home.

You can then open the Validation Results view as follows:

  • Open the editors Editor menu on the top right of the Project Dashboard and click validation-view Validation Results View.

  • Alternatively, go to the DaVinci Project Explorer, right click on da-vinci-developer-adaptive Open Project Dashboard and select validation-view Validation Results View.

  • Alternatively, go to the Dashboard page of the Project Home, then to the Validation Results in Scope area and click the Open Validation Results View button.

The Validation Results view opens.

Validation Results Grid

The grid of the Validation Results view provides the following columns:

  • ID: ID of the validation message.

  • Message: Description of the respective element, such as of the validation message group or the solving action.

  • Source Projects: Displays the source project to which the validation message belongs.

  • Active Scope: Displays the root objects of the active model scopes.

  • Acknowledgment: Displays the acknowledgment comment of a warning or information element if existing.

    • Add Acknowledgment: Right-click in the column Acknowledgment and select select Acknowledge.
      The element is now acknowledged and the acknowledgment comment is displayed in the column Acknowledgment.

    • Remove Acknowledgment: Go to a cell with an Acknowledgment. Right-click in the column Acknowledge and select un-select Remove Acknowledgment.

The validation messages are grouped by their ID. By expanding an ID group, the related error objects are displayed as well as the proposed solving actions if available.

You can open a validation message or error object in the AUTOSAR Model Explorer by double clicking on the respective entry in the grid. Alternatively, open the context menu of a validation message or error object and select autosar Open in AUTOSAR Model Explorer.

Toolbar

The toolbar on the top right of the Validation Results view provides the following features:

  • check-consistency Run DaVinci Adaptive Validation
    Click this icon to run the validation process for the selected project.
    Unless configured otherwise in the Generator Configuration View, the validation runs with default settings.

  • generate Run DaVinci Adaptive Generation
    Click this icon to run the generation process for the selected project.
    Unless configured otherwise in the Generator Configuration View, the generation runs with default settings.

  • generator-configuration Open Generator Configuration View
    Click this icon to open the Generator Configuration View.

  • code-generator Open Generation Results View
    Click this icon to open the Generation Results view.

  • error Show/Hide Error Results
    Click this icon to show or hide validation messages of type error.

  • warning Show/Hide Warning Results
    Click this icon to show or hide validation messages of type warning.

  • info Show/Hide Info Results
    Click this icon to show or hide validation messages of type information.

  • un-select Show Outdated Acknowledgments
    Click this icon to open a dialog in which you can view and manage acknowledgments that are not valid anymore.

  • filter-selected Show/Hide Acknowledged Result

    Click this icon to show or hide messages with an acknowledgment.

  • generate-filter Show/Hide Non-Generator Result
    Click this icon to show or hide messages that are not from the generators.

  • show-all-validation-results All validation results / show-validation-results-in-active-scope Validation results that pass the filter
    By default, the Validation Results view shows all validation messages for the currently active model scopes as well as for elements without a scope.
    To deactivate the filter filter, click the show-validation-results-in-active-scope icon. To activate the filter, click the show-all-validation-results icon.

  • filter Select from active model scopes for which the Validation Results view should show validation results
    Click this icon to select the active model scopes from which the Validation Results view should display the validation messages.
    Icon states:

    • filter-gray Inactive filter as show-all-validation-results All validation results is activated.

    • filter-not-set No filter is set.

  • full-validation-request Execute a Full Validation of the Project
    Click this icon to start a complete validation of the model.

Validation Types

The Validation Results view shows validation messages that are contributed in two ways:

  • Live Validation
    The live validation is performed in the background and is automatically triggered by model changes. The live validation is performed for all model changes independently of the scopes.

  • On-Demand Generator Validation
    The on-demand generator validation is performed in the validation phase before starting the code generation or on explicit user request.

When DaVinci Developer Adaptive is restarted or a DaVinci Adaptive project is reloaded, only the elements contained in an active model scope are validated. That is, in such a case, fewer results may be displayed.

The validation messages of these two validation types are marked with different icons. Refer to Result Types below.

Result Types

The different result types of validation messages are marked with different icons in the Validation Results view:

Icon Description Validation Message Type

info

Information

Validation message of type information. The result type information is not relevant for the generation process.

info-auto-resolve

Information with Solving Action

Validation message of type information including a possible solving action. The result type information is not relevant for the generation process.

info-generator

On-Demand Information from External Generator

Validation message of type information from an external generator. The result type information is not relevant for the generation process.

info-generator-with-auto-resolve

On-Demand Information with Solving Action from External Generator

Validation message of type information from an external generator including a possible solving action. The result type information is not relevant for the generation process.

warning

Warning

Validation message of type warning. The result type warning is important for the generation process and should be solved.

warning-auto-resolve

Warning with Solving Action

Validation message of type warning including a possible solving action. The result type warning is important for the generation process and should be solved.

warning-generator

On-Demand Warning from External Generator

Validation message of type warning from an external generator. The result type warning is important for the generation process and should be solved.

warning-generator-with-auto-resolve

On-Demand Warning with Solving Action from External Generator

Validation message of type warning from an external generator including a possible solving action. The result type warning is important for the generation process and should be solved.

error

Error

Validation message of type error. The result type error is very important for the generation process and must be solved.

error-auto-resolve

Error with Solving Action

Validation message of type error including a possible solving action. The result type error is very important for the generation process and must be solved.

error-generator

On-Demand Error from External Generator

Validation message of type error from an external generator. The result type error is very important for the generation process and must be solved.

error-generator-with-auto-resolve

On-Demand Error with Solving Action from External Generator

Validation message of type error from an external generator including a possible solving action. The result type error is very important for the generation process and must be solved.

solving-action Solving Actions

The solving actions support you in solving inconsistencies in the model. Expand a validation message in the grid of the Validation Results view.

If available, one or more solving actions are displayed as a separate line element marked with solving-action under the validation message.

Solving actions can be executed using one of the following options:

  • Double Click

    Double click on a solving action to execute it as described.

  • Context Menu of Solving Action Element

    Open the context menu of a solving action and click solving-action Solve to execute it as described.

  • Context of Validation Message

    Open the context menu of a validation message and select one of the solving actions to execute it as described.

  • Bulk Result of Validation Message Group

    For some validation messages, a bulk solving action is available that executes all solving actions of a validation message group:

    • Open the context menu of a validation message group and select solving-action Solve all with to execute it as described.

Jump to configuration-element-error Erroneous Configuration Element

When the configuration-element-error Erroneous Configuration Element icon is shown in the Message column, you can quickly jump to the element where the error has occurred by:

  • double-clicking on it.

  • right-clicking on it and selecting your preferred editor.

When there is an error, you can look up the configuration-element-related Related Configuration Element and find out how the affected element is defined in the model. This helps you problem-solve.

How to jump to the Related Configuration Element:

  • Double-click on the configuration-element-related Related Configuration Element in the column Message in the Validation Results view.

  • Alternatively, right-click on the configuration-element-related Related Configuration Element and select your preferred editor.