arXivDaily arXiv每日学术速递 周一至周五更新
arXiv cs/0306098cs.SE
收藏

在大规模Java系统中进行重构决策:经验主义立场

Making refactoring decisions in large-scale Java systems: an empirical stance

Richard Wheeldon, Steve Counsell

摘要:

决定重构哪些类充满了困难。识别候选类的问题变得尖锐时,面对大型系统,包括数百或数千类。在本文中,我们描述了一个度量的关键类,因此重构的候选人,可以确定。从三个大型Java系统的源代码中提取了量化两种形式的耦合,继承和聚合,以及其他两个类的功能(方法和属性的数量)的使用的措施。我们的研究表明,从其他研究领域的度量可以适应软件工程过程。每个系统在所确定的关键类别方面存在很大差异,因此这些系统之间重构这些类别的机会也各不相同。

英文摘要:

Decisions on which classes to refactor are fraught with difficulty. The problem of identifying candidate classes becomes acute when confronted with large systems comprising hundreds or thousands of classes. In this paper, we describe a metric by which key classes, and hence candidates for refactoring, can be identified. Measures quantifying the usage of two forms of coupling, inheritance and aggregation, together with two other class features (number of methods and attributes) were extracted from the source code of three large Java systems. Our research shows that metrics from other research domains can be adapted to the software engineering process. Substantial differences were found between each of the systems in terms of the key classes identified and hence opportunities for refactoring those classes varied between those systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