A modified version of Distance from Main Sequence that accounts for file size.
Files with more code are expected to be more complex and potentially have
more responsibilities, so they should be closer to the main sequence.
Formula: ND = D * (1 - S/Smax)
Where:
D = Distance from Main Sequence
S = Size of file (measured in LOC or declarations)
Normalized Distance metric (ND)
A modified version of Distance from Main Sequence that accounts for file size. Files with more code are expected to be more complex and potentially have more responsibilities, so they should be closer to the main sequence. Formula: ND = D * (1 - S/Smax) Where: