Prioritising refactoring using code bad smells

Zhang, Min, Baddoo, N., Wernick, P. and Hall, T. (2011) Prioritising refactoring using code bad smells. Institute of Electrical and Electronics Engineers (IEEE).
Copy

We investigated the relationship between six of Fowler et al.'s Code Bad Smells (Duplicated Code, Data Clumps, Switch Statements, Speculative Generality, Message Chains, and Middle Man) and software faults. In this paper we discuss how our results can be used by software developers to prioritise refactoring. In particular we suggest that source code containing Duplicated Code is likely to be associated with more faults than source code containing the other five Code Bad Smells. As a consequence, Duplicated Code should be prioritised for refactoring. Source code containing Message Chains seems to be associated with a high number of faults in some situations. Consequently it is another Code Bad Smell which should be prioritised for refactoring. Source code containing only one of the Data Clumps, Switch Statements, Speculative Generality, or Middle Man Bad Smell is not likely to be fault-prone. As a result these Code Bad Smells could be put into a lower refactoring priority.

Full text not available from this repository.

Explore Further

Read more research from the creator(s):

Find work associated with the faculties and division(s):

Find other related resources: