PMD Results

The following document contains the results of PMD 4.2.2.

Files

KS Services API - org/kuali/student/common/dto/AttributeInfo.java

ViolationLine
Avoid unused private fields such as '_futureElements'.39

KS Services API - org/kuali/student/common/dto/ComparisonInfo.java

ViolationLine
Avoid unused private fields such as '_futureElements'.54

KS Services API - org/kuali/student/common/dto/ContextInfo.java

ViolationLine
Avoid unused private fields such as '_futureElements'.52

KS Services API - org/kuali/student/common/dto/CriteriaInfo.java

ViolationLine
Avoid unused private fields such as '_futureElements'.55

KS Services API - org/kuali/student/common/dto/KeyEntityInfo.java

ViolationLine
Avoid unused imports such as 'javax.xml.bind.annotation.XmlAccessType'17
Avoid unused imports such as 'javax.xml.bind.annotation.XmlAccessorType'18
Avoid unused imports such as 'javax.xml.bind.annotation.XmlElement'20
No need to import a type that lives in the same package24

KS Services API - org/kuali/student/common/dto/MetaInfo.java

ViolationLine
Avoid unused private fields such as '_futureElements'.47

KS Services API - org/kuali/student/common/dto/RichTextInfo.java

ViolationLine
Avoid unused private fields such as '_futureElements'.44

KS Services API - org/kuali/student/common/dto/SearchParamInfo.java

ViolationLine
Avoid unused private fields such as '_futureElements'.54

KS Services API - org/kuali/student/common/dto/StateInfo.java

ViolationLine
Avoid unused private fields such as '_futureElements'.47

KS Services API - org/kuali/student/common/dto/StatusInfo.java

ViolationLine
Avoid unused private fields such as '_futureElements'.48
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.57

KS Services API - org/kuali/student/common/dto/TimeAmountInfo.java

ViolationLine
Avoid unused private fields such as '_futureElements'.43

KS Services API - org/kuali/student/common/dto/TypeInfo.java

ViolationLine
Avoid unused private fields such as '_futureElements'.57

KS Services API - org/kuali/student/common/dto/TypeTypeRelationInfo.java

ViolationLine
Avoid unused private fields such as '_futureElements'.53

KS Services API - org/kuali/student/common/dto/ValidationResultInfo.java

ViolationLine
Avoid unused private fields such as '_futureElements'.37

KS Services API - org/kuali/student/common/util/constants/AcademicCalendarConstants.java

ViolationLine
Avoid unused imports such as 'org.kuali.student.core.academiccalendar.dto.TermInfo'17
Avoid unused imports such as 'org.kuali.student.core.academiccalendar.dto.KeyDateInfo'18

KS Services API - org/kuali/student/core/academiccalendar/dto/AcademicCalendarInfo.java

ViolationLine
Avoid unused imports such as 'javax.xml.bind.annotation.XmlAttribute'27
Avoid unused imports such as 'javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter'30
Avoid unused private fields such as '_futureElements'.69

KS Services API - org/kuali/student/core/academiccalendar/dto/CampusCalendarInfo.java

ViolationLine
Avoid unused imports such as 'javax.xml.bind.annotation.XmlAttribute'26
Avoid unused imports such as 'javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter'29
Avoid unused private fields such as '_futureElements'.58

KS Services API - org/kuali/student/core/academiccalendar/dto/EnrollmentDateGroupInfo.java

ViolationLine
Avoid unused imports such as 'javax.xml.bind.annotation.XmlAttribute'26
Avoid unused imports such as 'javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter'29
Avoid unused imports such as 'org.kuali.student.common.dto.KeyEntityInfo'32
Avoid unused imports such as 'org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter'35
Avoid unused private fields such as '_futureElements'.86

KS Services API - org/kuali/student/core/academiccalendar/dto/HolidayInfo.java

ViolationLine
Avoid unused imports such as 'javax.xml.bind.annotation.XmlAttribute'26
Avoid unused imports such as 'javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter'29
Avoid unused imports such as 'org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter'35
Avoid unused private fields such as '_futureElements'.68

