Experiences on Managing Technical Debt with Code Smells and AntiPatterns
Technical debt has become a common metaphor for the accumulation of software design and implementation choices that seek fast initial gains but that are under par and counterproductive in the long run. However, as a metaphor, technical debt does not offer actionable advice on how to get rid of it. To get to a practical level in solving problems, more focused mechanisms are needed. Commonly used approaches for this include identifying code smells as quick indications of possible problems in the codebase and detecting the presence of AntiPatterns that refer to overt, recurring problems in design. There are known remedies for both code smells and AntiPatterns. In paper, our goal is to show how to effectively use common tools and the existing body of knowledge on code smells and AntiPatterns to detect technical debt and pay it back. We present two main results: (i) How a combination of static code analysis and manual inspection was used to detect code smells in a codebase leading to the discovery of AntiPatterns; and (ii) How AntiPatterns were used to identify, characterize, and fix problems in the software. The experiences stem from a private company and its long-lasting software product development effort.
Thu 20 MayDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
17:00 - 17:40 | Smells, Patterns and Metrics - 1Technical Papers at TechDebt Room Chair(s): Juan Garbajosa Technical University of Madrid | ||
17:00 20mFull-paper | Experiences on Managing Technical Debt with Code Smells and AntiPatterns Technical Papers Jacinto Ramirez Lahti Solita Ltd, Finland, Antti-Pekka Tuovinen University of Helsinki, Tommi Mikkonen University of Helsinki Pre-print Media Attached | ||
17:20 20mFull-paper | Worst Smells and Their Worst Reasons Technical Papers Pre-print Media Attached |
Go directly to this room on Clowdr