It is a Hotel Management tool which can be used to manage activites like storing customer details, booking rooms of four different types, ordering food for particular rooms, unbooking rooms and showing the bill.
Switch Statement
I found a switch on the bookroom method wich is too large
You can solve it applying the Replace Type Code with State/Strategy refactoring
Dead Code
On the class Singleroom you have a parameter which is not used by the class
You can solve it applying Remove Parameter refactoring
Large Class
The class Hotel is too large and has too many responsabilities. More than 5 methods.
You can solve it creating new classes and group those methods
Switch Statement I found a switch on the bookroom method wich is too large You can solve it applying the Replace Type Code with State/Strategy refactoring Dead Code On the class Singleroom you have a parameter which is not used by the class You can solve it applying Remove Parameter refactoring Large Class The class Hotel is too large and has too many responsabilities. More than 5 methods. You can solve it creating new classes and group those methods