While doing daily development in various project we often found lots of coding standard problem, we just don’t know the appropriate vocabulary for that, Today I am providing a list of all code smells that can be found in codes, We would elaborate and learn about each code smell. the list (rough) is given bellow, if anyone finds more code smell please provide in comment section.
- Dead code
- Duplicate code
- Comment
- Long Method
- Large Class
- Oddball Solution
- Primitive Obsession
- Switch Statement
- Speculative Generality
- Long Parameter List
- Conditional Complexity
- Combinatorial Explosion
- Alternative classes with Different Interfaces
- Inappropriate Intimacy
- Indecent Exposure
- Refused Bequest
- Black Sheep
- Data Class
- Solution Sprawl
- Feature Envy
- Temporary Field
In future post we would discuss mostly all about the smells.