KS Services API - org/kuali/student/core/academiccalendar/dto/KeyDateInfo.java

ViolationLine
Avoid unused imports such as 'javax.xml.bind.annotation.XmlAttribute'26
Avoid unused imports such as 'javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter'29
Avoid unused imports such as 'org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter'35
Avoid unused private fields such as '_futureElements'.62

KS Services API - org/kuali/student/core/academiccalendar/dto/TermInfo.java

ViolationLine
Avoid unused imports such as 'javax.xml.bind.annotation.XmlAttribute'27
Avoid unused imports such as 'javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter'30
Avoid unused private fields such as '_futureElements'.60

KS Services API - org/kuali/student/core/academiccalendar/infc/CampusCalendar.java

ViolationLine
Avoid unused imports such as 'java.util.List'19

KS Services API - org/kuali/student/core/academiccalendar/infc/Holiday.java

ViolationLine
Avoid unused imports such as 'java.util.Date'18
Avoid unused imports such as 'org.kuali.student.common.infc.KeyEntity'19

KS Services API - org/kuali/student/core/academiccalendar/service/AcademicCalendarService.java

ViolationLine
Avoid unused imports such as 'java.util.Date'18

KS Services API - org/kuali/student/core/atp/dto/AtpInfo.java

ViolationLine
Avoid unused imports such as 'javax.xml.bind.annotation.XmlAttribute'26
Avoid unused imports such as 'javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter'29
Avoid unused private fields such as '_futureElements'.57

KS Services API - org/kuali/student/core/atp/dto/AtpMilestoneRelationInfo.java

ViolationLine
Avoid unused imports such as 'javax.xml.bind.annotation.XmlAttribute'26
Avoid unused private fields such as '_futureElements'.56

KS Services API - org/kuali/student/core/atp/dto/MilestoneInfo.java

ViolationLine
Avoid unused imports such as 'javax.xml.bind.annotation.XmlAttribute'26
Avoid unused imports such as 'javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter'29
Avoid unused imports such as 'org.kuali.student.core.ws.binding.JaxbAttributeMapListAdapter'35
Avoid unused private fields such as '_futureElements'.61

KS Services API - org/kuali/student/datadictionary/Rice2StudentAttributeDefinitionConverter.java

ViolationLine
Avoid unused imports such as 'org.kuali.student.datadictionary.dto.ValidCharactersConstraintInfo'20
Avoid unused private fields such as 'LOG'.28

KS Services API - org/kuali/student/datadictionary/Rice2StudentDictionaryEntryConverter.java

ViolationLine
Avoid unused private fields such as 'LOG'.31

KS Services API - org/kuali/student/datadictionary/Rice2StudentValidCharactersConstraintConverter.java

ViolationLine
Avoid unused private fields such as 'LOG'.27

KS Services API - org/kuali/student/datadictionary/Rice2ValidationResultConverter.java

ViolationLine
Avoid unused imports such as 'org.kuali.student.common.infc.ValidationResult'23
Avoid unused imports such as 'org.kuali.rice.kns.datadictionary.validation.ErrorLevel'25
Avoid unused local variables such as 'vr'.41

KS Services API - org/kuali/student/datadictionary/RiceDataDictionaryValidatorImpl.java

ViolationLine
Avoid unused private fields such as 'LOG'.45

KS Services API - org/kuali/student/datadictionary/Student2RiceAttributeDefinitionConverter.java

ViolationLine
Avoid unused imports such as 'org.kuali.student.datadictionary.dto.AttributeDefinitionInfo'19
Avoid unused private fields such as 'LOG'.28

KS Services API - org/kuali/student/datadictionary/Student2RiceDictionaryEntryConverter.java

ViolationLine
Avoid unused private fields such as 'LOG'.31

KS Services API - org/kuali/student/datadictionary/Student2RiceValidCharactersConstraintConverter.java

ViolationLine
Avoid unused private fields such as 'LOG'.27

KS Services API - org/kuali/student/datadictionary/util/Bean2DictionaryConverter.java

ViolationLine
Avoid unused method parameters such as 'clazz'.70 - 83

