Apache MyFaces
Foundation

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

Summary

ClassesBugsErrorsMissing Classes
12015800

Files

ClassBugs
org.apache.myfaces.buildtools.maven2.plugin.builder.BuildMetaDataMojo3
org.apache.myfaces.buildtools.maven2.plugin.builder.IOUtils3
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeClientBehaviorsMojo3
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeComponentsMojo3
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeConfigMojo2
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeConverterTagsMojo3
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeConvertersMojo3
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeTagsMojo3
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeValidatorTagsMojo3
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeValidatorsMojo3
org.apache.myfaces.buildtools.maven2.plugin.builder.io.XmlWriter1
org.apache.myfaces.buildtools.maven2.plugin.builder.model.BehaviorMeta1
org.apache.myfaces.buildtools.maven2.plugin.builder.model.ComponentMeta1
org.apache.myfaces.buildtools.maven2.plugin.builder.model.ConverterMeta1
org.apache.myfaces.buildtools.maven2.plugin.builder.model.MethodSignatureMeta1
org.apache.myfaces.buildtools.maven2.plugin.builder.model.ValidatorMeta1
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.CompositeComponentModelBuilder$11
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.CompositeComponentModelBuilder$CompositeComponentMetadataHandler7
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.QdoxHelper1
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.QdoxHelper$JavaClassComparator1
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox._TagAttributes3
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.BehaviorParsingStrategy2
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ClassMetaPropertyParsingStrategy9
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ClientBehaviorParsingStrategy2
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ClientBehaviorRendererParsingStrategy4
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ComponentParsingStrategy10
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ConverterParsingStrategy2
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.FaceletTagParsingStrategy13
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.JspTagParsingStrategy6
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.RenderKitParsingStrategy2
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.RendererParsingStrategy4
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ValidatorParsingStrategy2
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.WebConfigParamParsingStrategy2
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.AttributeBean2
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.ComponentBean4
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.EventRefBean2
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.MethodSignatureBean1
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.PropertyBean6
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.rules.BeanPropertySetterRule1
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.util.CompoundIterator1
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.util.Util1
org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.AbstractDependencyMojo3
org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.AbstractFromConfigurationMojo1
org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.ArtifactItem1
org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.UnpackMojo3
org.apache.myfaces.buildtools.maven2.plugin.builder.utils.MavenPluginConsoleLogSystem1
org.apache.myfaces.buildtools.maven2.plugin.builder.utils.MyfacesUtils1
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo19
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo$CustomResourceManagerImpl1
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocIndexReport2
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocIndexReport$CustomResourceManagerImpl1
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocUtils1

org.apache.myfaces.buildtools.maven2.plugin.builder.BuildMetaDataMojo

BugCategoryDetailsLinePriority
Method org.apache.myfaces.buildtools.maven2.plugin.builder.BuildMetaDataMojo.createCompileClassLoader(MavenProject) uses Collection.toArray() with zero-length array argumentPERFORMANCEITA_INEFFICIENT_TO_ARRAY770Low
Method org.apache.myfaces.buildtools.maven2.plugin.builder.BuildMetaDataMojo.readIndex(MavenProject) uses Collection.toArray() with zero-length array argumentPERFORMANCEITA_INEFFICIENT_TO_ARRAY695Low
Private method org.apache.myfaces.buildtools.maven2.plugin.builder.BuildMetaDataMojo.getFacesConfig() is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD653Low

org.apache.myfaces.buildtools.maven2.plugin.builder.IOUtils

BugCategoryDetailsLinePriority
org.apache.myfaces.buildtools.maven2.plugin.builder.IOUtils.saveModel(Model, File) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE66Medium

org.apache.myfaces.buildtools.maven2.plugin.builder.MakeClientBehaviorsMojo

BugCategoryDetailsLinePriority
Method org.apache.myfaces.buildtools.maven2.plugin.builder.MakeClientBehaviorsMojo.generateBehaviors(Model) needlessly instantiates a class that only supplies static methodsBAD_PRACTICEISC_INSTANTIATE_STATIC_CLASS276Low
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeClientBehaviorsMojo._generateBehavior(VelocityEngine, JavaDocBuilder, BehaviorMeta, VelocityContext) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE385Medium
MakeClientBehaviorsMojo.modelIds not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow

org.apache.myfaces.buildtools.maven2.plugin.builder.MakeComponentsMojo

