Billing-System
Billing-System copied to clipboard
Multiple responsibility class
The generateInvoice class does more than one thing. In order to improve code maintanability and extensibility, it is recommended to use Extract Class refactoring technique, since this class launchs the applications as well as creates the frame for the invoice. It is recommended to have multiple classes, each focusing on one single responsibility.