FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is

Effort is min

Summary

ClassesBugsErrorsMissing Classes
9391610

org.apache.vxquery.datamodel.util.DateTime

BugCategoryDetailsLinePriority
org.apache.vxquery.datamodel.util.DateTime.DAYS_OF_MONTH_LEAP is a mutable arrayMALICIOUS_CODEMS_MUTABLE_ARRAY27Medium
org.apache.vxquery.datamodel.util.DateTime.DAYS_OF_MONTH_ORDI is a mutable arrayMALICIOUS_CODEMS_MUTABLE_ARRAY26Medium
org.apache.vxquery.datamodel.util.DateTime.FIELD_MAXS should be package protectedMALICIOUS_CODEMS_PKGPROTECT45Medium
org.apache.vxquery.datamodel.util.DateTime.FIELD_MINS should be package protectedMALICIOUS_CODEMS_PKGPROTECT37Medium

org.apache.vxquery.runtime.functions.cast.CastToHexBinaryOperation

BugCategoryDetailsLinePriority
Unread field: org.apache.vxquery.runtime.functions.cast.CastToHexBinaryOperation.dOutInnerPERFORMANCEURF_UNREAD_FIELD34Medium

org.apache.vxquery.runtime.functions.cast.CastToQNameOperation

BugCategoryDetailsLinePriority
Unread field: org.apache.vxquery.runtime.functions.cast.CastToQNameOperation.dOutInnerPERFORMANCEURF_UNREAD_FIELD34Medium

org.apache.vxquery.runtime.functions.cast.CastToStringOperation

BugCategoryDetailsLinePriority
There is an apparent infinite loop in org.apache.vxquery.runtime.functions.cast.CastToStringOperation.convertDecimal(XSDecimalPointable, DataOutput)CORRECTNESSIL_INFINITE_LOOP132High

org.apache.vxquery.runtime.functions.comparison.general.AbstractGeneralComparisonScalarEvaluatorFactory$1

BugCategoryDetailsLinePriority
Dead store to tid1 in org.apache.vxquery.runtime.functions.comparison.general.AbstractGeneralComparisonScalarEvaluatorFactory$1.transformThenCompareTaggedValues(AbstractValueComparisonOperation, TaggedValuePointable, TaggedValuePointable, DynamicContext)STYLEDLS_DEAD_LOCAL_STORE201Medium
Dead store to tid2 in org.apache.vxquery.runtime.functions.comparison.general.AbstractGeneralComparisonScalarEvaluatorFactory$1.transformThenCompareTaggedValues(AbstractValueComparisonOperation, TaggedValuePointable, TaggedValuePointable, DynamicContext)STYLEDLS_DEAD_LOCAL_STORE208Medium

org.apache.vxquery.runtime.functions.error.FnErrorScalarEvaluatorFactory

BugCategoryDetailsLinePriority
Dead store to prefixp in org.apache.vxquery.runtime.functions.error.FnErrorScalarEvaluatorFactory.createEvaluator(IHyracksTaskContext, IScalarEvaluator[])STYLEDLS_DEAD_LOCAL_STORE53Medium

org.apache.vxquery.runtime.functions.error.FnErrorScalarEvaluatorFactory$1

BugCategoryDetailsLinePriority
Dead store to localPart in org.apache.vxquery.runtime.functions.error.FnErrorScalarEvaluatorFactory$1.evaluate(TaggedValuePointable[], IPointable)STYLEDLS_DEAD_LOCAL_STORE80Medium
Dead store to namespaceURI in org.apache.vxquery.runtime.functions.error.FnErrorScalarEvaluatorFactory$1.evaluate(TaggedValuePointable[], IPointable)STYLEDLS_DEAD_LOCAL_STORE79Medium

org.apache.vxquery.runtime.functions.misc.FnDataScalarEvaluatorFactory$1

BugCategoryDetailsLinePriority
Switch statement found in org.apache.vxquery.runtime.functions.misc.FnDataScalarEvaluatorFactory$1.atomizeNode(NodeTreePointable, SequenceBuilder) where one case falls through to the next caseSTYLESF_SWITCH_FALLTHROUGH144Medium

org.apache.vxquery.runtime.functions.numeric.FnCeilingOperation

BugCategoryDetailsLinePriority
integral value cast to double and then passed to Math.ceil in org.apache.vxquery.runtime.functions.numeric.FnCeilingOperation.operateDecimal(XSDecimalPointable, DataOutput)CORRECTNESSICAST_INT_CAST_TO_DOUBLE_PASSED_TO_CEIL36High

org.apache.vxquery.runtime.functions.numeric.FnRoundOperation

BugCategoryDetailsLinePriority
int value cast to float and then passed to Math.round in org.apache.vxquery.runtime.functions.numeric.FnRoundOperation.operateDecimal(XSDecimalPointable, DataOutput)CORRECTNESSICAST_INT_CAST_TO_FLOAT_PASSED_TO_ROUND36Medium

org.apache.vxquery.xmlquery.translator.XMLQueryTranslator

BugCategoryDetailsLinePriority
Dead store to tCtx in org.apache.vxquery.xmlquery.translator.XMLQueryTranslator.translateFLWORExprNode(XMLQueryTranslator$TranslationContext, FLWORExprNode)STYLEDLS_DEAD_LOCAL_STORE1126High