Project:
dvorado6
Scope:
Project 'dvorado6'
Profile:
Default
Results:
Enabled coding rules: 346
Problems found: 10
Time statistics:- Started: Thu Dec 30 15:27:24 CET 2021
- Initialization: 00:00:00.940
- FindBugs: 00:00:07.970
- Gathering results: 00:00:00.169
- Finished: Thu Dec 30 15:27:34 CET 2021
Detailed Results:
dvorado6
- Maintainability
- Bad practice - Class defines clone() but doesn't implement Cloneable
- AddressDTO
- CN: cvut.fel.dto.AddressDTO defines clone() but doesn't implement Cloneable - line: 18
- AuthorDTO
- CN: cvut.fel.dto.AuthorDTO defines clone() but doesn't implement Cloneable - line: 36
- BookDTO
- CN: cvut.fel.dto.BookDTO defines clone() but doesn't implement Cloneable - line: 33
- LibraryDTO
- CN: cvut.fel.dto.LibraryDTO defines clone() but doesn't implement Cloneable - line: 26
- LinkDTO
- CN: cvut.fel.dto.LinkDTO defines clone() but doesn't implement Cloneable - line: 18
- PublisherDTO
- CN: cvut.fel.dto.PublisherDTO defines clone() but doesn't implement Cloneable - line: 29
- Reliability
- Malicious code vulnerability - May expose internal representation by incorporating reference to mutable object
- Book
- EI2: cvut.fel.entity.Book.setPublished(Date) may expose internal representation by storing an externally mutable object into Book.published - line: 15
- BookDTO
- EI2: cvut.fel.dto.BookDTO.setPublished(Date) may expose internal representation by storing an externally mutable object into BookDTO.published - line: 9
- Malicious code vulnerability - May expose internal representation by returning reference to mutable object
- Book
- EI: cvut.fel.entity.Book.getPublished() may expose internal representation by returning Book.published - line: 19
- BookDTO
- EI: cvut.fel.dto.BookDTO.getPublished() may expose internal representation by returning BookDTO.published - line: 13