fvm.toolchains.questa_pkg.parsers.parse_rulecheck module
Warning
Callables that are not documented in the Public API are not intented to be directly used and thus may change between minor versions.
Parser for rulecheck reports.
This module provides functions to parse checks with their types and severities, count occurrences, and group them by severity.
It is specifically for Questa AutoCheck results.
- fvm.toolchains.questa_pkg.parsers.parse_rulecheck.group_by_severity(data)[source]
Group all rulecheck items by their severity.
- Parameters:
data (list of dict) – List of dictionaries with “Type” and “Severity” keys
- Returns:
Dictionary with counts and type per severity
- Return type:
dict
- fvm.toolchains.questa_pkg.parsers.parse_rulecheck.parse_type_and_severity(file_path)[source]
Parse a rulecheck report file and extract Type and Severity information.
- Parameters:
file_path (str) – Path to the report file
- Returns:
List of dictionaries with “Type” and “Severity”
- Return type:
list of dict