Motivation. Code Smells detection approaches commonly provide an exhaustive list of refactoring. However, not all the code smells are important to be refactored. To find an important factor, there several studies have proposed, they introduced a severity score, context-driven, bug and change proneness etc. Although the studies identified these important factors to refactor, the effort to refactor still unknown. By introducing effort factor, we could improve our decision to refactor in term of the cost of maintenance. Low cost of refactoring with high severity score, bug and changes related and context-driven could be maximize the list of refactoring candidates.
Challenges. One of the reasons is the level of effort is very low. In other words, to define a unit of refactoring work quite hard. For example, Move Method or Extract Class is one of the effort that need to be executed to refactor God Class but it is hard to estimate in time (i.e., how many minutes to implement the step is depend how programmer comprehend the system and his background/experience) or size(i.e.,how many LOC need be changed in order to achieve the step).
Goal. To construct a refactoring effort model that consider severity and change proneness score.
Research Questions
- How to measure a refactoring work or effort of code smells?
- Based on class dependency or change impact analysis?
- Based on issue tracking?
- Is there any existing literature or approach (to calculate refactoring effort) that can measure empirically instead of estimation?
- Do the refactoring effort could help in minimizing a list of code smells? (validation phase)
Reference
- Moser, R., Pedrycz, W., Sillitti, A., & Succi, G. (2008). A Model to Identify Refactoring Effort during Maintenance by Mining Source Code Repositories. In Product-Focused Software Process Improvement (pp. 360–370). Berlin, Heidelberg: Springer Berlin Heidelberg. http://doi.org/10.1007/978-3-540-69566-0_29
- http://www.ontechnicaldebt.com/wp-content/uploads/2016/03/Software-Maintenance-and-Tech-Debt-Minkiewicz.pdf
- http://www.slideshare.net/anhnd85/application-of-economic-model-in
Resources
Project information
Finished
Master
Umair Abbas Hayat
2018-004