BugCategoryDetailsLinePriority
Method org.apache.myfaces.buildtools.maven2.plugin.builder.MakeComponentsMojo.generateComponents(Model) needlessly instantiates a class that only supplies static methodsBAD_PRACTICEISC_INSTANTIATE_STATIC_CLASS303Low
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeComponentsMojo._generateComponent(VelocityEngine, JavaDocBuilder, ComponentMeta, VelocityContext) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE436Medium
MakeComponentsMojo.modelIds not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow

org.apache.myfaces.buildtools.maven2.plugin.builder.MakeConfigMojo

BugCategoryDetailsLinePriority
Method org.apache.myfaces.buildtools.maven2.plugin.builder.MakeConfigMojo.generateConfigFromVelocity(Model) needlessly instantiates a class that only supplies static methodsBAD_PRACTICEISC_INSTANTIATE_STATIC_CLASS241Low
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeConfigMojo.generateConfigFromVelocity(Model) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE306Medium

org.apache.myfaces.buildtools.maven2.plugin.builder.MakeConverterTagsMojo

BugCategoryDetailsLinePriority
Method org.apache.myfaces.buildtools.maven2.plugin.builder.MakeConverterTagsMojo.generateConverters(Model) needlessly instantiates a class that only supplies static methodsBAD_PRACTICEISC_INSTANTIATE_STATIC_CLASS274Low
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeConverterTagsMojo._generateConverter(VelocityEngine, ConverterMeta, VelocityContext) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE396Medium
MakeConverterTagsMojo.modelIds not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow

org.apache.myfaces.buildtools.maven2.plugin.builder.MakeConvertersMojo

BugCategoryDetailsLinePriority
Method org.apache.myfaces.buildtools.maven2.plugin.builder.MakeConvertersMojo.generateConverters(Model) needlessly instantiates a class that only supplies static methodsBAD_PRACTICEISC_INSTANTIATE_STATIC_CLASS290Low
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeConvertersMojo._generateConverter(VelocityEngine, JavaDocBuilder, ConverterMeta, VelocityContext) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE392Medium
MakeConvertersMojo.modelIds not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow

org.apache.myfaces.buildtools.maven2.plugin.builder.MakeTagsMojo

BugCategoryDetailsLinePriority
Method org.apache.myfaces.buildtools.maven2.plugin.builder.MakeTagsMojo.generateComponents(Model) needlessly instantiates a class that only supplies static methodsBAD_PRACTICEISC_INSTANTIATE_STATIC_CLASS273Low
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeTagsMojo._generateComponent(VelocityEngine, ComponentMeta, VelocityContext) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE395Medium
MakeTagsMojo.modelIds not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow

org.apache.myfaces.buildtools.maven2.plugin.builder.MakeValidatorTagsMojo

BugCategoryDetailsLinePriority
Method org.apache.myfaces.buildtools.maven2.plugin.builder.MakeValidatorTagsMojo.generateValidators(Model) needlessly instantiates a class that only supplies static methodsBAD_PRACTICEISC_INSTANTIATE_STATIC_CLASS274Low
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeValidatorTagsMojo._generateValidator(VelocityEngine, ValidatorMeta, VelocityContext) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE396Medium
MakeValidatorTagsMojo.modelIds not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow

org.apache.myfaces.buildtools.maven2.plugin.builder.MakeValidatorsMojo

BugCategoryDetailsLinePriority
Method org.apache.myfaces.buildtools.maven2.plugin.builder.MakeValidatorsMojo.generateValidators(Model) needlessly instantiates a class that only supplies static methodsBAD_PRACTICEISC_INSTANTIATE_STATIC_CLASS287Low
org.apache.myfaces.buildtools.maven2.plugin.builder.MakeValidatorsMojo._generateValidator(VelocityEngine, JavaDocBuilder, ValidatorMeta, VelocityContext) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE389Medium
MakeValidatorsMojo.modelIds not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow

org.apache.myfaces.buildtools.maven2.plugin.builder.io.XmlWriter

BugCategoryDetailsLinePriority
org.apache.myfaces.buildtools.maven2.plugin.builder.io.XmlWriter.writeElement(String, String) checks to see if result of String.indexOf is positiveSTYLERV_CHECK_FOR_POSITIVE_INDEXOF112Low

org.apache.myfaces.buildtools.maven2.plugin.builder.model.BehaviorMeta

BugCategoryDetailsLinePriority

org.apache.myfaces.buildtools.maven2.plugin.builder.model.ComponentMeta

