Distance from Main Sequence metric (D)
Robert Martin's metric that measures how far a component is from the ideal balance between abstractness and instability.
Formula: D = |A + I - 1| Where:
Interpretation:
When applied to files (file-wise analysis):
Distance from Main Sequence metric (D)
Robert Martin's metric that measures how far a component is from the ideal balance between abstractness and instability.
Formula: D = |A + I - 1| Where:
Interpretation:
When applied to files (file-wise analysis):