计算机科学 > 软件工程
[提交于 2008年2月16日]
标题:Software graphs and programmer awareness
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Dependencies between types in object-oriented software can be viewed as directed graphs, with types as nodes and dependencies as edges. The in-degree and out-degree distributions of such graphs have quite different forms, with the former resembling a power-law distribution and the latter an exponential distribution. This effect appears to be independent of application or type relationship. A simple generative model is proposed to explore the proposition that the difference arises because the programmer is aware of the out-degree of a type but not of its in-degree. The model reproduces the two distributions, and compares reasonably well to those observed in 14 different type relationships across 12 different Java applications.
提交历史
来自:Gareth Baxter[v1] 2008年2月16日 星期六 03:38:03 UTC