Metric-VCS.Age¶
Days since the code last changed
Required inputs: RFG
Counts the days between the analyzed version and the most recent change to any line of the entity, so an old routine with one line changed yesterday counts as changed yesterday.
Requires an analysis run by axivion_ci with a version
control system configured, and is absent for one that does not report when a
line last changed.
Possible Messages
This rule has no predefined messages.
Options¶
This rule shares the following common options: confidence, 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 = 'Days since the code last changed'
max_value¶
max_value : int | None = None
min_value¶
min_value : int | None = 0
rfg_metric_name¶
rfg_metric_name : str = 'Metric.VCS.Age'