BugCategoryDetailsLinePriority

org.apache.myfaces.buildtools.maven2.plugin.builder.model.ConverterMeta

BugCategoryDetailsLinePriority

org.apache.myfaces.buildtools.maven2.plugin.builder.model.MethodSignatureMeta

BugCategoryDetailsLinePriority
Method org.apache.myfaces.buildtools.maven2.plugin.builder.model.MethodSignatureMeta.getParameterTypes() uses Collection.toArray() with zero-length array argumentPERFORMANCEITA_INEFFICIENT_TO_ARRAY84Low

org.apache.myfaces.buildtools.maven2.plugin.builder.model.ValidatorMeta

BugCategoryDetailsLinePriority

org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.CompositeComponentModelBuilder$1

BugCategoryDetailsLinePriority
The class org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.CompositeComponentModelBuilder$1 could be refactored into a named _static_ inner classPERFORMANCESIC_INNER_SHOULD_BE_STATIC_ANON497Low

org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.CompositeComponentModelBuilder$CompositeComponentMetadataHandler

BugCategoryDetailsLinePriority
Useless control flow in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.CompositeComponentModelBuilder$CompositeComponentMetadataHandler.characters(char[], int, int)STYLEUCF_USELESS_CONTROL_FLOW97Low
Useless control flow in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.CompositeComponentModelBuilder$CompositeComponentMetadataHandler.comment(char[], int, int)STYLEUCF_USELESS_CONTROL_FLOW104Low
Useless control flow in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.CompositeComponentModelBuilder$CompositeComponentMetadataHandler.endCDATA()STYLEUCF_USELESS_CONTROL_FLOW128Low
Useless control flow in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.CompositeComponentModelBuilder$CompositeComponentMetadataHandler.ignorableWhitespace(char[], int, int)STYLEUCF_USELESS_CONTROL_FLOW177Low
Useless control flow in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.CompositeComponentModelBuilder$CompositeComponentMetadataHandler.processingInstruction(String, String)STYLEUCF_USELESS_CONTROL_FLOW460Low
Useless control flow in org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.CompositeComponentModelBuilder$CompositeComponentMetadataHandler.startCDATA()STYLEUCF_USELESS_CONTROL_FLOW210Low
CompositeComponentModelBuilder$CompositeComponentMetadataHandler.locator not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow

org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.QdoxHelper

BugCategoryDetailsLinePriority
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)CORRECTNESSNP_NULL_PARAM_DEREF598High

org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.QdoxHelper$JavaClassComparator

BugCategoryDetailsLinePriority
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.QdoxHelper$JavaClassComparator implements Comparator but not SerializableBAD_PRACTICESE_COMPARATOR_SHOULD_BE_SERIALIZABLE615Medium

org.apache.myfaces.buildtools.maven2.plugin.builder.qdox._TagAttributes

BugCategoryDetailsLinePriority
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox._TagAttributes.getAll() may expose internal representation by returning _TagAttributes._attributesMALICIOUS_CODEEI_EXPOSE_REP101Medium
org.apache.myfaces.buildtools.maven2.plugin.builder.qdox._TagAttributes.getNamespaces() may expose internal representation by returning _TagAttributes._namespacesMALICIOUS_CODEEI_EXPOSE_REP182Medium
new org.apache.myfaces.buildtools.maven2.plugin.builder.qdox._TagAttributes(_TagAttribute[]) may expose internal representation by storing an externally mutable object into _TagAttributes._attributesMALICIOUS_CODEEI_EXPOSE_REP255Medium

org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.BehaviorParsingStrategy

BugCategoryDetailsLinePriority
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)CORRECTNESSBC_IMPOSSIBLE_CAST58High
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)CORRECTNESSBC_IMPOSSIBLE_CAST52High

org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ClassMetaPropertyParsingStrategy

BugCategoryDetailsLinePriority
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)CORRECTNESSBC_IMPOSSIBLE_CAST72High
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)CORRECTNESSBC_IMPOSSIBLE_CAST106High
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)CORRECTNESSBC_IMPOSSIBLE_CAST131High
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)CORRECTNESSBC_IMPOSSIBLE_CAST145High
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)CORRECTNESSBC_IMPOSSIBLE_CAST156High
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)CORRECTNESSBC_IMPOSSIBLE_CAST64High
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)CORRECTNESSBC_IMPOSSIBLE_CAST98High
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)CORRECTNESSBC_IMPOSSIBLE_CAST123High
Method org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ClassMetaPropertyParsingStrategy.processComponentProperty(Map, AbstractJavaEntity, JavaClass, JavaMethod, PropertyHolder) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION215Medium