KS Services API - org/kuali/student/datadictionary/util/CriteriaValidatorParser.java

ViolationLine
These nested if statements could be combined186 - 188
Avoid unused method parameters such as 'i'.257 - 265
Avoid unused private methods such as 'initLower(String)'.328
Avoid unused private methods such as 'calcIsList(AttributeDefinitionInfc)'.341

KS Services API - org/kuali/student/datadictionary/util/Dictionary2BeanComparer.java

ViolationLine
These nested if statements could be combined106 - 108
These nested if statements could be combined111 - 113

KS Services API - org/kuali/student/datadictionary/util/DictionaryCreator.java

ViolationLine
Avoid unused method parameters such as 'clazz'.205 - 227
Avoid unused method parameters such as 'clazz'.229 - 241
Avoid unused method parameters such as 'processed'.243 - 266
Avoid unused private methods such as 'isComplex(Class,PropertyDescriptor)'.281
Avoid unused method parameters such as 'clazz'.292 - 352
Avoid unused local variables such as 'name'.294
Avoid unused private methods such as 'addPropertyRef(String,String,StringBuffer)'.364 - 365

KS Services API - org/kuali/student/datadictionary/util/DictionaryFormatter.java

ViolationLine
Avoid unnecessary return statements290
Avoid unused private methods such as 'getSortedFields()'.319
Avoid unused private methods such as 'getClass(String)'.333
Avoid unused private methods such as 'formatAsString(List)'.342
Avoid unused method parameters such as 'ad'.374 - 379
Avoid unused method parameters such as 'ad'.381 - 386
Avoid unused private methods such as 'calcComplexSubStructureName(AttributeDefinition)'.388
Avoid unused method parameters such as 'ad'.388 - 395
Avoid unused private methods such as 'calcNotSoSimpleName(String)'.404
These nested if statements could be combined417 - 419
Avoid unused method parameters such as 'ad'.608 - 635
Avoid unused method parameters such as 'ad'.682 - 704
Avoid unused method parameters such as 'ad'.740 - 762
Avoid unused method parameters such as 'cons'.740 - 762
Avoid unused method parameters such as 'attribute'.764 - 776
Avoid unused method parameters such as 'attribute'.778 - 790
Avoid unused private methods such as 'calcOverride(String,Object,Object)'.815

KS Services API - org/kuali/student/datadictionary/util/DictionaryValidator.java

ViolationLine
Avoid unused private fields such as 'alreadyValidated'.42
These nested if statements could be combined86 - 88
Avoid unused local variables such as 'pattern'.256

KS Services API - org/kuali/student/enrollment/lpr/dto/LuiPersonRelationInfo.java

ViolationLine
Avoid unused private fields such as '_futureElements'.48

KS Services API - org/kuali/student/enrollment/lui/dto/LuiInfo.java

ViolationLine
Avoid unused imports such as 'org.kuali.student.common.dto.HasAttributesAndMetaInfo'29
Avoid unused private fields such as '_futureElements'.66

KS Services API - org/kuali/student/enrollment/lui/dto/LuiLuiRelationInfo.java

ViolationLine
Avoid unused private fields such as '_futureElements'.59

KS Services API - org/kuali/student/enrollment/lui/infc/Lui.java

ViolationLine
Avoid unused imports such as 'org.kuali.student.common.infc.HasId'20
Avoid unused imports such as 'org.kuali.student.common.infc.HasState'21
Avoid unused imports such as 'org.kuali.student.common.infc.HasType'22

KS Services API - org/kuali/student/kim/permission/mock/GroupServiceMockImpl.java

ViolationLine
These nested if statements could be combined40 - 42
These nested if statements could be combined53 - 55
These nested if statements could be combined66 - 68
These nested if statements could be combined79 - 81
These nested if statements could be combined119 - 121
These nested if statements could be combined187 - 190
These nested if statements could be combined217 - 220
These nested if statements could be combined230 - 234
These nested if statements could be combined231 - 233
These nested if statements could be combined343 - 348
These nested if statements could be combined344 - 347
These nested if statements could be combined359 - 367
These nested if statements could be combined387 - 389

