arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1302.2657cs.SE
收藏

软件接口设计的评价方法

Metrics for Assessing The Design of Software Interfaces

Hani Abdeen, Osama Shata

摘要:

最近的研究主要是研究类设计异常的检测。他们提出了一个大的度量标准,帮助检测这些异常和预测类设计的质量。虽然这些研究和建议的指标是有价值的,他们没有解决软件接口的特殊性。接口定义了合同,详细说明了软件模块和逻辑单元如何相互交互。本文提出了一系列与接口相关的设计缺陷:接口之间的共享相似性,接口克隆和接口层次结构中的冗余。我们识别和描述这些设计缺陷,通过真实的例子,从著名的Java应用程序。然后,我们定义了三个指标,帮助自动估计的接口设计质量,关于建议的设计异常,并确定重构候选人。我们调查我们的指标,并通过对三个大型Java应用程序进行的实证研究表明其实用性。

英文摘要:

Recent studies have largely investigated the detection of class design anomalies. They proposed a large set of metrics that help in detecting those anomalies and in predicting the quality of class design. While those studies and the proposed metrics are valuable, they do not address the particularities of software interfaces. Interfaces define the contracts that spell out how software modules and logic units interact with each other. This paper proposes a list of design defects related to interfaces: shared similarity between interfaces, interface clones and redundancy in interface hierarchy. We identify and describe those design defects through real examples, taken from well-known Java applications. Then we define three metrics that help in automatically estimating the interface design quality, regarding the proposed design anomalies, and identify refactoring candidates. We investigate our metrics and show their usefulness through an empirical study conducted on three large Java applications.

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

↑