FindBugs Bug Detector Report
The following document contains the results of FindBugs Report
FindBugs Version is 1.3.9
Threshold is low
Effort is min
Files
org.apache.myfaces.buildtools.maven2.plugin.builder.BuildMetaDataMojo
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method org.apache.myfaces.buildtools.maven2.plugin.builder.BuildMetaDataMojo.createCompileClassLoader(MavenProject) uses Collection.toArray() with zero-length array argument | PERFORMANCE | ITA_INEFFICIENT_TO_ARRAY | 770 | Low |
Method org.apache.myfaces.buildtools.maven2.plugin.builder.BuildMetaDataMojo.readIndex(MavenProject) uses Collection.toArray() with zero-length array argument | PERFORMANCE | ITA_INEFFICIENT_TO_ARRAY | 695 | Low |
Private method org.apache.myfaces.buildtools.maven2.plugin.builder.BuildMetaDataMojo.getFacesConfig() is never called | PERFORMANCE | UPM_UNCALLED_PRIVATE_METHOD | 653 | Low |
org.apache.myfaces.buildtools.maven2.plugin.builder.IOUtils
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.myfaces.buildtools.maven2.plugin.builder.IOUtils.saveModel(Model, File) ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 66 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeClientBehaviorsMojo
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method org.apache.myfaces.buildtools.maven2.plugin.builder.MakeClientBehaviorsMojo.generateBehaviors(Model) needlessly instantiates a class that only supplies static methods | BAD_PRACTICE | ISC_INSTANTIATE_STATIC_CLASS | 276 | Low |
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeClientBehaviorsMojo._generateBehavior(VelocityEngine, JavaDocBuilder, BehaviorMeta, VelocityContext) ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 385 | Medium |
MakeClientBehaviorsMojo.modelIds not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low |
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeComponentsMojo
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method org.apache.myfaces.buildtools.maven2.plugin.builder.MakeComponentsMojo.generateComponents(Model) needlessly instantiates a class that only supplies static methods | BAD_PRACTICE | ISC_INSTANTIATE_STATIC_CLASS | 303 | Low |
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeComponentsMojo._generateComponent(VelocityEngine, JavaDocBuilder, ComponentMeta, VelocityContext) ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 436 | Medium |
MakeComponentsMojo.modelIds not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low |
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeConfigMojo
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method org.apache.myfaces.buildtools.maven2.plugin.builder.MakeConfigMojo.generateConfigFromVelocity(Model) needlessly instantiates a class that only supplies static methods | BAD_PRACTICE | ISC_INSTANTIATE_STATIC_CLASS | 241 | Low |
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeConfigMojo.generateConfigFromVelocity(Model) ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 306 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeConverterTagsMojo
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method org.apache.myfaces.buildtools.maven2.plugin.builder.MakeConverterTagsMojo.generateConverters(Model) needlessly instantiates a class that only supplies static methods | BAD_PRACTICE | ISC_INSTANTIATE_STATIC_CLASS | 274 | Low |
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeConverterTagsMojo._generateConverter(VelocityEngine, ConverterMeta, VelocityContext) ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 396 | Medium |
MakeConverterTagsMojo.modelIds not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low |
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeConvertersMojo
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method org.apache.myfaces.buildtools.maven2.plugin.builder.MakeConvertersMojo.generateConverters(Model) needlessly instantiates a class that only supplies static methods | BAD_PRACTICE | ISC_INSTANTIATE_STATIC_CLASS | 290 | Low |
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeConvertersMojo._generateConverter(VelocityEngine, JavaDocBuilder, ConverterMeta, VelocityContext) ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 392 | Medium |
MakeConvertersMojo.modelIds not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low |
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeTagsMojo
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method org.apache.myfaces.buildtools.maven2.plugin.builder.MakeTagsMojo.generateComponents(Model) needlessly instantiates a class that only supplies static methods | BAD_PRACTICE | ISC_INSTANTIATE_STATIC_CLASS | 273 | Low |
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeTagsMojo._generateComponent(VelocityEngine, ComponentMeta, VelocityContext) ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 395 | Medium |
MakeTagsMojo.modelIds not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low |
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeValidatorTagsMojo
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method org.apache.myfaces.buildtools.maven2.plugin.builder.MakeValidatorTagsMojo.generateValidators(Model) needlessly instantiates a class that only supplies static methods | BAD_PRACTICE | ISC_INSTANTIATE_STATIC_CLASS | 274 | Low |
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeValidatorTagsMojo._generateValidator(VelocityEngine, ValidatorMeta, VelocityContext) ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 396 | Medium |
MakeValidatorTagsMojo.modelIds not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low |
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeValidatorsMojo
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method org.apache.myfaces.buildtools.maven2.plugin.builder.MakeValidatorsMojo.generateValidators(Model) needlessly instantiates a class that only supplies static methods | BAD_PRACTICE | ISC_INSTANTIATE_STATIC_CLASS | 287 | Low |
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeValidatorsMojo._generateValidator(VelocityEngine, JavaDocBuilder, ValidatorMeta, VelocityContext) ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 389 | Medium |
MakeValidatorsMojo.modelIds not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low |
org.apache.myfaces.buildtools.maven2.plugin.builder.io.XmlWriter
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.myfaces.buildtools.maven2.plugin.builder.io.XmlWriter.writeElement(String, String) checks to see if result of String.indexOf is positive | STYLE | RV_CHECK_FOR_POSITIVE_INDEXOF | 112 | Low |
org.apache.myfaces.buildtools.maven2.plugin.builder.model.BehaviorMeta
Bug | Category | Details | Line | Priority |
---|
org.apache.myfaces.buildtools.maven2.plugin.builder.model.ComponentMeta
Bug | Category | Details | Line | Priority |
---|
org.apache.myfaces.buildtools.maven2.plugin.builder.model.ConverterMeta
Bug | Category | Details | Line | Priority |
---|
org.apache.myfaces.buildtools.maven2.plugin.builder.model.MethodSignatureMeta
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method org.apache.myfaces.buildtools.maven2.plugin.builder.model.MethodSignatureMeta.getParameterTypes() uses Collection.toArray() with zero-length array argument | PERFORMANCE | ITA_INEFFICIENT_TO_ARRAY | 84 | Low |
org.apache.myfaces.buildtools.maven2.plugin.builder.model.ValidatorMeta
Bug | Category | Details | Line | Priority |
---|
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.CompositeComponentModelBuilder$1
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.CompositeComponentModelBuilder$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | 497 | Low |
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.CompositeComponentModelBuilder$CompositeComponentMetadataHandler
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Useless control flow in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.CompositeComponentModelBuilder$CompositeComponentMetadataHandler.characters(char[], int, int) | STYLE | UCF_USELESS_CONTROL_FLOW | 97 | Low |
Useless control flow in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.CompositeComponentModelBuilder$CompositeComponentMetadataHandler.comment(char[], int, int) | STYLE | UCF_USELESS_CONTROL_FLOW | 104 | Low |
Useless control flow in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.CompositeComponentModelBuilder$CompositeComponentMetadataHandler.endCDATA() | STYLE | UCF_USELESS_CONTROL_FLOW | 128 | Low |
Useless control flow in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.CompositeComponentModelBuilder$CompositeComponentMetadataHandler.ignorableWhitespace(char[], int, int) | STYLE | UCF_USELESS_CONTROL_FLOW | 177 | Low |
Useless control flow in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.CompositeComponentModelBuilder$CompositeComponentMetadataHandler.processingInstruction(String, String) | STYLE | UCF_USELESS_CONTROL_FLOW | 460 | Low |
Useless control flow in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.CompositeComponentModelBuilder$CompositeComponentMetadataHandler.startCDATA() | STYLE | UCF_USELESS_CONTROL_FLOW | 210 | Low |
CompositeComponentModelBuilder$CompositeComponentMetadataHandler.locator not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low |
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.QdoxHelper
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method call in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.QdoxHelper.getInnerSourceClasses(List, String, String) passes null for nonnull parameter of addFileToJavaDocBuilder(JavaDocBuilder, FileSelector, File) | CORRECTNESS | NP_NULL_PARAM_DEREF | 598 | High |
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.QdoxHelper$JavaClassComparator
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.QdoxHelper$JavaClassComparator implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | 615 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox._TagAttributes
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox._TagAttributes.getAll() may expose internal representation by returning _TagAttributes._attributes | MALICIOUS_CODE | EI_EXPOSE_REP | 101 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox._TagAttributes.getNamespaces() may expose internal representation by returning _TagAttributes._namespaces | MALICIOUS_CODE | EI_EXPOSE_REP | 182 | Medium |
new org.apache.myfaces.buildtools.maven2.plugin.builder.qdox._TagAttributes(_TagAttribute[]) may expose internal representation by storing an externally mutable object into _TagAttributes._attributes | MALICIOUS_CODE | EI_EXPOSE_REP2 | 55 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.BehaviorParsingStrategy
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.BehaviorParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 58 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.BehaviorParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 52 | High |
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ClassMetaPropertyParsingStrategy
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ClassMetaPropertyParsingStrategy.processComponentProperties(JavaClass, PropertyHolder) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 72 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ClassMetaPropertyParsingStrategy.processComponentProperties(JavaClass, PropertyHolder) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 106 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ClassMetaPropertyParsingStrategy.processComponentProperties(JavaClass, PropertyHolder) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 131 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ClassMetaPropertyParsingStrategy.processComponentProperties(JavaClass, PropertyHolder) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 145 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ClassMetaPropertyParsingStrategy.processComponentProperties(JavaClass, PropertyHolder) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 156 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ClassMetaPropertyParsingStrategy.processComponentProperties(JavaClass, PropertyHolder) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 64 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ClassMetaPropertyParsingStrategy.processComponentProperties(JavaClass, PropertyHolder) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 98 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ClassMetaPropertyParsingStrategy.processComponentProperties(JavaClass, PropertyHolder) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 123 | High |
Method org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ClassMetaPropertyParsingStrategy.processComponentProperty(Map, AbstractJavaEntity, JavaClass, JavaMethod, PropertyHolder) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 215 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ClientBehaviorParsingStrategy
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ClientBehaviorParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 58 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ClientBehaviorParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 52 | High |
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ClientBehaviorRendererParsingStrategy
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ClientBehaviorRendererParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 64 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ClientBehaviorRendererParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 75 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ClientBehaviorRendererParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 84 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ClientBehaviorRendererParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 57 | High |
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ComponentParsingStrategy
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ComponentParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 67 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ComponentParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 61 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ComponentParsingStrategy.processComponentFacets(JavaClass, FacetHolder) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 224 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ComponentParsingStrategy.processComponentFacets(JavaClass, FacetHolder) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 258 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ComponentParsingStrategy.processComponentFacets(JavaClass, FacetHolder) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 216 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ComponentParsingStrategy.processComponentFacets(JavaClass, FacetHolder) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 250 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ComponentParsingStrategy.processComponentListeners(JavaClass, ListenerHolder) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 322 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ComponentParsingStrategy.processComponentListeners(JavaClass, ListenerHolder) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 356 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ComponentParsingStrategy.processComponentListeners(JavaClass, ListenerHolder) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 314 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ComponentParsingStrategy.processComponentListeners(JavaClass, ListenerHolder) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 348 | High |
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ConverterParsingStrategy
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ConverterParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 58 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ConverterParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 52 | High |
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.FaceletTagParsingStrategy
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.FaceletTagParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 65 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.FaceletTagParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 75 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.FaceletTagParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 84 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.FaceletTagParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 59 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.FaceletTagParsingStrategy.processFaceletTagAttributes(JavaClass, FaceletTagMeta) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 152 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.FaceletTagParsingStrategy.processFaceletTagAttributes(JavaClass, FaceletTagMeta) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 172 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.FaceletTagParsingStrategy.processFaceletTagAttributes(JavaClass, FaceletTagMeta) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 193 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.FaceletTagParsingStrategy.processFaceletTagAttributes(JavaClass, FaceletTagMeta) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 206 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.FaceletTagParsingStrategy.processFaceletTagAttributes(JavaClass, FaceletTagMeta) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 217 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.FaceletTagParsingStrategy.processFaceletTagAttributes(JavaClass, FaceletTagMeta) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 144 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.FaceletTagParsingStrategy.processFaceletTagAttributes(JavaClass, FaceletTagMeta) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 165 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.FaceletTagParsingStrategy.processFaceletTagAttributes(JavaClass, FaceletTagMeta) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 184 | High |
Method org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.FaceletTagParsingStrategy.processFaceletTagAttribute(Map, AbstractJavaEntity, JavaClass, JavaMethod, FaceletTagMeta) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 258 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.JspTagParsingStrategy
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.JspTagParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 61 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.JspTagParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 55 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.JspTagParsingStrategy.processTagAttributes(JavaClass, TagMeta) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 115 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.JspTagParsingStrategy.processTagAttributes(JavaClass, TagMeta) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 107 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.JspTagParsingStrategy.processTagAttributes(JavaClass, TagMeta) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 128 | High |
Method org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.JspTagParsingStrategy.processTagAttribute(Map, AbstractJavaEntity, JavaClass, JavaMethod, TagMeta) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 167 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.RenderKitParsingStrategy
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.RenderKitParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 57 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.RenderKitParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 51 | High |
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.RendererParsingStrategy
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.RendererParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 64 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.RendererParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 75 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.RendererParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 84 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.RendererParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 57 | High |
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ValidatorParsingStrategy
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ValidatorParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 58 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ValidatorParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 52 | High |
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.WebConfigParamParsingStrategy
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.WebConfigParamParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 72 | High |
Impossible cast from com.thoughtworks.qdox.model.AbstractBaseJavaEntity to com.thoughtworks.qdox.model.AbstractJavaEntity in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.WebConfigParamParsingStrategy.parseClass(JavaClass, Model) | CORRECTNESS | BC_IMPOSSIBLE_CAST | 65 | High |
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.AttributeBean
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.AttributeBean.getAttributeClassParameters() may expose internal representation by returning AttributeBean._attributeClassParameters | MALICIOUS_CODE | EI_EXPOSE_REP | 85 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.AttributeBean defines compareTo(Object) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 239 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.ComponentBean
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.ComponentBean.getEventNames() may expose internal representation by returning ComponentBean._eventNames | MALICIOUS_CODE | EI_EXPOSE_REP | 344 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.ComponentBean.getUnsupportedAgents() may expose internal representation by returning ComponentBean._unsupportedAgents | MALICIOUS_CODE | EI_EXPOSE_REP | 256 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.ComponentBean.setEventNames(String[]) may expose internal representation by storing an externally mutable object into ComponentBean._eventNames | MALICIOUS_CODE | EI_EXPOSE_REP2 | 339 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.ComponentBean.setUnsupportedAgents(String[]) may expose internal representation by storing an externally mutable object into ComponentBean._unsupportedAgents | MALICIOUS_CODE | EI_EXPOSE_REP2 | 246 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.EventRefBean
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.EventRefBean.getEventDeliveryPhases() may expose internal representation by returning EventRefBean._deliveryPhases | MALICIOUS_CODE | EI_EXPOSE_REP | 85 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.EventRefBean.setEventDeliveryPhases(String[]) may expose internal representation by storing an externally mutable object into EventRefBean._deliveryPhases | MALICIOUS_CODE | EI_EXPOSE_REP2 | 73 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.MethodSignatureBean
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.MethodSignatureBean.getParameterTypes() uses Collection.toArray() with zero-length array argument | PERFORMANCE | ITA_INEFFICIENT_TO_ARRAY | 56 | Low |
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.PropertyBean
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.PropertyBean.getPropertyValues() may expose internal representation by returning PropertyBean._propertyValues | MALICIOUS_CODE | EI_EXPOSE_REP | 108 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.PropertyBean.getUnsupportedAgents() may expose internal representation by returning PropertyBean._unsupportedAgents | MALICIOUS_CODE | EI_EXPOSE_REP | 276 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.PropertyBean.getUnsupportedRenderKits() may expose internal representation by returning PropertyBean._unsupportedRenderKits | MALICIOUS_CODE | EI_EXPOSE_REP | 300 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.PropertyBean.setPropertyValues(String[]) may expose internal representation by storing an externally mutable object into PropertyBean._propertyValues | MALICIOUS_CODE | EI_EXPOSE_REP2 | 98 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.PropertyBean.setUnsupportedAgents(String[]) may expose internal representation by storing an externally mutable object into PropertyBean._unsupportedAgents | MALICIOUS_CODE | EI_EXPOSE_REP2 | 266 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.PropertyBean.setUnsupportedRenderKits(String[]) may expose internal representation by storing an externally mutable object into PropertyBean._unsupportedRenderKits | MALICIOUS_CODE | EI_EXPOSE_REP2 | 290 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.rules.BeanPropertySetterRule
Bug | Category | Details | Line | Priority |
---|
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.util.CompoundIterator
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.util.CompoundIterator(Iterator[]) may expose internal representation by storing an externally mutable object into CompoundIterator._iterators | MALICIOUS_CODE | EI_EXPOSE_REP2 | 40 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.util.Util
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.util.Util.getGenericsFromProperty(PropertyBean) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 53 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.AbstractDependencyMojo
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception is caught when Exception is not thrown in org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.AbstractDependencyMojo.silenceUnarchiver(UnArchiver) | STYLE | REC_CATCH_EXCEPTION | 296 | Low |
org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.AbstractDependencyMojo.unpack(File, File, String, String) ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 232 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.AbstractFromConfigurationMojo
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.AbstractFromConfigurationMojo.getProcessedArtifactItems(boolean) ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 135 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.ArtifactItem
Bug | Category | Details | Line | Priority |
---|
org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.UnpackMojo
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unwritten field: org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.UnpackMojo.baseDirectory1 | CORRECTNESS | UWF_UNWRITTEN_FIELD | 142 | Medium |
Unwritten field: org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.UnpackMojo.baseDirectory2 | CORRECTNESS | UWF_UNWRITTEN_FIELD | 142 | Medium |
Unwritten field: org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.UnpackMojo.scanModel | CORRECTNESS | UWF_UNWRITTEN_FIELD | 155 | Low |
org.apache.myfaces.buildtools.maven2.plugin.builder.utils.MavenPluginConsoleLogSystem
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method org.apache.myfaces.buildtools.maven2.plugin.builder.utils.MavenPluginConsoleLogSystem.log(int, String) uses the same code for two switch clauses | STYLE | DB_DUPLICATE_SWITCH_CLAUSES | 55 | Low |
org.apache.myfaces.buildtools.maven2.plugin.builder.utils.MyfacesUtils
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 359 | Low |
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to otherPages in org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateTagDocs() | STYLE | DLS_DEAD_LOCAL_STORE | 391 | Low |
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateBehaviorDoc(VelocityEngine, VelocityContext, Model, BehaviorMeta) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead | PERFORMANCE | DM_BOOLEAN_CTOR | 752 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateComponentDoc(VelocityEngine, VelocityContext, Model, ComponentMeta) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead | PERFORMANCE | DM_BOOLEAN_CTOR | 440 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateConverterDoc(VelocityEngine, VelocityContext, Model, ConverterMeta) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead | PERFORMANCE | DM_BOOLEAN_CTOR | 544 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateFaceletTagDoc(VelocityEngine, VelocityContext, Model, FaceletTagMeta) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead | PERFORMANCE | DM_BOOLEAN_CTOR | 1003 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateTagDoc(VelocityEngine, VelocityContext, Model, TagMeta) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead | PERFORMANCE | DM_BOOLEAN_CTOR | 852 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateTagDocs() invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead | PERFORMANCE | DM_BOOLEAN_CTOR | 287 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateValidatorDoc(VelocityEngine, VelocityContext, Model, ValidatorMeta) invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead | PERFORMANCE | DM_BOOLEAN_CTOR | 648 | Medium |
Method org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateTagDocs() needlessly instantiates a class that only supplies static methods | BAD_PRACTICE | ISC_INSTANTIATE_STATIC_CLASS | 284 | Low |
Method org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateTagDocs() needlessly instantiates a class that only supplies static methods | BAD_PRACTICE | ISC_INSTANTIATE_STATIC_CLASS | 285 | Low |
Method org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo.createCompileClassLoader(MavenProject) uses Collection.toArray() with zero-length array argument | PERFORMANCE | ITA_INEFFICIENT_TO_ARRAY | 1161 | Low |
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateBehaviorDoc(VelocityEngine, VelocityContext, Model, BehaviorMeta) ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 812 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateComponentDoc(VelocityEngine, VelocityContext, Model, ComponentMeta) ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 504 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateConverterDoc(VelocityEngine, VelocityContext, Model, ConverterMeta) ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 608 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateFaceletTagDoc(VelocityEngine, VelocityContext, Model, FaceletTagMeta) ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 1058 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateTagDoc(VelocityEngine, VelocityContext, Model, TagMeta) ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 916 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateValidatorDoc(VelocityEngine, VelocityContext, Model, ValidatorMeta) ignores exceptional return value of java.io.File.mkdirs() | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 712 | Medium |
Private method org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._is12() is never called | PERFORMANCE | UPM_UNCALLED_PRIVATE_METHOD | 1234 | Low |
TagdocContentMojo.modelIds not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low |
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo$CustomResourceManagerImpl
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Should org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo$CustomResourceManagerImpl be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 234 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocIndexReport
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
TagdocIndexReport.modelIds not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low | |
TagdocIndexReport.taglibs not initialized in constructor | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Low |
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocIndexReport$CustomResourceManagerImpl
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Should org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocIndexReport$CustomResourceManagerImpl be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 166 | Medium |
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocUtils
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Method org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocUtils.getDisplayType(String, String, String) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 69 | Medium |