KS Services API - org/kuali/student/kim/permission/mock/KimTypeInfoServiceMockImpl.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kim.service.KIMServiceLocator'22
These nested if statements could be combined63 - 65

KS Services API - org/kuali/student/kim/permission/mock/MockHelper.java

ViolationLine
Avoid unused imports such as 'org.kuali.rice.kim.bo.types.dto.KimTypeInfo'9
Avoid unused imports such as 'org.kuali.rice.kim.service.KIMServiceLocator'10
Avoid unused imports such as 'org.kuali.rice.kim.service.support.KimRoleTypeService'11
Avoid unused imports such as 'org.kuali.rice.kim.service.support.KimTypeService'12

KS Services API - org/kuali/student/kim/permission/mock/RoleServiceMockImpl.java

ViolationLine
Avoid unused private fields such as 'roleMemberCompleteInfoCache'.43
Avoid unused private fields such as 'groupUpdateService'.45
These nested if statements could be combined96 - 98
These nested if statements could be combined112 - 114
These nested if statements could be combined184 - 186
Avoid unused method parameters such as 'qualification'.192 - 195
Avoid unused method parameters such as 'info'.192 - 195
These nested if statements could be combined201 - 209
These nested if statements could be combined279 - 281
These nested if statements could be combined311 - 313
These nested if statements could be combined358 - 360

KS Services API - org/kuali/student/lum/lu/service/LuService.java

ViolationLine
Avoid duplicate imports such as 'org.kuali.student.common.exceptions.OperationFailedException'19
Avoid duplicate imports such as 'org.kuali.student.common.exceptions.VersionMismatchException'20
Avoid duplicate imports such as 'org.kuali.student.common.exceptions.IllegalVersionSequencingException'21
Avoid duplicate imports such as 'org.kuali.student.common.exceptions.CircularRelationshipException'22
Avoid duplicate imports such as 'org.kuali.student.common.exceptions.MissingParameterException'23
Avoid duplicate imports such as 'org.kuali.student.common.exceptions.InvalidParameterException'24
Avoid duplicate imports such as 'org.kuali.student.common.exceptions.DataValidationErrorException'25
Avoid duplicate imports such as 'org.kuali.student.common.exceptions.DoesNotExistException'26
Avoid duplicate imports such as 'org.kuali.student.common.exceptions.PermissionDeniedException'27
Avoid duplicate imports such as 'org.kuali.student.common.exceptions.UnsupportedActionException'28
Avoid duplicate imports such as 'org.kuali.student.common.exceptions.AlreadyExistsException'29
Avoid duplicate imports such as 'org.kuali.student.common.exceptions.DependentObjectsExistException'30

KS Services API - org/kuali/student/lum/lu/service/LuiServiceDecorator.java

ViolationLine
Avoid unused imports such as 'org.kuali.student.enrollment.lpr.service.LuiPersonRelationService'21

KS Services Impl - org/kuali/student/enrollment/lpr/dao/GenericEntityDao.java

ViolationLine
Avoid unused imports such as 'org.springframework.orm.jpa.JpaTemplate'3
Avoid unused imports such as 'org.springframework.orm.jpa.support.JpaDaoSupport'4
Avoid unused imports such as 'javax.persistence.PersistenceContextType'8

KS Services Impl - org/kuali/student/enrollment/lpr/dao/LprDao.java

ViolationLine
Avoid unused imports such as 'javax.persistence.EntityManager'5

KS Services Impl - org/kuali/student/enrollment/lpr/service/decorators/LuiPersonRelationServiceValidationDecorator.java

ViolationLine
These nested if statements could be combined145 - 147

KS Services Impl - org/kuali/student/enrollment/lpr/service/impl/LuiPersonRelationServiceImpl.java

ViolationLine
Avoid unused imports such as 'org.kuali.student.enrollment.lpr.model.LuiPersonRelationStateEntity'45

KS Services Impl - org/kuali/student/r2/common/entity/TypeEntity.java

ViolationLine
Avoid unused imports such as 'javax.persistence.Table'25