6.2.5.26. Architecture-CheckRFGEquality

Check equality of the given two graphs

Required inputs: RFG

This rule compares the content of two RFG and issues warnings if differences were detected.

Possible Messages

This rule has no predefined messages.

Options

excluded_edge_attributes

excluded_edge_attributes : set[str] = set()

Set of excluded edge attributes.
 

excluded_linkage_name_globbing

excluded_linkage_name_globbing : str = ''

Set of excluded linkage name globbing patterns.
 

excluded_node_attributes

excluded_node_attributes : set[str] = set()

Set of excluded node attributes.
 

excluded_predicate

excluded_predicate : typing.Callable[[_dg.Node], bool] | None = None

Predicate for excluded nodes. By default, none are excluded.
 

excluded_view_names

excluded_view_names : set[str] = set()

Set of excluded views.
 

export_warnings

export_warnings : bool = True

Export output messages to the analysis database.
 

loglevel

loglevel : LogLevel = 'WARNING'

Logging mode. WARNING only outputs errors and warnings, INFO additionally prints info messages, DEBUG additionally outputs info and debug messages.
 

maximal_reported_errors_per_type

maximal_reported_errors_per_type : int = 20

Maximal number of reported errors per type.
 

remove_substrings_from_source_path

remove_substrings_from_source_path : set[str] = set()

Set of substrings to remove from the source path.
 

second_graph

second_graph : bauhaus.analysis.config.LayerRelativePath | None = None

Second graph to compare the given graph with.
 

stop_after_first_mismatch

stop_after_first_mismatch : bool = False

Stop check after first mismatch found.
 

verbose

verbose : bool = False

Verbose output.
 

Option Types

These types are used by options listed above:

LogLevel

An enumeration.
 
  • WARNING

  • INFO

  • DEBUG