FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
1224200

org.kuali.student.contract.model.Dictionary

BugCategoryDetailsLinePriority
Class org.kuali.student.contract.model.Dictionary defines non-transient non-serializable instance field inlineConstraintBAD_PRACTICESE_BAD_FIELDHigh

org.kuali.student.contract.model.Field

BugCategoryDetailsLinePriority
Class org.kuali.student.contract.model.Field defines non-transient non-serializable instance field inlineConstraintBAD_PRACTICESE_BAD_FIELDHigh

org.kuali.student.contract.model.State

BugCategoryDetailsLinePriority
org.kuali.student.contract.model.State.getEffectiveDate() may expose internal representation by returning State.effectiveDateMALICIOUS_CODEEI_EXPOSE_REP202Medium
org.kuali.student.contract.model.State.getExpirationDate() may expose internal representation by returning State.expirationDateMALICIOUS_CODEEI_EXPOSE_REP211Medium
org.kuali.student.contract.model.State.setEffectiveDate(Date) may expose internal representation by storing an externally mutable object into State.effectiveDateMALICIOUS_CODEEI_EXPOSE_REP2206Medium
org.kuali.student.contract.model.State.setExpirationDate(Date) may expose internal representation by storing an externally mutable object into State.expirationDateMALICIOUS_CODEEI_EXPOSE_REP2215Medium

org.kuali.student.contract.model.Type

BugCategoryDetailsLinePriority
org.kuali.student.contract.model.Type.getEffectiveDate() may expose internal representation by returning Type.effectiveDateMALICIOUS_CODEEI_EXPOSE_REP220Medium
org.kuali.student.contract.model.Type.getExpirationDate() may expose internal representation by returning Type.expirationDateMALICIOUS_CODEEI_EXPOSE_REP229Medium
org.kuali.student.contract.model.Type.setEffectiveDate(Date) may expose internal representation by storing an externally mutable object into Type.effectiveDateMALICIOUS_CODEEI_EXPOSE_REP2224Medium
org.kuali.student.contract.model.Type.setExpirationDate(Date) may expose internal representation by storing an externally mutable object into Type.expirationDateMALICIOUS_CODEEI_EXPOSE_REP2233Medium

org.kuali.student.contract.model.impl.ServiceContractModelPescXsdLoader

BugCategoryDetailsLinePriority
Dead store to schemas in org.kuali.student.contract.model.impl.ServiceContractModelPescXsdLoader.parse()STYLEDLS_DEAD_LOCAL_STORE149Medium

org.kuali.student.contract.model.util.MessageStructureHierarchyDumper

BugCategoryDetailsLinePriority
Unread field: org.kuali.student.contract.model.util.MessageStructureHierarchyDumper.modelPERFORMANCEURF_UNREAD_FIELD27Medium

org.kuali.student.contract.model.validation.OrchestrationModelValidator

BugCategoryDetailsLinePriority
Unread field: org.kuali.student.contract.model.validation.OrchestrationModelValidator.finderPERFORMANCEURF_UNREAD_FIELD37Medium

org.kuali.student.contract.model.validation.ServiceMethodValidator

BugCategoryDetailsLinePriority
instanceof will always return true in org.kuali.student.contract.model.validation.ServiceMethodValidator.findService(String), since all org.kuali.student.contract.model.ServiceContractModel are instances of org.kuali.student.contract.model.ServiceContractModelSTYLEBC_VACUOUS_INSTANCEOF80Medium

org.kuali.student.contract.model.validation.XmlTypesValidator

BugCategoryDetailsLinePriority
Unread field: org.kuali.student.contract.model.validation.XmlTypesValidator.modelPERFORMANCEURF_UNREAD_FIELD36Medium

org.kuali.student.contract.writer.XmlWriter

BugCategoryDetailsLinePriority
Method org.kuali.student.contract.writer.XmlWriter.writeCommentBox(String) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION178Medium

org.kuali.student.contract.writer.search.SearchModelWriter

BugCategoryDetailsLinePriority
Dead store to keys in org.kuali.student.contract.writer.search.SearchModelWriter.getJPQLImplementations()STYLEDLS_DEAD_LOCAL_STORE300High

org.kuali.student.contract.writer.service.PureJavaInfcBeanWriter

BugCategoryDetailsLinePriority
Unread field: org.kuali.student.contract.writer.service.PureJavaInfcBeanWriter.directoryPERFORMANCEURF_UNREAD_FIELD49Medium

org.kuali.student.contract.writer.service.PureJavaInfcInfcWriter

BugCategoryDetailsLinePriority
Unread field: org.kuali.student.contract.writer.service.PureJavaInfcInfcWriter.directoryPERFORMANCEURF_UNREAD_FIELD49Medium
Unread field: org.kuali.student.contract.writer.service.PureJavaInfcInfcWriter.servicePERFORMANCEURF_UNREAD_FIELD51Medium

