SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.8.6

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
70 7 0 0

Files

Class Bugs
org.dynamoframework.dao.PageableImpl 2
org.dynamoframework.dao.SortOrders 2
org.dynamoframework.exception.OCSValidationException 2
org.dynamoframework.service.ServiceLocatorFactory 1

org.dynamoframework.dao.PageableImpl

Bug Category Details Line Priority
org.dynamoframework.dao.PageableImpl.getSortOrders() may expose internal representation by returning PageableImpl.sortOrders MALICIOUS_CODE EI_EXPOSE_REP 37 Medium
new org.dynamoframework.dao.PageableImpl(int, int, SortOrders) may expose internal representation by storing an externally mutable object into PageableImpl.sortOrders MALICIOUS_CODE EI_EXPOSE_REP2 60 Medium

org.dynamoframework.dao.SortOrders

Bug Category Details Line Priority
org.dynamoframework.dao.SortOrders.getOrders() may expose internal representation by returning SortOrders.orders MALICIOUS_CODE EI_EXPOSE_REP 111 Medium
org.dynamoframework.dao.SortOrders.setOrders(List) may expose internal representation by storing an externally mutable object into SortOrders.orders MALICIOUS_CODE EI_EXPOSE_REP2 115 Medium

org.dynamoframework.exception.OCSValidationException

Bug Category Details Line Priority
org.dynamoframework.exception.OCSValidationException.getErrors() may expose internal representation by returning OCSValidationException.errors MALICIOUS_CODE EI_EXPOSE_REP 45 Medium
new org.dynamoframework.exception.OCSValidationException(List) may expose internal representation by storing an externally mutable object into OCSValidationException.errors MALICIOUS_CODE EI_EXPOSE_REP2 41 Medium

org.dynamoframework.service.ServiceLocatorFactory

Bug Category Details Line Priority
Found reliance on default encoding in org.dynamoframework.service.ServiceLocatorFactory.getServiceLocatorClassName(): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 62 High