Add endpoint to update users and fix CPM report generation.
Example report: Tip
A large method might indicate that it contains too much logic, this can be solved by placing part of the logic in a seperate method.TipThis applies to: - Method - main(String[] args) - Method - read(Scanner sc)
A high cyclomatic complexity has a higher chance of containting bugs than code that has a lower complexity. It als makes the code less maintainable and testable. Try to refactor parts of the logic from the highly complex code to a new method.FailuresThis applies to: - Method - housesAskedFor(int price, char a, String SORR, boolean availibleNow) - Method - getEnergyEfficiency(int rooms) - Method - main(String[] args) - Method - read(Scanner sc)
Method - housesAskedFor(int price, char a, String SORR, boolean availibleNow) - has too high cyclomatic complexity:14 > 10 Method - main(String[] args) - has too high cyclomatic complexity:27 > 10 Method - read(Scanner sc) - has too high cyclomatic complexity:12 > 10Warnings
Method - getEnergyEfficiency(int rooms) - has high cyclomatic complexity:9 > 7
(but with more colour)
To be filled in by the reviewers