org.kuali.student.contract.writer.service.PureJavaInfcServiceWriter

BugCategoryDetailsLinePriority
Unread field: org.kuali.student.contract.writer.service.PureJavaInfcServiceWriter.directoryPERFORMANCEURF_UNREAD_FIELD49Medium

org.kuali.student.contract.writer.service.ServiceExceptionWriter

BugCategoryDetailsLinePriority
Unread field: org.kuali.student.contract.writer.service.ServiceExceptionWriter.directoryPERFORMANCEURF_UNREAD_FIELD41Medium
Unread field: org.kuali.student.contract.writer.service.ServiceExceptionWriter.modelPERFORMANCEURF_UNREAD_FIELD40Medium
Unread field: org.kuali.student.contract.writer.service.ServiceExceptionWriter.rootPackagePERFORMANCEURF_UNREAD_FIELD42Medium

org.kuali.student.datadictionary.mojo.KSDictionaryDocMojo

BugCategoryDetailsLinePriority
Dead store to outputFileNames in org.kuali.student.datadictionary.mojo.KSDictionaryDocMojo.execute()STYLEDLS_DEAD_LOCAL_STORE146Medium
Unwritten field: org.kuali.student.datadictionary.mojo.KSDictionaryDocMojo.projectCORRECTNESSUWF_UNWRITTEN_FIELD79Medium

org.kuali.student.datadictionary.util.Dictionary2BeanComparer

BugCategoryDetailsLinePriority
Private method org.kuali.student.datadictionary.util.Dictionary2BeanComparer.compareAddDiscrepancy(List, String, boolean, boolean) is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD122Medium

org.kuali.student.datadictionary.util.DictionaryFormatter

BugCategoryDetailsLinePriority
Suspicious comparison of Integer references in org.kuali.student.datadictionary.util.DictionaryFormatter.calcLength(AttributeDefinition)CORRECTNESSRC_REF_COMPARISON854High
Private method org.kuali.student.datadictionary.util.DictionaryFormatter.calcOverride(String, Object, Object) is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD1041Medium
Private method org.kuali.student.datadictionary.util.DictionaryFormatter.calcOverride(String, String, String) is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD1025Medium
Private method org.kuali.student.datadictionary.util.DictionaryFormatter.calcOverride(String, LookupConstraint, LookupConstraint) is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD991Medium
Private method org.kuali.student.datadictionary.util.DictionaryFormatter.calcOverride(String, ValidCharactersConstraint, ValidCharactersConstraint) is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD1005Medium
Private method org.kuali.student.datadictionary.util.DictionaryFormatter.calcOverride(String, boolean, boolean) is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD1018Medium

org.kuali.student.datadictionary.util.DictionaryFormatter$AttributeDefinitionNameComparator

BugCategoryDetailsLinePriority
org.kuali.student.datadictionary.util.DictionaryFormatter$AttributeDefinitionNameComparator implements Comparator but not SerializableBAD_PRACTICESE_COMPARATOR_SHOULD_BE_SERIALIZABLE514Medium

org.kuali.student.datadictionary.util.DictionaryTesterHelper

BugCategoryDetailsLinePriority
Method org.kuali.student.datadictionary.util.DictionaryTesterHelper.doTest() makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR61Medium

org.kuali.student.datadictionary.util.DictionaryValidator

BugCategoryDetailsLinePriority
Dead store to pattern in org.kuali.student.datadictionary.util.DictionaryValidator.validateValidChars(AttributeDefinition, ValidCharactersConstraint)STYLEDLS_DEAD_LOCAL_STORE260Medium
Unread field: org.kuali.student.datadictionary.util.DictionaryValidator.alreadyValidatedPERFORMANCEURF_UNREAD_FIELD44Medium

org.kuali.student.datadictionary.util.KradDictionaryCreator

BugCategoryDetailsLinePriority
Write to static field org.kuali.student.datadictionary.util.KradDictionaryCreator.predefinedFieldMap from instance method new org.kuali.student.datadictionary.util.KradDictionaryCreator(String, ServiceContractModel, String, boolean, boolean)STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD739High
Write to static field org.kuali.student.datadictionary.util.KradDictionaryCreator.endsWithMap from instance method new org.kuali.student.datadictionary.util.KradDictionaryCreator(String, ServiceContractModel, String, boolean, boolean)STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD774Medium
Write to static field org.kuali.student.datadictionary.util.KradDictionaryCreator.typeMap from instance method new org.kuali.student.datadictionary.util.KradDictionaryCreator(String, ServiceContractModel, String, boolean, boolean)STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD797Medium
Method new org.kuali.student.datadictionary.util.KradDictionaryCreator(String, ServiceContractModel, String, boolean, boolean) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR741Medium