org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ClientBehaviorParsingStrategy

BugCategoryDetailsLinePriority
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)CORRECTNESSBC_IMPOSSIBLE_CAST58High
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)CORRECTNESSBC_IMPOSSIBLE_CAST52High

org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ClientBehaviorRendererParsingStrategy

BugCategoryDetailsLinePriority
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)CORRECTNESSBC_IMPOSSIBLE_CAST64High
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)CORRECTNESSBC_IMPOSSIBLE_CAST75High
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)CORRECTNESSBC_IMPOSSIBLE_CAST84High
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)CORRECTNESSBC_IMPOSSIBLE_CAST57High

org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ComponentParsingStrategy

BugCategoryDetailsLinePriority
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)CORRECTNESSBC_IMPOSSIBLE_CAST67High
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)CORRECTNESSBC_IMPOSSIBLE_CAST61High
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)CORRECTNESSBC_IMPOSSIBLE_CAST224High
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)CORRECTNESSBC_IMPOSSIBLE_CAST258High
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)CORRECTNESSBC_IMPOSSIBLE_CAST216High
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)CORRECTNESSBC_IMPOSSIBLE_CAST250High
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)CORRECTNESSBC_IMPOSSIBLE_CAST322High
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)CORRECTNESSBC_IMPOSSIBLE_CAST356High
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)CORRECTNESSBC_IMPOSSIBLE_CAST314High
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)CORRECTNESSBC_IMPOSSIBLE_CAST348High

org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ConverterParsingStrategy

BugCategoryDetailsLinePriority
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)CORRECTNESSBC_IMPOSSIBLE_CAST58High
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)CORRECTNESSBC_IMPOSSIBLE_CAST52High

org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.FaceletTagParsingStrategy

BugCategoryDetailsLinePriority
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)CORRECTNESSBC_IMPOSSIBLE_CAST65High
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)CORRECTNESSBC_IMPOSSIBLE_CAST75High
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)CORRECTNESSBC_IMPOSSIBLE_CAST84High
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)CORRECTNESSBC_IMPOSSIBLE_CAST59High
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)CORRECTNESSBC_IMPOSSIBLE_CAST152High
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)CORRECTNESSBC_IMPOSSIBLE_CAST172High
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)CORRECTNESSBC_IMPOSSIBLE_CAST193High
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)CORRECTNESSBC_IMPOSSIBLE_CAST206High
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)CORRECTNESSBC_IMPOSSIBLE_CAST217High
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)CORRECTNESSBC_IMPOSSIBLE_CAST144High
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)CORRECTNESSBC_IMPOSSIBLE_CAST165High
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)CORRECTNESSBC_IMPOSSIBLE_CAST184High
Method org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.FaceletTagParsingStrategy.processFaceletTagAttribute(Map, AbstractJavaEntity, JavaClass, JavaMethod, FaceletTagMeta) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION258Medium

org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.JspTagParsingStrategy

BugCategoryDetailsLinePriority
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)CORRECTNESSBC_IMPOSSIBLE_CAST61High
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)CORRECTNESSBC_IMPOSSIBLE_CAST55High
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)CORRECTNESSBC_IMPOSSIBLE_CAST115High
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)CORRECTNESSBC_IMPOSSIBLE_CAST107High
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)CORRECTNESSBC_IMPOSSIBLE_CAST128High
Method org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.JspTagParsingStrategy.processTagAttribute(Map, AbstractJavaEntity, JavaClass, JavaMethod, TagMeta) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION167Medium

org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.RenderKitParsingStrategy

BugCategoryDetailsLinePriority
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)CORRECTNESSBC_IMPOSSIBLE_CAST57High
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)CORRECTNESSBC_IMPOSSIBLE_CAST51High

org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.RendererParsingStrategy

BugCategoryDetailsLinePriority
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)CORRECTNESSBC_IMPOSSIBLE_CAST64High
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)CORRECTNESSBC_IMPOSSIBLE_CAST75High
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)CORRECTNESSBC_IMPOSSIBLE_CAST84High
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)CORRECTNESSBC_IMPOSSIBLE_CAST57High

org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.ValidatorParsingStrategy

BugCategoryDetailsLinePriority
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)CORRECTNESSBC_IMPOSSIBLE_CAST58High
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)CORRECTNESSBC_IMPOSSIBLE_CAST52High

