Metric-OO.CBOs¶
Coupling between objects (excluding statics)
Required inputs: RFG
Number of classes that are coupled to a class C, i.e., the size of the union set of classes that are using fields and methods of C and the classes that are used by C's fields and methods (so both directions count here).
Static data members are not taken into account when looking at the dependencies to and from other classes.
Possible Messages
This rule has no predefined messages.
Options¶
This rule shares the following common options: exclude_messages_in_system_headers, excludes, includes, justification_checker, post_processing, provider, severity
This rule shares the following common metric options: base_view_name, excluded_node_types, hierarchy_edge_name, hierarchy_view_name, propagate, report_all_values, report_propagated_values
The following places define options that affect this rule: Analysis-GlobalOptions
display_name¶
display_name : str | None = 'Coupling between objects (excluding statics)'
max_value¶
max_value : int | None = 5
min_value¶
min_value : int | None = 0
rfg_metric_name¶
rfg_metric_name : str = 'Metric.OO.CBOs'