nitc :: MDIT :: defaultinit
# Module Metric: Depth in Tree
class MDIT
super MModuleMetric
super IntMetric
redef fun name do return "mdit"
redef fun desc do return "depth in module tree"
redef fun collect(mmodules) do
for mmodule in mmodules do
values[mmodule] = mmodule.in_importation.depth
end
end
end
src/metrics/mmodules_metrics.nit:153,1--165,3