Discussion on the Results of the Detection of Design Defects. Moha, N., Gu�h�neuc, Y., Duchien, L., & Le Meur, A. In Demeyer, S., Gu�h�neuc, Y., Lange, C., Mens, K., Wuyts, R., & Ducasse, S., editors, Proceedings of the 8<sup>th</sup> ECOOP workshop on Object-Oriented Reengineering (WOOR), pages N/A, July–August, 2007. N/A. 6 pages.
Discussion on the Results of the Detection of Design Defects [pdf]Paper  abstract   bibtex   
Software engineers often need to identify in their systems ``poor" design choices—design defects—that hinder the development and maintenance, as opportunities of improvements and as a measure of the quality of their systems. However, the detection of design defects is difficult because of the lack of specifications and tools. We propose DECOR, a method to specify design defects systematically and to generate automatically detection algorithms. With this method, software engineers analyse and specify design defects at a high-level of abstraction using a unified vocabulary and a dedicated language for generating detection algorithms. To illustrate our method, in this paper, we specify 4 well-known design defects, the antipatterns Blob, Functional Decomposition, Spaghetti Code, and Swiss Army Knife and their 15 underlying code smells and we generate automatically their detection algorithms. We apply and validate the detection algorithms in terms of precision and recall and discuss the precision of these algorithms on 11 open-source object-oriented systems.

Downloads: 0