org.apache.myfaces.buildtools.maven2.plugin.builder.qdox.parse.WebConfigParamParsingStrategy

BugCategoryDetailsLinePriority
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)CORRECTNESSBC_IMPOSSIBLE_CAST72High
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)CORRECTNESSBC_IMPOSSIBLE_CAST65High

org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.AttributeBean

BugCategoryDetailsLinePriority
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.AttributeBean.getAttributeClassParameters() may expose internal representation by returning AttributeBean._attributeClassParametersMALICIOUS_CODEEI_EXPOSE_REP85Medium
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.AttributeBean defines compareTo(Object) and uses Object.equals()BAD_PRACTICEEQ_COMPARETO_USE_OBJECT_EQUALS239Medium

org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.ComponentBean

BugCategoryDetailsLinePriority
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.ComponentBean.getEventNames() may expose internal representation by returning ComponentBean._eventNamesMALICIOUS_CODEEI_EXPOSE_REP344Medium
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.ComponentBean.getUnsupportedAgents() may expose internal representation by returning ComponentBean._unsupportedAgentsMALICIOUS_CODEEI_EXPOSE_REP256Medium
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.ComponentBean.setEventNames(String[]) may expose internal representation by storing an externally mutable object into ComponentBean._eventNamesMALICIOUS_CODEEI_EXPOSE_REP2339Medium
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.ComponentBean.setUnsupportedAgents(String[]) may expose internal representation by storing an externally mutable object into ComponentBean._unsupportedAgentsMALICIOUS_CODEEI_EXPOSE_REP2246Medium

org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.EventRefBean

BugCategoryDetailsLinePriority
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.EventRefBean.getEventDeliveryPhases() may expose internal representation by returning EventRefBean._deliveryPhasesMALICIOUS_CODEEI_EXPOSE_REP85Medium
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.EventRefBean.setEventDeliveryPhases(String[]) may expose internal representation by storing an externally mutable object into EventRefBean._deliveryPhasesMALICIOUS_CODEEI_EXPOSE_REP273Medium

org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.MethodSignatureBean

BugCategoryDetailsLinePriority
Method org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.MethodSignatureBean.getParameterTypes() uses Collection.toArray() with zero-length array argumentPERFORMANCEITA_INEFFICIENT_TO_ARRAY56Low

org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.PropertyBean

BugCategoryDetailsLinePriority
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.PropertyBean.getPropertyValues() may expose internal representation by returning PropertyBean._propertyValuesMALICIOUS_CODEEI_EXPOSE_REP108Medium
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.PropertyBean.getUnsupportedAgents() may expose internal representation by returning PropertyBean._unsupportedAgentsMALICIOUS_CODEEI_EXPOSE_REP276Medium
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.PropertyBean.getUnsupportedRenderKits() may expose internal representation by returning PropertyBean._unsupportedRenderKitsMALICIOUS_CODEEI_EXPOSE_REP300Medium
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.PropertyBean.setPropertyValues(String[]) may expose internal representation by storing an externally mutable object into PropertyBean._propertyValuesMALICIOUS_CODEEI_EXPOSE_REP298Medium
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.PropertyBean.setUnsupportedAgents(String[]) may expose internal representation by storing an externally mutable object into PropertyBean._unsupportedAgentsMALICIOUS_CODEEI_EXPOSE_REP2266Medium
org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.PropertyBean.setUnsupportedRenderKits(String[]) may expose internal representation by storing an externally mutable object into PropertyBean._unsupportedRenderKitsMALICIOUS_CODEEI_EXPOSE_REP2290Medium

org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.rules.BeanPropertySetterRule

BugCategoryDetailsLinePriority

org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.util.CompoundIterator

BugCategoryDetailsLinePriority
new org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.util.CompoundIterator(Iterator[]) may expose internal representation by storing an externally mutable object into CompoundIterator._iteratorsMALICIOUS_CODEEI_EXPOSE_REP240Medium

org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.util.Util

BugCategoryDetailsLinePriority
Method org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.util.Util.getGenericsFromProperty(PropertyBean) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION53Medium

org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.AbstractDependencyMojo

BugCategoryDetailsLinePriority
Exception is caught when Exception is not thrown in org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.AbstractDependencyMojo.silenceUnarchiver(UnArchiver)STYLEREC_CATCH_EXCEPTION296Low
org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.AbstractDependencyMojo.unpack(File, File, String, String) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE232Medium

