PMD Results

The following document contains the results of PMD 3.9.

Files

net/sf/imca/model/BoatBO.java

ViolationLine
Avoid unused constructor parameters such as 'doVersions'.66 - 150
Avoid unused local variables such as 'doVersions'.72
These nested if statements could be combined80 - 86
Avoid unused local variables such as 'xmlId'.127
Avoid empty if statements129 - 131

net/sf/imca/model/entities/AssociationDAO.java

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

net/sf/imca/model/entities/MembershipDAO.java

ViolationLine
Avoid unused imports such as 'net.sf.imca.model.MembershipTypeBO'23

net/sf/imca/model/PersonBO.java

ViolationLine
Avoid empty if statements219 - 220

net/sf/imca/services/ImportData.java

ViolationLine
Avoid unused imports such as 'net.sf.imca.model.AssociationBO'29
Avoid unused imports such as 'net.sf.imca.model.PersonBO'30
Avoid unused imports such as 'net.sf.imca.model.BoatBO'31
Avoid unused imports such as 'net.sf.imca.model.entities.AssociationEntity'32
Avoid unused private methods such as 'getNodeListForDataFile(String,String)'.109

net/sf/imca/services/ReflectionUtil.java

ViolationLine
These nested if statements could be combined82 - 87
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.169
Avoid empty catch blocks171 - 173
Avoid empty catch blocks178 - 180
Avoid empty catch blocks185 - 187

net/sf/imca/services/Service.java

ViolationLine
Avoid unused imports such as 'javax.persistence.EntityTransaction'20
Avoid empty catch blocks58 - 59
Avoid unused private fields such as 'emf'.100

net/sf/imca/taglibs/Fleets.java

ViolationLine
Avoid unused imports such as 'net.sf.imca.model.entities.AssociationEntity'7

net/sf/imca/taglibs/ImcaNationalCommittee.java

ViolationLine
Avoid unused imports such as 'java.util.Locale'3

net/sf/imca/taglibs/Rider.java

ViolationLine
Avoid unused imports such as 'javax.servlet.jsp.JspTagException'4
Avoid unused imports such as 'net.sf.imca.web.backingbeans.WebUser'11
Avoid unused private fields such as 'id'.21

net/sf/imca/web/backingbeans/MembershipTableModel.java

ViolationLine
Avoid unused private fields such as 'model'.11
An empty statement (semicolon) not part of a loop43

net/sf/imca/web/backingbeans/MyDataBean.java

ViolationLine
Avoid unused imports such as 'java.util.HashMap'18
Avoid unused imports such as 'java.util.HashSet'19

net/sf/imca/web/backingbeans/WebUser.java

ViolationLine
Avoid unused imports such as 'net.sf.imca.model.entities.MembershipEntity'31

net/sf/imca/web/DataAdminServlet.java

ViolationLine
These nested if statements could be combined227 - 235

net/sf/imca/web/RidersDataServlet.java

ViolationLine
Avoid unused imports such as 'java.io.PrintWriter'19
Avoid unused imports such as 'java.lang.reflect.InvocationTargetException'20
Avoid unused imports such as 'java.lang.reflect.Method'21
Avoid unused imports such as 'java.util.ArrayList'22
Avoid unused imports such as 'java.util.Collection'23
Avoid unused imports such as 'java.util.Enumeration'24
Avoid unused imports such as 'java.util.Hashtable'25
Avoid unused imports such as 'java.util.Iterator'26
Avoid unused imports such as 'javax.servlet.jsp.JspException'32
Avoid unused imports such as 'net.sf.imca.services.ReflectionUtil'37
Avoid unused imports such as 'net.sf.imca.web.backingbeans.Utils'38
Avoid empty catch blocks96 - 98