arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.05428cs.SEcs.IR
收藏

开源Java软件开发与建立的设计过程分析

Design Smell Analysis for Developing and Established Open Source Java Software

Asif Imran, Tevfik Kosar

摘要:

软件设计气味是违反基本设计原则的设计属性。设计气味是设计债的一个关键原因。虽然设计气味识别和测量的活动主要被认为是在目前的文献中,那些识别和沟通的设计气味更频繁地发生在新开发的软件,哪些是更占主导地位的软件已被研究到有限的程度。本研究描述了一种机制,用于识别设计气味,更普遍的开发和建立软件分别。通过分析大量源代码,提供了一种用于设计气味检测的工具。更具体地说,分析了6个开发中的164,609行代码(LoC)和5,712个类文件,以及5个已建立的开源Java软件的244,930行代码和12,048个类文件。结果显示,在9种预先选择的设计气味中,在4,020种气味中,检测到1,643种设计气味用于开发软件,其中主要包括4种特定类型的气味。对于已建立的软件,观察到2,397种设计气味,其中主要包括四种其他类型的气味。剩下的设计气味在开发和建立的软件中同样普遍。所需的精度值范围为72.9%至84.1%的工具。

英文摘要:

Software design smells are design attributes which violate the fundamental design principles. Design smells are a key cause of design debt. Although the activities of design smell identification and measurement are predominantly considered in current literature, those which identify and communicate which design smells occur more frequently in newly developing software and which ones are more dominant in established software have been studied to a limited extent. This research describes a mechanism for identifying the design smells that are more prevalent in developing and established software respectively. A tool is provided which is used for design smell detection by analyzing large volumes of source code. More specifically, 164,609 Lines of Code (LoC) and 5,712 class files of six developing and 244,930 LoC and 12,048 class files of five established open-source Java software are analyzed. Obtained results show that out of the 4,020 occurrences of smells that were made for nine preselected types of design smells, 1,643 design smells were detected for developing software, which mainly consisted of four specific types of smells. For established software, 2,397 design smells were observed which predominantly consisted of four other types of smells. The remaining design smell was equally prevalent in both developing and established software. Desirable precision values ranging from 72.9% to 84.1% were obtained for the tool.

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

↑