Refused Bequest Code Smells Detection on Software Design

被引:0
作者
Firdaus, Muhammad Faishal [1 ]
Priyambadha, Bayu [1 ]
Pradana, Fajar [1 ]
机构
[1] Brawijaya Univ, Fac Comp Sci, Malang, Indonesia
来源
PROCEEDINGS OF 2018 3RD INTERNATIONAL CONFERENCE ON SUSTAINABLE INFORMATION ENGINEERING AND TECHNOLOGY (SIET 2018) | 2018年
关键词
code smells; refused bequest; class diagram design; detection system;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Code smells are a characteristic of a software that indicates problems in the code structure and system design that result in the software is being difficult to develop and maintain. The quite famous kind of code smells is Refused Bequest, which is a condition in the concept of inheritance that subclasses do not use the derived functionality of the superclass to happen inheritance rejection. Generally, code smells only can identified through the code structure. However, in this study developed the detection code smells in the stage of software development is design. Design is a very important phase in the software development phase because the success of a software depends on good analysis and design. At the design stage performed detection code smells with the kind of Refused Bequest is on the design of components, namely class diagrams design. The design of the class diagram in the .vpp format of the UML Creator Visual Paradigm application converted into the xml language. Once converted, the xml file detected on the detection software by parsing and finding the code smells Refused Bequest level referring to the smells thermometer as the measured Refused Bequest intensity meter. In this study, the results of detection refused bequest at design stage that two test cases were valid from the three existing test cases. The test case based on research conducted by Ligu et al. on an application. In addition, the accuracy value from the results of the comparison between this study and the Ligu et al. research is 66.7% because the adjustment in the design stage.
引用
收藏
页码:288 / 291
页数:4
相关论文
共 5 条
[1]  
Fontana F. A., 2011, 2011 IEEE Fourth International Conference on Software Testing, Verification and Validation Workshops (ICSTW), P450, DOI 10.1109/ICSTW.2011.12
[2]  
Fowler M., 1999, Refactoring: Improving the design of existing code
[3]   Identification of Refused Bequest Code Smells [J].
Ligu, Elvis ;
Chatzigeorgiou, Alexander ;
Chaikalis, Theodore ;
Ygeionomakis, Nikolaos .
2013 29TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE (ICSM), 2013, :392-395
[4]  
Sommerville I., 2015, Software Engineering, V10th
[5]  
Waldo Jim, 2006, SYSTEM DESIGN, P1