Questions
Answer the following questions to test your knowledge of this chapter:
- What are the three main categories of code smell?
 - Name the different types of application-level code smells.
 - Name the different types of class-level code smells.
 - Name the different types of method-level code smells.
 - What kinds of refactoring can you perform to clean up various code smells?
 - What is cyclomatic complexity?
 - How can we overcome cyclomatic complexity?
 - What is contrived complexity?
 - How can we overcome contrived complexity?
 - What is a combinatorial explosion?
 - How do we overcome a combinatorial explosion?
 - What should you do when you find deodorant comments?
 - If you have bad code but don’t know how to fix it, what should you do?
 - Where is a good place to ask questions and get answers when it comes to programming issues?
 - In what ways can a long parameter list be reduced?
 - How can a large method be refactored?
 - What is the maximum...