org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.AbstractFromConfigurationMojo

BugCategoryDetailsLinePriority
org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.AbstractFromConfigurationMojo.getProcessedArtifactItems(boolean) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE135Medium

org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.ArtifactItem

BugCategoryDetailsLinePriority

org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.UnpackMojo

BugCategoryDetailsLinePriority
Unwritten field: org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.UnpackMojo.baseDirectory1CORRECTNESSUWF_UNWRITTEN_FIELD142Medium
Unwritten field: org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.UnpackMojo.baseDirectory2CORRECTNESSUWF_UNWRITTEN_FIELD142Medium
Unwritten field: org.apache.myfaces.buildtools.maven2.plugin.builder.unpack.UnpackMojo.scanModelCORRECTNESSUWF_UNWRITTEN_FIELD155Low

org.apache.myfaces.buildtools.maven2.plugin.builder.utils.MavenPluginConsoleLogSystem

BugCategoryDetailsLinePriority
Method org.apache.myfaces.buildtools.maven2.plugin.builder.utils.MavenPluginConsoleLogSystem.log(int, String) uses the same code for two switch clausesSTYLEDB_DUPLICATE_SWITCH_CLAUSES55Low

org.apache.myfaces.buildtools.maven2.plugin.builder.utils.MyfacesUtils

BugCategoryDetailsLinePriority
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE359Low

org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo

BugCategoryDetailsLinePriority
Dead store to otherPages in org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateTagDocs()STYLEDLS_DEAD_LOCAL_STORE391Low
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateBehaviorDoc(VelocityEngine, VelocityContext, Model, BehaviorMeta) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR752Medium
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateComponentDoc(VelocityEngine, VelocityContext, Model, ComponentMeta) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR440Medium
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateConverterDoc(VelocityEngine, VelocityContext, Model, ConverterMeta) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR544Medium
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateFaceletTagDoc(VelocityEngine, VelocityContext, Model, FaceletTagMeta) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR1003Medium
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateTagDoc(VelocityEngine, VelocityContext, Model, TagMeta) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR852Medium
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateTagDocs() invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR287Medium
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateValidatorDoc(VelocityEngine, VelocityContext, Model, ValidatorMeta) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR648Medium
Method org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateTagDocs() needlessly instantiates a class that only supplies static methodsBAD_PRACTICEISC_INSTANTIATE_STATIC_CLASS284Low
Method org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateTagDocs() needlessly instantiates a class that only supplies static methodsBAD_PRACTICEISC_INSTANTIATE_STATIC_CLASS285Low
Method org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo.createCompileClassLoader(MavenProject) uses Collection.toArray() with zero-length array argumentPERFORMANCEITA_INEFFICIENT_TO_ARRAY1161Low
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateBehaviorDoc(VelocityEngine, VelocityContext, Model, BehaviorMeta) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE812Medium
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateComponentDoc(VelocityEngine, VelocityContext, Model, ComponentMeta) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE504Medium
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateConverterDoc(VelocityEngine, VelocityContext, Model, ConverterMeta) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE608Medium
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateFaceletTagDoc(VelocityEngine, VelocityContext, Model, FaceletTagMeta) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE1058Medium
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateTagDoc(VelocityEngine, VelocityContext, Model, TagMeta) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE916Medium
org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._generateValidatorDoc(VelocityEngine, VelocityContext, Model, ValidatorMeta) ignores exceptional return value of java.io.File.mkdirs()BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE712Medium
Private method org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo._is12() is never calledPERFORMANCEUPM_UNCALLED_PRIVATE_METHOD1234Low
TagdocContentMojo.modelIds not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow

org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo$CustomResourceManagerImpl

BugCategoryDetailsLinePriority
Should org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocContentMojo$CustomResourceManagerImpl be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC234Medium

org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocIndexReport

BugCategoryDetailsLinePriority
TagdocIndexReport.modelIds not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow
TagdocIndexReport.taglibs not initialized in constructorSTYLEUWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTORLow

org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocIndexReport$CustomResourceManagerImpl

BugCategoryDetailsLinePriority
Should org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocIndexReport$CustomResourceManagerImpl be a _static_ inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC166Medium

org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocUtils

BugCategoryDetailsLinePriority
Method org.apache.myfaces.buildtools.maven2.plugin.tagdoc.TagdocUtils.getDisplayType(String, String, String) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION69Medium