Are code smell detection tools suitable for detecting architecture degradation

作者: Jörg Lenhard , Mohammad Mahdi Hassan , Martin Blom , Sebastian Herold

DOI: 10.1145/3129790.3129808

关键词:

摘要: Context: Several studies suggest that there is a relation between code smells and architecture degradation. They claim classes, which have degraded architecture-wise, can be detected on the basis of smells, at least if these are manually identified in source code.Objective: To evaluate suitability contemporary smell detection tools by combining different categories for finding classes show symptoms degradation.Method: A case study performed architectural inconsistencies an open system via reflexion modeling metrics collected through several tools. Using data mining techniques, we investigate it possible to automatically accurately classify connected based gathered data.Results: Results existing as implemented tools, not sufficiently accurate classifying whether class contains inconsistencies, even when smells.Conclusion: It seems current automated techniques require fine-tuning specific they used with inconsistencies. More research violation causes needed build more work out-of-the-box.

参考文章(27)
R Core Team, R: A language and environment for statistical computing. MSOR connections. ,vol. 1, ,(2014)
Ian H Witten, Eibe Frank, Mark A Hall, Christopher Pal, What's It All About? Data Mining: Practical Machine Learning Tools and Techniques. pp. 3- 38 ,(2011) , 10.1016/B978-0-12-374856-0.00001-8
Ian Witten, Data Mining ,(2008)
Harry Zhang, The Optimality of Naive Bayes. the florida ai research society. pp. 562- 567 ,(2004)
Marilynn B. Brewer, William D. Crano, Research Design and Issues of Validity Handbook of Research Methods in Social and Personality Psychology. pp. 11- 26 ,(2000) , 10.1017/CBO9780511996481.005
Ioannis Stamelos, Eleni Constantinou, George Kakarontzas, Open Source Software: How Can Design Metrics Facilitate Architecture Recovery? arXiv: Software Engineering. ,(2011)
Nasir Ali, Aminata Sabané, Yann-Gaël Guéhéneuc, Giuliano Antoniol, None, Improving Bug Location Using Binary Class Relationships source code analysis and manipulation. pp. 174- 183 ,(2012) , 10.1109/SCAM.2012.26
Lorin Hochstein, Mikael Lindvall, Combating architectural degeneration: a survey Information & Software Technology. ,vol. 47, pp. 643- 656 ,(2005) , 10.1016/J.INFSOF.2004.11.005
Wei Ding, Peng Liang, Antony Tang, Hans Van Vliet, Mojtaba Shahin, None, How Do Open Source Communities Document Software Architecture: An Exploratory Survey international conference on engineering of complex computer systems. pp. 136- 145 ,(2014) , 10.1109/ICECCS.2014.26
Andi Wahju, Retantyo Wardoyo,, Modularity Index Metrics for Java-Based Open Source Software Projects International Journal of Advanced Computer Science and Applications. ,vol. 2, ,(2011) , 10.14569/IJACSA.2011.021109