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

display_name

display_name : str | None = 'Days since the code last changed'

Description of the metric shown in the dashboard. If None, rfg_metric_name is used.
 

max_value

max_value : int | None = None

Maximum allowed value. None if unlimited.
 

min_value

min_value : int | None = 0

Minimum allowed value. None if unlimited.
 

rfg_metric_name

rfg_metric_name : str = 'Metric.VCS.Age'

Name of the node attribute storing the metric value in the RFG.