The following document contains the results of PMD 4.2.2.
Violation | Line |
---|---|
Avoid unused private fields such as '_futureElements'. | 39 |
Violation | Line |
---|---|
Avoid unused private fields such as '_futureElements'. | 54 |
Violation | Line |
---|---|
Avoid unused private fields such as '_futureElements'. | 52 |
Violation | Line |
---|---|
Avoid unused private fields such as '_futureElements'. | 55 |
Violation | Line |
---|---|
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 package | 24 |
Violation | Line |
---|---|
Avoid unused private fields such as '_futureElements'. | 47 |
Violation | Line |
---|---|
Avoid unused private fields such as '_futureElements'. | 44 |
Violation | Line |
---|---|
Avoid unused private fields such as '_futureElements'. | 54 |
Violation | Line |
---|---|
Avoid unused private fields such as '_futureElements'. | 47 |
Violation | Line |
---|---|
Avoid unused private fields such as '_futureElements'. | 48 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 57 |
Violation | Line |
---|---|
Avoid unused private fields such as '_futureElements'. | 43 |
Violation | Line |
---|---|
Avoid unused private fields such as '_futureElements'. | 57 |
Violation | Line |
---|---|
Avoid unused private fields such as '_futureElements'. | 53 |
Violation | Line |
---|---|
Avoid unused private fields such as '_futureElements'. | 37 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.List' | 19 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Date' | 18 |
Avoid unused imports such as 'org.kuali.student.common.infc.KeyEntity' | 19 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Date' | 18 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid unused imports such as 'javax.xml.bind.annotation.XmlAttribute' | 26 |
Avoid unused private fields such as '_futureElements'. | 56 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.kuali.student.datadictionary.dto.ValidCharactersConstraintInfo' | 20 |
Avoid unused private fields such as 'LOG'. | 28 |
Violation | Line |
---|---|
Avoid unused private fields such as 'LOG'. | 31 |
Violation | Line |
---|---|
Avoid unused private fields such as 'LOG'. | 27 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid unused private fields such as 'LOG'. | 45 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.kuali.student.datadictionary.dto.AttributeDefinitionInfo' | 19 |
Avoid unused private fields such as 'LOG'. | 28 |
Violation | Line |
---|---|
Avoid unused private fields such as 'LOG'. | 31 |
Violation | Line |
---|---|
Avoid unused private fields such as 'LOG'. | 27 |
Violation | Line |
---|---|
Avoid unused method parameters such as 'clazz'. | 70 - 83 |
Violation | Line |
---|---|
These nested if statements could be combined | 186 - 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 |
Violation | Line |
---|---|
These nested if statements could be combined | 106 - 108 |
These nested if statements could be combined | 111 - 113 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid unnecessary return statements | 290 |
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 combined | 417 - 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 |
Violation | Line |
---|---|
Avoid unused private fields such as 'alreadyValidated'. | 42 |
These nested if statements could be combined | 86 - 88 |
Avoid unused local variables such as 'pattern'. | 256 |
Violation | Line |
---|---|
Avoid unused private fields such as '_futureElements'. | 48 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.kuali.student.common.dto.HasAttributesAndMetaInfo' | 29 |
Avoid unused private fields such as '_futureElements'. | 66 |
Violation | Line |
---|---|
Avoid unused private fields such as '_futureElements'. | 59 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
These nested if statements could be combined | 40 - 42 |
These nested if statements could be combined | 53 - 55 |
These nested if statements could be combined | 66 - 68 |
These nested if statements could be combined | 79 - 81 |
These nested if statements could be combined | 119 - 121 |
These nested if statements could be combined | 187 - 190 |
These nested if statements could be combined | 217 - 220 |
These nested if statements could be combined | 230 - 234 |
These nested if statements could be combined | 231 - 233 |
These nested if statements could be combined | 343 - 348 |
These nested if statements could be combined | 344 - 347 |
These nested if statements could be combined | 359 - 367 |
These nested if statements could be combined | 387 - 389 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.kuali.rice.kim.service.KIMServiceLocator' | 22 |
These nested if statements could be combined | 63 - 65 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid unused private fields such as 'roleMemberCompleteInfoCache'. | 43 |
Avoid unused private fields such as 'groupUpdateService'. | 45 |
These nested if statements could be combined | 96 - 98 |
These nested if statements could be combined | 112 - 114 |
These nested if statements could be combined | 184 - 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 combined | 201 - 209 |
These nested if statements could be combined | 279 - 281 |
These nested if statements could be combined | 311 - 313 |
These nested if statements could be combined | 358 - 360 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.kuali.student.enrollment.lpr.service.LuiPersonRelationService' | 21 |
Violation | Line |
---|---|
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 |
Violation | Line |
---|---|
Avoid unused imports such as 'javax.persistence.EntityManager' | 5 |
Violation | Line |
---|---|
These nested if statements could be combined | 145 - 147 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.kuali.student.enrollment.lpr.model.LuiPersonRelationStateEntity' | 45 |
Violation | Line |
---|---|
Avoid unused imports such as 'javax.persistence.Table' | 25 |