期刊名称:International Journal of Software Engineering & Applications (IJSEA)
印刷版ISSN:0976-2221
电子版ISSN:0975-9018
出版年度:2013
卷号:4
期号:1
页码:67
出版社:Academy & Industry Research Collaboration Center (AIRCC)
摘要:Software Interfaces are meant to describe contracts governing interactions between logic modules.Interfaces, if well designed, significantly reduce software complexity and ease maintainability. However,as software evolves, the organization and the quality of software interfaces gradually deteriorate. As aconsequence, this often leads to increased development cost, lower code quality and reduced reusability.Code clones are one of the most known bad smells in source code. This design defect may occur ininterfaces by duplicating method/API declarations in several interfaces. Such interfaces are similar fromthe point of view of public services/APIs they specify, thus they indicate a bad organization of applicationservices. In this paper, we characterize the interface clone design defect and illustrate it via examplestaken from real-world open source software applications. We conduct an empirical study covering ninereal-world open source software applications to quantify the presence of interface clones and evaluatetheir impact on interface design quality. The results of the empirical study show that interface clones arewidely present in software interfaces. They also show that the presence of interface clones may cause adegradation of interface cohesion and indicate a considerable presence of code clones at implementationslevel.