code.tool.measure.common
calculate-surface
(calculate-surface base height)Calculates the ‘surface area’ of the code using a Code City metaphor. Base Area (Width) = Total Node Count (Size) Height = Structural Complexity Score Surface = Base + 4 * (sqrt(Base) * Height) (Represents top surface + 4 side walls of a square tower)