2008 32nd Annual IEEE Software Engineering Workshop 2008
DOI: 10.1109/sew.2008.26
|View full text |Cite
|
Sign up to set email alerts
|

Improving the Precision of Fowler's Definitions of Bad Smells

Abstract: Abstract-Current approaches to detecting Bad Smells in code are mainly based on software metrics. We suggest that these methods lack precision in detecting Bad Smells, and we propose a code pattern-based approach to detecting Bad Smells. However before such a pattern-based approach can be implemented, Fowler's original definitions of Bad Smells need to be made more precise. Currently Fowler's definitions are too informal to implement in a pattern-searching tool. In this paper we use an expert panel to evaluate… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
7
0
1

Year Published

2011
2011
2024
2024

Publication Types

Select...
4
2
2

Relationship

0
8

Authors

Journals

citations
Cited by 16 publications
(8 citation statements)
references
References 11 publications
(8 reference statements)
0
7
0
1
Order By: Relevance
“…Though there is a great deal effort on program refactoring research (see e.g. [5,34]), to our best knowledge, meta-program refactoring is restricted either by homogeneous meta-programming (such as logic meta-programming [36]), or aspect-oriented programming [25].…”
Section: Related Workmentioning
confidence: 99%
See 1 more Smart Citation
“…Though there is a great deal effort on program refactoring research (see e.g. [5,34]), to our best knowledge, meta-program refactoring is restricted either by homogeneous meta-programming (such as logic meta-programming [36]), or aspect-oriented programming [25].…”
Section: Related Workmentioning
confidence: 99%
“…Refactoring changes the program's structure only, without affecting its external behaviour. The improvements typically eliminate redundancy, bad smell of code [25], improve maintainability and may improve performance and reduce space [10,22].…”
Section: Introductionmentioning
confidence: 99%
“…These smells describe in the informal way and need interpretation with a manual detection process. The classification of design flaws is proposed in many works [20,21]. These taxonomies are introduced to provide better understanding of the smells and to recognize the relationships between smells.…”
Section: Related Workmentioning
confidence: 99%
“…It may cause duplication in the system too. If any switch statement has more than two switch cases it is considered to be a "Switch Statements" smell (Baddoo, Hall, Wernick, & Zhang, 2008).…”
Section: • • • • Switch Statementsmentioning
confidence: 99%
“…Polymorphism helps to avoid this problem. Zhang, Baddoo, Wernick, & Hall (2008) suggested that if any "Type Code" consists of more than two cases, it is considered as code smell. For example, in the below code snapshot, the switch case, movie.getTypeCode, consists of more than three cases.…”
Section: Descriptionmentioning
confidence: 99%