[Fb-contrib-commit] SF.net SVN: fb-contrib:[1776] trunk/fb-contrib
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2015-05-06 00:34:38
|
Revision: 1776
http://sourceforge.net/p/fb-contrib/code/1776
Author: dbrosius
Date: 2015-05-06 00:34:33 +0000 (Wed, 06 May 2015)
Log Message:
-----------
sync from github
Modified Paths:
--------------
trunk/fb-contrib/.classpath
trunk/fb-contrib/build.properties
trunk/fb-contrib/build.xml
trunk/fb-contrib/etc/bugdescriptions.xsl
trunk/fb-contrib/etc/bugrank.txt
trunk/fb-contrib/etc/findbugs.xml
trunk/fb-contrib/etc/findbugsplugin.xsd
trunk/fb-contrib/etc/messagecollection.xsd
trunk/fb-contrib/etc/messages.xml
trunk/fb-contrib/htdocs/index.shtml
trunk/fb-contrib/plugin.xml
trunk/fb-contrib/pom.xml
trunk/fb-contrib/samples/AIOB_Sample.java
trunk/fb-contrib/samples/BED_Sample.java
trunk/fb-contrib/samples/CNC_Sample.java
trunk/fb-contrib/samples/EXS_Sample.java
trunk/fb-contrib/samples/FCBL_Sample.java
trunk/fb-contrib/samples/ICA_Sample.java
trunk/fb-contrib/samples/MDM_Sample.java
trunk/fb-contrib/samples/MRC_Sample.java
trunk/fb-contrib/samples/OCP_Sample.java
trunk/fb-contrib/samples/PMB_Sample.java
trunk/fb-contrib/samples/SPP_Sample.java
trunk/fb-contrib/samples/SUA_Sample.java
trunk/fb-contrib/samples/UCPM_Sample.java
trunk/fb-contrib/samples/UVA_Sample.java
trunk/fb-contrib/samples/samples.fbp
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/FBContrib.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/collect/CollectMethodsReturningImmutableCollections.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/collect/CollectStatistics.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/collect/ImmutabilityType.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/collect/MethodInfo.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/collect/Statistics.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/debug/Debug.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/debug/OCSDebugger.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/AbnormalFinallyBlockReturn.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/AbstractClassEmptyMethods.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/AbstractOverriddenMethod.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ArrayBasedCollections.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ArrayIndexOutOfBounds.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ArrayWrappedCallByReference.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/BackportReusePublicIdentifiers.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/BloatedAssignmentScope.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/BloatedSynchronizedBlock.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/BogusExceptionDeclaration.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/CircularDependencies.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ClassEnvy.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/CloneUsability.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/CollectionNamingConfusion.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/CommonsEqualsBuilderToEquals.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/CommonsHashcodeBuilderToHashcode.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/CommonsStringBuilderToString.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/CompareClassNameEquals.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ConflictingTimeUnits.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ConfusingArrayAsList.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ConfusingAutoboxedOverloading.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ConfusingFunctionSemantics.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ConstantListIndex.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ContraVariantArrayAssignment.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/CopiedOverriddenMethod.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/CustomBuiltXML.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/CyclomaticComplexity.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/DateComparison.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/DeclaredRuntimeException.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/DeletingWhileIterating.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/DeprecatedTypesafeEnumPattern.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/DubiousListCollection.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/DubiousSetOfCollections.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ExceptionSoftening.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/FieldCouldBeLocal.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/FinalParameters.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/FloatingPointLoops.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/HangingExecutors.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/HttpClientProblems.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ImproperPropertiesUse.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/InappropriateToStringUse.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/InconsistentKeyNameCasing.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/IncorrectInternalClassUse.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/InefficientStringBuffering.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/InheritanceTypeChecking.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/InvalidConstantArgument.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/JDBCVendorReliance.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/JUnitAssertionOddities.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/LingeringGraphicsObjects.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ListIndexedIterating.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/LiteralStringComparison.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/LocalSynchronizedCollection.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/LocalTypeDetector.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/LoggerOddities.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/LostExceptionStackTrace.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ManualArrayCopy.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/MethodReturnsConstant.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/MisleadingOverloadModel.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/MissingMethodsDetector.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ModifyingUnmodifiableCollection.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/MoreDumbMethods.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NeedlessAutoboxing.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NeedlessCustomSerialization.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NeedlessInstanceRetrieval.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NeedlessMemberCollectionSynchronization.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NonCollectionMethodUse.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NonFunctionalField.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NonOwnedSynchronization.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NonProductiveMethodCall.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NonRecycleableTaglibs.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NonSymmetricEquals.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/OrphanedDOMNode.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/OverlyConcreteParameter.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/OverzealousCasting.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ParallelLists.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/PartiallyConstructedObjectAccess.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/PoorMansEnum.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/PoorlyDefinedParameter.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/PossibleConstantAllocationInLoop.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/PossibleIncompleteSerialization.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/PossibleMemoryBloat.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/PossibleUnsuspectedSerialization.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/PossiblyRedundantMethodCalls.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/PresizeCollections.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ReflectionOnObjectMethods.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/SQLInLoop.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/Section508Compliance.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/SideEffectConstructor.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/SillynessPotPourri.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/SloppyClassReflection.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/SluggishGui.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/SpoiledChildInterfaceImplementor.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/SpuriousThreadStates.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/StackedTryBlocks.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/StaticArrayCreatedInMethod.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/StaticMethodInstanceInvocation.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/StutteredMethodArguments.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/SuspiciousCloneAlgorithm.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/SuspiciousClusteredSessionSupport.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/SuspiciousComparatorReturnValues.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/SuspiciousGetterSetterUse.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/SuspiciousJDKVersionUse.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/SuspiciousNullGuard.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/SuspiciousUninitializedArray.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/SuspiciousWaitOnConcurrentObject.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/SyncCollectionIterators.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/TailRecursion.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/TristateBooleanPattern.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/UnboundMethodTemplateParameter.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/Unjitable.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/UnnecessaryNewNullCheck.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/UnnecessaryStoreBeforeReturn.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/UnrelatedCollectionContents.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/UnrelatedReturnValues.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/UnusedParameter.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/UseAddAll.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/UseCharacterParameterizedMethod.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/UseEnumCollections.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/UseSplit.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/UseToArray.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/UseVarArgs.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/WeakExceptionMessaging.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/WriteOnlyCollection.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/AttributesUtils.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/CodeByteUtils.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/CollectionUtils.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/OpcodeUtils.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/RegisterUtils.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/SignatureUtils.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/TernaryPatcher.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/XClassUtils.java
trunk/fb-contrib/yank.xls
Added Paths:
-----------
trunk/fb-contrib/samples/CBC_Sample.java
trunk/fb-contrib/samples/CIS_Sample.java
trunk/fb-contrib/samples/CRF_Sample.java
trunk/fb-contrib/samples/CSI_Sample.java
trunk/fb-contrib/samples/OPM_Sample.java
trunk/fb-contrib/samples/SLS_Sample.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/collect/StatisticsKey.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/debug/package.html
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/CharsetIssues.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ClassImpersonatingString.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ConflatingResourcesAndFiles.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ContainsBasedConditional.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/OverlyPermissiveMethod.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/SuspiciousLoopSearch.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/BugType.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/PublicAPI.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/ToString.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/Values.java
trunk/fb-contrib/user.properties.example
Property Changed:
----------------
trunk/fb-contrib/samples/ABC_Sample.java
trunk/fb-contrib/samples/ACEM_Sample.java
trunk/fb-contrib/samples/AFBR_Sample.java
trunk/fb-contrib/samples/AOM_Sample.java
trunk/fb-contrib/samples/AWCBR_Sample.java
trunk/fb-contrib/samples/BAS_Sample.java
trunk/fb-contrib/samples/BSB_Sample.java
trunk/fb-contrib/samples/CAO_Sample.java
trunk/fb-contrib/samples/CBX_Sample.java
trunk/fb-contrib/samples/CE_Sample.java
trunk/fb-contrib/samples/CLI_Sample.java
trunk/fb-contrib/samples/COM_Sample.java
trunk/fb-contrib/samples/DDC_Sample.java
trunk/fb-contrib/samples/DLC_Sample.java
trunk/fb-contrib/samples/DRE_Sample.java
trunk/fb-contrib/samples/DWI_Sample.java
trunk/fb-contrib/samples/FCBL_Sample.java
trunk/fb-contrib/samples/FPL_Sample.java
trunk/fb-contrib/samples/FP_Sample.java
trunk/fb-contrib/samples/ISB_Sample.java
trunk/fb-contrib/samples/ITC_Sample.java
trunk/fb-contrib/samples/LEST_Sample.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/RegisterUtils.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/SignatureUtils.java
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/utils/package.html
Modified: trunk/fb-contrib/.classpath
===================================================================
--- trunk/fb-contrib/.classpath 2014-07-26 03:46:13 UTC (rev 1775)
+++ trunk/fb-contrib/.classpath 2015-05-06 00:34:33 UTC (rev 1776)
@@ -4,11 +4,9 @@
<classpathentry kind="src" path="src"/>
<classpathentry excluding="lib/" kind="src" path="samples"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry combineaccessrules="false" kind="src" path="/findbugs"/>
<classpathentry kind="lib" path="lib/backport-util-concurrent-3.1.jar"/>
<classpathentry kind="lib" path="lib/commons-collections-3.2.1.jar"/>
<classpathentry kind="lib" path="lib/javax.servlet-api-3.1.0.jar"/>
- <classpathentry kind="lib" path="lib/junit-4.11.jar"/>
<classpathentry kind="lib" path="lib/log4j-1.2.17.jar"/>
<classpathentry kind="lib" path="lib/javax.servlet.jsp-api-2.3.1.jar"/>
<classpathentry kind="lib" path="lib/commons-lang3-3.3.jar"/>
@@ -19,7 +17,14 @@
<classpathentry kind="lib" path="lib/httpclient-4.3.4.jar"/>
<classpathentry kind="lib" path="lib/annotations-3.0.0.jar"/>
<classpathentry kind="lib" path="lib/asm-debug-all-5.0.2.jar"/>
- <classpathentry kind="lib" path="lib/bcel-findbugs-6.0.jar"/>
- <classpathentry kind="lib" path="lib/findbugs-3.0.0.jar"/>
+ <classpathentry kind="lib" path="lib/bcel-findbugs-6.0.jar" sourcepath="lib/sources/bcel-findbugs-6.0-sources.jar">
+ <attributes>
+ <attribute name="javadoc_location" value="http://commons.apache.org/proper/commons-bcel/apidocs/"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="lib" path="lib/commons-codec-1.6.jar"/>
+ <classpathentry kind="lib" path="lib/findbugs-3.0.1.jar" sourcepath="lib/sources/findbugs-3.0.1-sources.jar"/>
+ <classpathentry combineaccessrules="false" kind="src" path="/findbugs"/>
+ <classpathentry kind="lib" path="lib/junit-4.12.jar"/>
<classpathentry kind="output" path="classes"/>
</classpath>
Modified: trunk/fb-contrib/build.properties
===================================================================
--- trunk/fb-contrib/build.properties 2014-07-26 03:46:13 UTC (rev 1775)
+++ trunk/fb-contrib/build.properties 2015-05-06 00:34:33 UTC (rev 1776)
@@ -9,5 +9,3 @@
output.. = classes/
proxy.server =
-
-findbugs.dir=/home/dave/dev/findbugs/findbugs
Modified: trunk/fb-contrib/build.xml
===================================================================
--- trunk/fb-contrib/build.xml 2014-07-26 03:46:13 UTC (rev 1775)
+++ trunk/fb-contrib/build.xml 2015-05-06 00:34:33 UTC (rev 1776)
@@ -1,6 +1,6 @@
<!-- fb-contrib Ant build script. Dave Brosius -->
-<project name="fb-contrib" default="info">
+<project name="fb-contrib" default="default">
<property file="user.properties" />
<property file="build.properties" />
@@ -18,7 +18,7 @@
<property name="javac.deprecation" value="on" />
<property name="javac.debug" value="on" />
- <property name="fb-contrib.version" value="6.0.0" />
+ <property name="fb-contrib.version" value="6.0.1" />
<property name="sonatype.dir" value="${user.home}/.fb-contrib-${fb-contrib.version}-sonatype" />
@@ -36,9 +36,16 @@
<delete dir="${basedir}/plugin" />
</target>
+ <target name="infra_jars" description="pull jars needed to build fb-contrib to ${user.dir}/.ant/lib">
+ <mkdir dir="${user.home}/.ant/lib" />
+ <get src="http://repo1.maven.org/maven2/com/mebigfatguy/yank/yank/1.4.0/yank-1.4.0.jar" dest="${user.home}/.ant/lib"/>
+ <get src="https://bitbucket.org/klubick/bugrankcheckstyle/downloads/bug-rank-check-style-1.0.0.jar" dest="${user.home}/.ant/lib"/>
+ <get src="http://repo1.maven.org/maven2/com/mebigfatguy/vcsversion/vcsversion/0.2.0/vcsversion-0.2.0.jar" dest="${user.home}/.ant/lib"/>
+ </target>
+
<target name="yank" xmlns:yank="antlib:com.mebigfatguy.yank" unless="no.yank">
<mkdir dir="${lib.dir}" />
- <yank:yank yankFile="${basedir}/yank.xls" destination="${lib.dir}" proxyServer="${proxy.server}" source="true">
+ <yank:yank yankFile="${basedir}/yank.xls" destination="${lib.dir}" proxyServer="${proxy.server}" source="true" separateClassifierTypes="true">
<server url="http://repo1.maven.org/maven2" />
<generateVersions propertyFileName="${basedir}/version.properties" />
</yank:yank>
@@ -47,13 +54,27 @@
<target name="info">
<echo message="fb-contrib - a findbugs plugin"/>
<echo message=""/>
- <echo message=" this project uses yank (https://github.com/mebigfatguy/yank) for dependency management"/>
- <echo message=" download yank.jar and place in ant/lib directory"/>
+ <echo message=" This project requires three jars to build fb-contrib: yank, bug-rank-check-style and vcsversion" />
+ <echo message=""/>
+ <echo message=" This project uses yank (https://github.com/mebigfatguy/yank) for dependency management"/>
+ <echo message=" download yank.jar and place in ~/.ant/lib directory"/>
<echo message=" http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.mebigfatguy.yank%22"/>
- <antcall target="install"/>
+
+ <echo message="===="/>
+ <echo message=" Additionally, this project uses bug-rank-check-style to validate etc/bugrank.txt"/>
+ <echo message=" bug-rank-check-style-1.0.0.jar can be downloaded at https://bitbucket.org/klubick/bugrankcheckstyle/downloads"/>
+ <echo message=" and put in ~/.ant/lib alongside yank"/>
+ <echo message="===="/>
+ <echo message=" Finally, this project uses vcsversion to inject the git version information into the manifest file"/>
+ <echo message=" and can be downloaded and placed in ~/.ant/lib as well"/>
+ <echo message=" http://search.maven.org/#search%7Cga%7C1%7Cvcsversion"/>
+ <echo message="===="/>
+ <echo message=" This task can be automated by running ant infra_jars"/>
</target>
+
+ <target name="default" depends="info, install"/>
- <target name="-init" depends="yank" description="prepares repository for a build">
+ <target name="-init" depends="yank">
<mkdir dir="${lib.dir}" />
<mkdir dir="${classes.dir}" />
<mkdir dir="${javadoc.dir}" />
@@ -75,15 +96,18 @@
<pathelement location="${lib.dir}/httpclient-cache-${httpclient-cache.version}.jar" />
<pathelement location="${lib.dir}/httpcore-${httpcore.version}.jar" />
<pathelement location="${lib.dir}/httpclient-${httpclient.version}.jar" />
+ <pathelement location="${lib.dir}/commons-codec-${commons-codec.version}.jar" />
</path>
</target>
<target name="validate_xml" depends="-init" description="validates the xml files">
+ <taskdef name="bug-rank-check-style" classname="text.style.check.BugRankCheckStyleTask"/>
<xmlvalidate lenient="false" failonerror="yes">
<attribute name="http://apache.org/xml/features/validation/schema" value="true" />
<attribute name="http://xml.org/sax/features/namespaces" value="true" />
<fileset dir="${etc.dir}" includes="*.xml" />
</xmlvalidate>
+ <bug-rank-check-style findbugsxml="etc/findbugs.xml" failOnMissingDetector="false" />
</target>
<target name="compile" depends="-init" description="compiles java files">
@@ -106,7 +130,8 @@
</javac>
</target>
- <target name="jar" depends="compile" description="produces the fb-contrib jar file">
+ <target name="jar" depends="compile" xmlns:vcs="antlib:com.mebigfatguy.vcsversion" description="produces the fb-contrib jar file">
+ <vcs:vcsversion vcs="git" revisionProperty="_rev_" dateProperty="_date_" branchProperty="_branch_"/>
<jar destfile="${basedir}/fb-contrib-${fb-contrib.version}.jar">
<fileset dir="etc">
<include name="findbugs.xml" />
@@ -124,6 +149,7 @@
<manifest>
<attribute name="fb-contrib-version" value="${fb-contrib.version}" />
<attribute name="Main-Class" value="com.mebigfatguy.fbcontrib.FBContrib" />
+ <attribute name="git-revision" value="${_branch_} ${_rev_} ${_date_}" />
<attribute name="Eclipse-RegisterBuddy" value="edu.umd.cs.findbugs.plugin.eclipse" />
<attribute name="Bundle-ManifestVersion" value="2" />
<attribute name="Bundle-Name" value="fb-contrib plugin" />
@@ -134,7 +160,7 @@
<attribute name="Require-Bundle" value="edu.umd.cs.findbugs.plugin.eclipse" />
<attribute name="Bundle-ActivationPolicy" value="lazy" />
<attribute name="Export-Package" value="com.mebigfatguy.fbcontrib.collect, com.mebigfatguy.fbcontrib.detect, com.mebigfatguy.fbcontrib.debug" />
- <attribute name="Import-Package" value="edu.umd.cs.findbugs, edu.umd.cs.findbugs.ba, edu.umd.cs.findbugs.bceledu.umd.cs.findbugs.visitclass, org.apache.bcel, org.apache.bcel.classfile, org.apache.bcel.generic" />
+ <attribute name="Import-Package" value="edu.umd.cs.findbugs, edu.umd.cs.findbugs.ba, edu.umd.cs.findbugs.bcel, edu.umd.cs.findbugs.visitclass, org.apache.bcel, org.apache.bcel.classfile, org.apache.bcel.generic" />
</manifest>
</jar>
</target>
@@ -160,7 +186,7 @@
<target name="javadoc" depends="-init" description="build the javadoc for the project">
<javadoc packagenames="com.mebigfatguy.*" sourcepath="${src.dir}" classpathref="fb-contrib.classpath" destdir="${javadoc.dir}" windowtitle="fb-contrib api">
<doctitle><![CDATA[<h1>fb-contrib javadoc</h1>]]></doctitle>
- <bottom><![CDATA[<i>Copyright © 2005-2014 MeBigFatGuy.com. All Rights Reserved.</i>]]></bottom>
+ <bottom><![CDATA[<i>Copyright © 2005-2015 MeBigFatGuy.com. All Rights Reserved.</i>]]></bottom>
</javadoc>
</target>
Modified: trunk/fb-contrib/etc/bugdescriptions.xsl
===================================================================
--- trunk/fb-contrib/etc/bugdescriptions.xsl 2014-07-26 03:46:13 UTC (rev 1775)
+++ trunk/fb-contrib/etc/bugdescriptions.xsl 2015-05-06 00:34:33 UTC (rev 1776)
@@ -40,6 +40,11 @@
<xsl:for-each select="//BugPattern[starts-with(@type,$abbrev)]">
<xsl:sort select="."/>
<li>
+ <a>
+ <xsl:attribute name="name">
+ <xsl:value-of select="@type"/>
+ </xsl:attribute>
+ </a>
<div class="bugcode">
<xsl:value-of select="@type"/>
</div>
Modified: trunk/fb-contrib/etc/bugrank.txt
===================================================================
--- trunk/fb-contrib/etc/bugrank.txt 2014-07-26 03:46:13 UTC (rev 1775)
+++ trunk/fb-contrib/etc/bugrank.txt 2015-05-06 00:34:33 UTC (rev 1776)
@@ -1,135 +1,223 @@
-0 BugPattern ISB_INEFFICIENT_STRING_BUFFERING
-0 BugPattern ISB_EMPTY_STRING_APPENDING
-0 BugPattern SCI_SYNCHRONIZED_COLLECTION_ITERATORS
-0 BugPattern CC_CYCLOMATIC_COMPLEXITY
-0 BugPattern OCP_OVERLY_CONCRETE_PARAMETER
-0 BugPattern LII_LIST_INDEXED_ITERATING
-0 BugPattern UCC_UNRELATED_COLLECTION_CONTENTS
-0 BugPattern DRE_DECLARED_RUNTIME_EXCEPTION
-0 BugPattern CE_CLASS_ENVY
-0 BugPattern LSC_LITERAL_STRING_COMPARISON
-0 BugPattern PCOA_PARTIALLY_CONSTRUCTED_OBJECT_ACCESS
-0 BugPattern DLC_DUBIOUS_LIST_COLLECTION
-0 BugPattern PL_PARALLEL_LISTS
-0 BugPattern FP_FINAL_PARAMETERS
-0 BugPattern ACEM_ABSTRACT_CLASS_EMPTY_METHODS
-0 BugPattern MAC_MANUAL_ARRAY_COPY
-0 BugPattern FPL_FLOATING_POINT_LOOPS
-0 BugPattern NCMU_NON_COLLECTION_METHOD_USE
-0 BugPattern CAO_CONFUSING_AUTOBOXED_OVERLOADING
-0 BugPattern AFBR_ABNORMAL_FINALLY_BLOCK_RETURN
-0 BugPattern SMII_STATIC_METHOD_INSTANCE_INVOCATION
-0 BugPattern STS_SPURIOUS_THREAD_STATES
-0 BugPattern NAB_NEEDLESS_AUTOBOXING_CTOR
-0 BugPattern NAB_NEEDLESS_BOXING_STRING_CTOR
-0 BugPattern NAB_NEEDLESS_AUTOBOXING_VALUEOF
-0 BugPattern NAB_NEEDLESS_BOXING_PARSE
-0 BugPattern NAB_NEEDLESS_BOXING_VALUEOF
-0 BugPattern NAB_NEEDLESS_BOX_TO_UNBOX
-0 BugPattern NAB_NEEDLESS_BOX_TO_CAST
-0 BugPattern NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION
-0 BugPattern USBR_UNNECESSARY_STORE_BEFORE_RETURN
-0 BugPattern COM_COPIED_OVERRIDDEN_METHOD
-0 BugPattern ABC_ARRAY_BASED_COLLECTIONS
-0 BugPattern ODN_ORPHANED_DOM_NODE
-0 BugPattern AOM_ABSTRACT_OVERRIDDEN_METHOD
-0 BugPattern CBX_CUSTOM_BUILT_XML
-0 BugPattern BSB_BLOATED_SYNCHRONIZED_BLOCK
-0 BugPattern CLI_CONSTANT_LIST_INDEX
-0 BugPattern SCR_SLOPPY_CLASS_REFLECTION
-0 BugPattern AWCBR_ARRAY_WRAPPED_CALL_BY_REFERENCE
-0 BugPattern SG_SLUGGISH_GUI
-0 BugPattern NIR_NEEDLESS_INSTANCE_RETRIEVAL
-0 BugPattern DDC_DOUBLE_DATE_COMPARISON
-0 BugPattern SWCO_SUSPICIOUS_WAIT_ON_CONCURRENT_OBJECT
-0 BugPattern JVR_JDBC_VENDOR_RELIANCE
-0 BugPattern PMB_POSSIBLE_MEMORY_BLOAT
-0 BugPattern LSYC_LOCAL_SYNCHRONIZED_COLLECTION
-0 BugPattern FCBL_FIELD_COULD_BE_LOCAL
-0 BugPattern NOS_NON_OWNED_SYNCHRONIZATION
-0 BugPattern NRTL_NON_RECYCLEABLE_TAG_LIB
-0 BugPattern S508C_NULL_LAYOUT
-0 BugPattern S508C_NO_SETLABELFOR
-0 BugPattern S508C_NO_SETSIZE
-0 BugPattern S508C_NON_ACCESSIBLE_JCOMPONENT
-0 BugPattern S508C_SET_COMP_COLOR
-0 BugPattern UEC_USE_ENUM_COLLECTIONS
-0 BugPattern SIL_SQL_IN_LOOP
-0 BugPattern NMCS_NEEDLESS_MEMBER_COLLECTION_SYNCHRONIZATION
-0 BugPattern ITC_INHERITANCE_TYPE_CHECKING
-0 BugPattern SACM_STATIC_ARRAY_CREATED_IN_METHOD
-0 BugPattern PRMC_POSSIBLY_REDUNDANT_METHOD_CALLS
-0 BugPattern UTA_USE_TO_ARRAY
-0 BugPattern LEST_LOST_EXCEPTION_STACK_TRACE
-0 BugPattern UCPM_USE_CHARACTER_PARAMETERIZED_METHOD
-0 BugPattern TR_TAIL_RECURSION
-0 BugPattern URV_UNRELATED_RETURN_VALUES
-0 BugPattern URV_CHANGE_RETURN_TYPE
-0 BugPattern URV_INHERITED_METHOD_WITH_RELATED_TYPES
-0 BugPattern PIS_POSSIBLE_INCOMPLETE_SERIALIZATION
-0 BugPattern SC_SUSPICIOUS_COMPARATOR_RETURN_VALUES
-0 BugPattern SPP_NEGATIVE_BITSET_ITEM
-0 BugPattern SPP_INTERN_ON_CONSTANT
-0 BugPattern SPP_NO_CHAR_SB_CTOR
-0 BugPattern SPP_USE_MATH_CONSTANT
-0 BugPattern SPP_STUTTERED_ASSIGNMENT
-0 BugPattern SPP_USE_ISNAN
-0 BugPattern SPP_USE_BIGDECIMAL_STRING_CTOR
-0 BugPattern SPP_STRINGBUFFER_WITH_EMPTY_STRING
-0 BugPattern SPP_EQUALS_ON_ENUM
-0 BugPattern SPP_INVALID_BOOLEAN_NULL_CHECK
-0 BugPattern SPP_USE_CHARAT
-0 BugPattern SPP_USELESS_TERNARY
-0 BugPattern SPP_SUSPECT_STRING_TEST
-0 BugPattern SPP_USE_STRINGBUILDER_LENGTH
-0 BugPattern SPP_INVALID_CALENDAR_COMPARE
-0 BugPattern SPP_USE_CONTAINSKEY
-0 BugPattern SPP_USE_ISEMPTY
-0 BugPattern SPP_USE_GETPROPERTY
-0 BugPattern SPP_SERIALVER_SHOULD_BE_PRIVATE
-0 BugPattern SPP_USELESS_CASING
-0 BugPattern SPP_CONVERSION_OF_STRING_LITERAL
-0 BugPattern BAS_BLOATED_ASSIGNMENT_SCOPE
-0 BugPattern SCII_SPOILED_CHILD_INTERFACE_IMPLEMENTATOR
-0 BugPattern DWI_DELETING_WHILE_ITERATING
-0 BugPattern DWI_MODIFYING_WHILE_ITERATING
-0 BugPattern USS_USE_STRING_SPLIT
-0 BugPattern SJVU_SUSPICIOUS_JDK_VERSION_USE
-0 BugPattern UAA_USE_ADD_ALL
-0 BugPattern MRC_METHOD_RETURNS_CONSTANT
-0 BugPattern NCS_NEEDLESS_CUSTOM_SERIALIZATION
-0 BugPattern MOM_MISLEADING_OVERLOAD_MODEL
-0 BugPattern EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS
-0 BugPattern EXS_EXCEPTION_SOFTENING_HAS_CHECKED
-0 BugPattern EXS_EXCEPTION_SOFTENING_NO_CHECKED
-0 BugPattern CFS_CONFUSING_FUNCTION_SEMANTICS
-0 BugPattern JAO_JUNIT_ASSERTION_ODDITIES_ACTUAL_CONSTANT
-0 BugPattern JAO_JUNIT_ASSERTION_ODDITIES_INEXACT_DOUBLE
-0 BugPattern JAO_JUNIT_ASSERTION_ODDITIES_BOOLEAN_ASSERT
-0 BugPattern JAO_JUNIT_ASSERTION_ODDITIES_IMPOSSIBLE_NULL
-0 BugPattern SCA_SUSPICIOUS_CLONE_ALGORITHM
-0 BugPattern WEM_WEAK_EXCEPTION_MESSAGING
-0 BugPattern SCSS_SUSPICIOUS_CLUSTERED_SESSION_SUPPORT
-0 BugPattern LO_SUSPECT_LOG_CLASS
-0 BugPattern LO_SUSPECT_LOG_PARAMETER
-0 BugPattern IICU_INCORRECT_INTERNAL_CLASS_USE
-0 BugPattern DSOC_DUBIOUS_SET_OF_COLLECTIONS
-0 BugPattern BED_BOGUS_EXCEPTION_DECLARATION
-0 BugPattern UNNC_UNNECESSARY_NEW_NULL_CHECK
-0 BugPattern DTEP_DEPRECATED_TYPESAFE_ENUM_PATTERN
-0 BugPattern SMA_STUTTERED_METHOD_ARGUMENTS
-0 BugPattern TBP_TRISTATE_BOOLEAN_PATTERN
-0 BugPattern SUA_SUSPICIOUS_UNINITIALIZED_ARRAY
-0 BugPattern ITU_INAPPROPRIATE_TOSTRING_USE
-0 BugPattern IKNC_INCONSISTENT_HTTP_PARAM_CASING
-0 BugPattern OC_OVERZEALOUS_CASTING
-0 BugPattern PDP_POORLY_DEFINED_PARAMETER
-0 BugPattern NSE_NON_SYMMETRIC_EQUALS
-0 BugPattern CVAA_CONTRAVARIANT_ARRAY_ASSIGNMENT
-0 BugPattern NFF_NON_FUNCTIONAL_FIELD
-0 BugPattern CEBE_COMMONS_EQUAL_BUILDER_TOEQUALS
--2 BugPattern HE_LOCAL_EXECUTOR_SERVICE
--4 BugPattern HE_EXECUTOR_NEVER_SHUTDOWN
--2 BugPattern HE_EXECUTOR_OVERWRITTEN_WITHOUT_SHUTDOWN
-0 BugPattern HCP_HTTP_REQUEST_RESOURCES_NOT_FREED_FIELD
-0 BugPattern HCP_HTTP_REQUEST_RESOURCES_NOT_FREED_LOCAL
\ No newline at end of file
++0 BugPattern ABC_ARRAY_BASED_COLLECTIONS
++2 BugPattern ACEM_ABSTRACT_CLASS_EMPTY_METHODS
++0 BugPattern AFBR_ABNORMAL_FINALLY_BLOCK_RETURN
++0 BugPattern AIOB_ARRAY_INDEX_OUT_OF_BOUNDS
++0 BugPattern AIOB_ARRAY_STORE_TO_NULL_REFERENCE
++0 BugPattern AOM_ABSTRACT_OVERRIDDEN_METHOD
++0 BugPattern AWCBR_ARRAY_WRAPPED_CALL_BY_REFERENCE
++0 BugPattern BAS_BLOATED_ASSIGNMENT_SCOPE
++0 BugPattern BED_BOGUS_EXCEPTION_DECLARATION
++0 BugPattern BED_HIERARCHICAL_EXCEPTION_DECLARATION
++0 BugPattern BRPI_BACKPORT_REUSE_PUBLIC_IDENTIFIERS
++2 BugPattern BSB_BLOATED_SYNCHRONIZED_BLOCK
++0 BugPattern CAAL_CONFUSING_ARRAY_AS_LIST
++0 BugPattern CAO_CONFUSING_AUTOBOXED_OVERLOADING
++0 BugPattern CBC_CONTAINS_BASED_CONDITIONAL
++0 BugPattern CBX_CUSTOM_BUILT_XML
++0 BugPattern CCNE_COMPARE_CLASS_EQUALS_NAME
++2 BugPattern CC_CYCLOMATIC_COMPLEXITY
++2 BugPattern CD_CIRCULAR_DEPENDENCY
++0 BugPattern CEBE_COMMONS_EQUALS_BUILDER_ISEQUALS
++0 BugPattern CEBE_COMMONS_EQUAL_BUILDER_TOEQUALS
++2 BugPattern CE_CLASS_ENVY
++0 BugPattern CFS_CONFUSING_FUNCTION_SEMANTICS
++0 BugPattern CHTH_COMMONS_HASHCODE_BUILDER_TOHASHCODE
++0 BugPattern CIS_STRING_PARSING_A_FIELD
++0 BugPattern CIS_TOSTRING_STORED_IN_FIELD
++0 BugPattern CLI_CONSTANT_LIST_INDEX
++0 BugPattern CNC_COLLECTION_NAMING_CONFUSION
++0 BugPattern COM_COPIED_OVERRIDDEN_METHOD
++0 BugPattern CRF_CONFLATING_RESOURCES_AND_FILES
++0 BugPattern CSBTS_COMMONS_STRING_BUILDER_TOSTRING
++0 BugPattern CSI_CHAR_SET_ISSUES_UNKNOWN_ENCODING
++0 BugPattern CSI_CHAR_SET_ISSUES_USE_STANDARD_CHARSET
++0 BugPattern CSI_CHAR_SET_ISSUES_USE_STANDARD_CHARSET_NAME
++0 BugPattern CTU_CONFLICTING_TIME_UNITS
++0 BugPattern CU_CLONE_USABILITY_MISMATCHED_RETURN
++0 BugPattern CU_CLONE_USABILITY_OBJECT_RETURN
++0 BugPattern CU_CLONE_USABILITY_THROWS
++0 BugPattern CVAA_CONTRAVARIANT_ARRAY_ASSIGNMENT
++0 BugPattern CVAA_CONTRAVARIANT_ELEMENT_ASSIGNMENT
++0 BugPattern DDC_DOUBLE_DATE_COMPARISON
++0 BugPattern DLC_DUBIOUS_LIST_COLLECTION
++0 BugPattern DRE_DECLARED_RUNTIME_EXCEPTION
++0 BugPattern DSOC_DUBIOUS_SET_OF_COLLECTIONS
++0 BugPattern DTEP_DEPRECATED_TYPESAFE_ENUM_PATTERN
++0 BugPattern DWI_DELETING_WHILE_ITERATING
++0 BugPattern DWI_MODIFYING_WHILE_ITERATING
++0 BugPattern EXS_EXCEPTION_SOFTENING_HAS_CHECKED
++0 BugPattern EXS_EXCEPTION_SOFTENING_NO_CHECKED
++0 BugPattern EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS
++0 BugPattern EXS_EXCEPTION_SOFTENING_RETURN_FALSE
++0 BugPattern FCBL_FIELD_COULD_BE_LOCAL
++0 BugPattern FPL_FLOATING_POINT_LOOPS
++6 BugPattern FP_FINAL_PARAMETERS
++0 BugPattern HCP_HTTP_REQUEST_RESOURCES_NOT_FREED_FIELD
++0 BugPattern HCP_HTTP_REQUEST_RESOURCES_NOT_FREED_LOCAL
++0 BugPattern HES_EXECUTOR_NEVER_SHUTDOWN
++0 BugPattern HES_EXECUTOR_OVERWRITTEN_WITHOUT_SHUTDOWN
++4 BugPattern HES_LOCAL_EXECUTOR_SERVICE
++0 BugPattern ICA_INVALID_CONSTANT_ARGUMENT
++0 BugPattern IICU_INCORRECT_INTERNAL_CLASS_USE
++0 BugPattern IKNC_INCONSISTENT_HTTP_ATTRIBUTE_CASING
++0 BugPattern IKNC_INCONSISTENT_HTTP_PARAM_CASING
++0 BugPattern IPU_IMPROPER_PROPERTIES_USE
++0 BugPattern IPU_IMPROPER_PROPERTIES_USE_SETPROPERTY
++0 BugPattern ISB_EMPTY_STRING_APPENDING
++0 BugPattern ISB_INEFFICIENT_STRING_BUFFERING
++0 BugPattern ISB_TOSTRING_APPENDING
++0 BugPattern ITC_INHERITANCE_TYPE_CHECKING
++2 BugPattern ITU_INAPPROPRIATE_TOSTRING_USE
++0 BugPattern JAO_JUNIT_ASSERTION_ODDITIES_ACTUAL_CONSTANT
++0 BugPattern JAO_JUNIT_ASSERTION_ODDITIES_ASSERT_USED
++0 BugPattern JAO_JUNIT_ASSERTION_ODDITIES_BOOLEAN_ASSERT
++0 BugPattern JAO_JUNIT_ASSERTION_ODDITIES_IMPOSSIBLE_NULL
++0 BugPattern JAO_JUNIT_ASSERTION_ODDITIES_INEXACT_DOUBLE
++0 BugPattern JAO_JUNIT_ASSERTION_ODDITIES_USE_ASSERT_EQUALS
++0 BugPattern JVR_JDBC_VENDOR_RELIANCE
++0 BugPattern LEST_LOST_EXCEPTION_STACK_TRACE
++0 BugPattern LGO_LINGERING_GRAPHICS_OBJECT
++2 BugPattern LII_LIST_INDEXED_ITERATING
++0 BugPattern LO_APPENDED_STRING_IN_FORMAT_STRING
++0 BugPattern LO_EXCEPTION_WITH_LOGGER_PARMS
++0 BugPattern LO_INCORRECT_NUMBER_OF_ANCHOR_PARAMETERS
++0 BugPattern LO_INVALID_FORMATTING_ANCHOR
++0 BugPattern LO_LOGGER_LOST_EXCEPTION_STACK_TRACE
++0 BugPattern LO_STUTTERED_MESSAGE
++0 BugPattern LO_SUSPECT_LOG_CLASS
++0 BugPattern LO_SUSPECT_LOG_PARAMETER
++2 BugPattern LSC_LITERAL_STRING_COMPARISON
++0 BugPattern LSYC_LOCAL_SYNCHRONIZED_COLLECTION
++2 BugPattern MAC_MANUAL_ARRAY_COPY
++0 BugPattern MDM_BIGDECIMAL_EQUALS
++0 BugPattern MDM_INETADDRESS_GETLOCALHOST
++0 BugPattern MDM_LOCK_ISLOCKED
++0 BugPattern MDM_PROMISCUOUS_SERVERSOCKET
++0 BugPattern MDM_RANDOM_SEED
++0 BugPattern MDM_RUNFINALIZATION
++0 BugPattern MDM_RUNTIME_EXIT_OR_HALT
++0 BugPattern MDM_SECURERANDOM
++0 BugPattern MDM_SETDEFAULTLOCALE
++0 BugPattern MDM_SIGNAL_NOT_SIGNALALL
++0 BugPattern MDM_STRING_BYTES_ENCODING
++0 BugPattern MDM_THREAD_FAIRNESS
++0 BugPattern MDM_THREAD_PRIORITIES
++0 BugPattern MDM_THREAD_YIELD
++0 BugPattern MDM_WAIT_WITHOUT_TIMEOUT
++2 BugPattern MOM_MISLEADING_OVERLOAD_MODEL
++0 BugPattern MRC_METHOD_RETURNS_CONSTANT
++0 BugPattern MUC_MODIFYING_UNMODIFIABLE_COLLECTION
++0 BugPattern NAB_NEEDLESS_AUTOBOXING_CTOR
++0 BugPattern NAB_NEEDLESS_AUTOBOXING_VALUEOF
++0 BugPattern NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION
++0 BugPattern NAB_NEEDLESS_BOXING_PARSE
++0 BugPattern NAB_NEEDLESS_BOXING_STRING_CTOR
++0 BugPattern NAB_NEEDLESS_BOXING_VALUEOF
++0 BugPattern NAB_NEEDLESS_BOX_TO_CAST
++0 BugPattern NAB_NEEDLESS_BOX_TO_UNBOX
++0 BugPattern NCMU_NON_COLLECTION_METHOD_USE
++0 BugPattern NCS_NEEDLESS_CUSTOM_SERIALIZATION
++2 BugPattern NFF_NON_FUNCTIONAL_FIELD
++2 BugPattern NIR_NEEDLESS_INSTANCE_RETRIEVAL
++0 BugPattern NMCS_NEEDLESS_MEMBER_COLLECTION_SYNCHRONIZATION
++0 BugPattern NOS_NON_OWNED_SYNCHRONIZATION
++0 BugPattern NPMC_NON_PRODUCTIVE_METHOD_CALL
++0 BugPattern NRTL_NON_RECYCLEABLE_TAG_LIB
++0 BugPattern NSE_NON_SYMMETRIC_EQUALS
++0 BugPattern OCP_OVERLY_CONCRETE_PARAMETER
++0 BugPattern OC_OVERZEALOUS_CASTING
++0 BugPattern ODN_ORPHANED_DOM_NODE
++0 BugPattern OPM_OVERLY_PERMISSIVE_METHOD
++0 BugPattern PCAIL_POSSIBLE_CONSTANT_ALLOCATION_IN_LOOP
++2 BugPattern PCOA_PARTIALLY_CONSTRUCTED_OBJECT_ACCESS
++0 BugPattern PDP_POORLY_DEFINED_PARAMETER
++0 BugPattern PIS_POSSIBLE_INCOMPLETE_SERIALIZATION
++0 BugPattern PL_PARALLEL_LISTS
++0 BugPattern PMB_INSTANCE_BASED_THREAD_LOCAL
++0 BugPattern PMB_POSSIBLE_MEMORY_BLOAT
++0 BugPattern PME_POOR_MANS_ENUM
++0 BugPattern PRMC_POSSIBLY_REDUNDANT_METHOD_CALLS
++0 BugPattern PSC_PRESIZE_COLLECTIONS
++0 BugPattern PUS_POSSIBLE_UNSUSPECTED_SERIALIZATION
++0 BugPattern ROOM_REFLECTION_ON_OBJECT_METHODS
++0 BugPattern S508C_APPENDED_STRING
++0 BugPattern S508C_NON_ACCESSIBLE_JCOMPONENT
++0 BugPattern S508C_NON_TRANSLATABLE_STRING
++0 BugPattern S508C_NO_SETLABELFOR
++0 BugPattern S508C_NO_SETSIZE
++0 BugPattern S508C_NULL_LAYOUT
++0 BugPattern S508C_SET_COMP_COLOR
++0 BugPattern SACM_STATIC_ARRAY_CREATED_IN_METHOD
++0 BugPattern SCA_SUSPICIOUS_CLONE_ALGORITHM
++0 BugPattern SCII_SPOILED_CHILD_INTERFACE_IMPLEMENTATOR
++0 BugPattern SCII_SPOILED_CHILD_INTERFACE_IMPLEMENTOR
++0 BugPattern SCI_SYNCHRONIZED_COLLECTION_ITERATORS
++0 BugPattern SCR_SLOPPY_CLASS_REFLECTION
++0 BugPattern SCSS_SUSPICIOUS_CLUSTERED_SESSION_SUPPORT
++0 BugPattern SC_SUSPICIOUS_COMPARATOR_RETURN_VALUES
++0 BugPattern SEC_SIDE_EFFECT_CONSTRUCTOR
++0 BugPattern SGSU_SUSPICIOUS_GETTER_SETTER_USE
++0 BugPattern SG_SLUGGISH_GUI
++0 BugPattern SIL_SQL_IN_LOOP
++0 BugPattern SJVU_SUSPICIOUS_JDK_VERSION_USE
++0 BugPattern SLS_SUSPICIOUS_LOOP_SEARCH
++0 BugPattern SMA_STUTTERED_METHOD_ARGUMENTS
++0 BugPattern SMII_STATIC_METHOD_INSTANCE_INVOCATION
++0 BugPattern SNG_SUSPICIOUS_NULL_FIELD_GUARD
++0 BugPattern SNG_SUSPICIOUS_NULL_LOCAL_GUARD
++0 BugPattern SPP_CONVERSION_OF_STRING_LITERAL
++0 BugPattern SPP_DOUBLE_APPENDED_LITERALS
++0 BugPattern SPP_EMPTY_CASING
++0 BugPattern SPP_EQUALS_ON_ENUM
++0 BugPattern SPP_EQUALS_ON_STRING_BUILDER
++0 BugPattern SPP_INTERN_ON_CONSTANT
++0 BugPattern SPP_INVALID_BOOLEAN_NULL_CHECK
++0 BugPattern SPP_INVALID_CALENDAR_COMPARE
++0 BugPattern SPP_NEGATIVE_BITSET_ITEM
++0 BugPattern SPP_NON_ARRAY_PARM
++0 BugPattern SPP_NON_USEFUL_TOSTRING
++0 BugPattern SPP_NO_CHAR_SB_CTOR
++0 BugPattern SPP_NULL_BEFORE_INSTANCEOF
++0 BugPattern SPP_SERIALVER_SHOULD_BE_PRIVATE
++0 BugPattern SPP_STATIC_FORMAT_STRING
++0 BugPattern SPP_STRINGBUFFER_WITH_EMPTY_STRING
++0 BugPattern SPP_STRINGBUILDER_IS_MUTABLE
++0 BugPattern SPP_STUTTERED_ASSIGNMENT
++0 BugPattern SPP_SUSPECT_STRING_TEST
++0 BugPattern SPP_TEMPORARY_TRIM
++0 BugPattern SPP_TOSTRING_ON_STRING
++0 BugPattern SPP_USELESS_CASING
++0 BugPattern SPP_USELESS_TERNARY
++0 BugPattern SPP_USE_BIGDECIMAL_STRING_CTOR
++0 BugPattern SPP_USE_CHARAT
++0 BugPattern SPP_USE_CONTAINSKEY
++0 BugPattern SPP_USE_GET0
++0 BugPattern SPP_USE_GETPROPERTY
++0 BugPattern SPP_USE_ISEMPTY
++0 BugPattern SPP_USE_ISNAN
++0 BugPattern SPP_USE_MATH_CONSTANT
++0 BugPattern SPP_USE_STRINGBUILDER_LENGTH
++0 BugPattern STB_STACKED_TRY_BLOCKS
++2 BugPattern STS_SPURIOUS_THREAD_STATES
++0 BugPattern SUA_SUSPICIOUS_UNINITIALIZED_ARRAY
++0 BugPattern SWCO_SUSPICIOUS_WAIT_ON_CONCURRENT_OBJECT
++0 BugPattern TBP_TRISTATE_BOOLEAN_PATTERN
++0 BugPattern TR_TAIL_RECURSION
++0 BugPattern UAA_USE_ADD_ALL
++0 BugPattern UCC_UNRELATED_COLLECTION_CONTENTS
++0 BugPattern UCPM_USE_CHARACTER_PARAMETERIZED_METHOD
++0 BugPattern UEC_USE_ENUM_COLLECTIONS
++0 BugPattern UJM_UNJITABLE_METHOD
++0 BugPattern UMTP_UNBOUND_METHOD_TEMPLATE_PARAMETER
++0 BugPattern UNNC_UNNECESSARY_NEW_NULL_CHECK
++0 BugPattern UP_UNUSED_PARAMETER
++0 BugPattern URV_CHANGE_RETURN_TYPE
++0 BugPattern URV_INHERITED_METHOD_WITH_RELATED_TYPES
++0 BugPattern URV_UNRELATED_RETURN_VALUES
++0 BugPattern USBR_UNNECESSARY_STORE_BEFORE_RETURN
++0 BugPattern USS_USE_STRING_SPLIT
++0 BugPattern UTA_USE_TO_ARRAY
++0 BugPattern UVA_USE_VAR_ARGS
++0 BugPattern WEM_WEAK_EXCEPTION_MESSAGING
++0 BugPattern WOC_WRITE_ONLY_COLLECTION_FIELD
++0 BugPattern WOC_WRITE_ONLY_COLLECTION_LOCAL
Modified: trunk/fb-contrib/etc/findbugs.xml
===================================================================
--- trunk/fb-contrib/etc/findbugs.xml 2014-07-26 03:46:13 UTC (rev 1775)
+++ trunk/fb-contrib/etc/findbugs.xml 2015-05-06 00:34:33 UTC (rev 1776)
@@ -149,7 +149,7 @@
<Detector class="com.mebigfatguy.fbcontrib.detect.SuspiciousComparatorReturnValues" speed="fast" reports="SC_SUSPICIOUS_COMPARATOR_RETURN_VALUES" />
<Detector class="com.mebigfatguy.fbcontrib.detect.SillynessPotPourri" speed="fast"
- reports="SPP_NEGATIVE_BITSET_ITEM,SPP_INTERN_ON_CONSTANT,SPP_NO_CHAR_SB_CTOR,SPP_USE_MATH_CONSTANT,SPP_STUTTERED_ASSIGNMENT,SPP_USE_ISNAN,SPP_USE_BIGDECIMAL_STRING_CTOR,SPP_STRINGBUFFER_WITH_EMPTY_STRING,SPP_EQUALS_ON_ENUM,SPP_INVALID_BOOLEAN_NULL_CHECK,SPP_USE_CHARAT,SPP_USELESS_TERNARY,SPP_SUSPECT_STRING_TEST,SPP_USE_STRINGBUILDER_LENGTH,SPP_INVALID_CALENDAR_COMPARE,SPP_USE_CONTAINSKEY,SPP_USE_ISEMPTY,SPP_USE_GETPROPERTY,SPP_USELESS_CASING,SPP_NON_ARRAY_PARM,SPP_EMPTY_CASING,SPP_TEMPORARY_TRIM,SPP_STRINGBUILDER_IS_MUTABLE,SPP_USE_GET0,SPP_DOUBLE_APPENDED_LITERALS,SPP_NULL_BEFORE_INSTANCEOF,SPP_NON_USEFUL_TOSTRING,SPP_TOSTRING_ON_STRING,SPP_EQUALS_ON_STRING_BUILDER,SPP_CONVERSION_OF_STRING_LITERAL" />
+ reports="SPP_NEGATIVE_BITSET_ITEM,SPP_INTERN_ON_CONSTANT,SPP_NO_CHAR_SB_CTOR,SPP_USE_MATH_CONSTANT,SPP_STUTTERED_ASSIGNMENT,SPP_USE_ISNAN,SPP_USE_BIGDECIMAL_STRING_CTOR,SPP_STRINGBUFFER_WITH_EMPTY_STRING,SPP_EQUALS_ON_ENUM,SPP_INVALID_BOOLEAN_NULL_CHECK,SPP_USE_CHARAT,SPP_USELESS_TERNARY,SPP_SUSPECT_STRING_TEST,SPP_USE_STRINGBUILDER_LENGTH,SPP_INVALID_CALENDAR_COMPARE,SPP_USE_CONTAINSKEY,SPP_USE_ISEMPTY,SPP_USE_GETPROPERTY,SPP_USELESS_CASING,SPP_NON_ARRAY_PARM,SPP_EMPTY_CASING,SPP_TEMPORARY_TRIM,SPP_STRINGBUILDER_IS_MUTABLE,SPP_USE_GET0,SPP_DOUBLE_APPENDED_LITERALS,SPP_NULL_BEFORE_INSTANCEOF,SPP_NON_USEFUL_TOSTRING,SPP_TOSTRING_ON_STRING,SPP_EQUALS_ON_STRING_BUILDER,SPP_CONVERSION_OF_STRING_LITERAL,SPP_STATIC_FORMAT_STRING" />
<Detector class="com.mebigfatguy.fbcontrib.detect.SpoiledChildInterfaceImplementor" speed="fast" reports="SCII_SPOILED_CHILD_INTERFACE_IMPLEMENTOR" />
@@ -167,7 +167,7 @@
<Detector class="com.mebigfatguy.fbcontrib.detect.MisleadingOverloadModel" speed="fast" reports="MOM_MISLEADING_OVERLOAD_MODEL" />
- <Detector class="com.mebigfatguy.fbcontrib.detect.ExceptionSoftening" speed="moderate" reports="EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS,EXS_EXCEPTION_SOFTENING_HAS_CHECKED,EXS_EXCEPTION_SOFTENING_NO_CHECKED" />
+ <Detector class="com.mebigfatguy.fbcontrib.detect.ExceptionSoftening" speed="moderate" reports="EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS,EXS_EXCEPTION_SOFTENING_HAS_CHECKED,EXS_EXCEPTION_SOFTENING_NO_CHECKED,EXS_EXCEPTION_SOFTENING_RETURN_FALSE" />
<Detector class="com.mebigfatguy.fbcontrib.detect.ConfusingFunctionSemantics" speed="fast" reports="CFS_CONFUSING_FUNCTION_SEMANTICS" />
@@ -186,7 +186,7 @@
<Detector class="com.mebigfatguy.fbcontrib.detect.DubiousSetOfCollections" speed="moderate" reports="DSOC_DUBIOUS_SET_OF_COLLECTIONS" />
- <Detector class="com.mebigfatguy.fbcontrib.detect.BogusExceptionDeclaration" speed="moderate" reports="BED_BOGUS_EXCEPTION_DECLARATION" />
+ <Detector class="com.mebigfatguy.fbcontrib.detect.BogusExceptionDeclaration" speed="moderate" reports="BED_BOGUS_EXCEPTION_DECLARATION,BED_HIERARCHICAL_EXCEPTION_DECLARATION" />
<Detector class="com.mebigfatguy.fbcontrib.detect.UnnecessaryNewNullCheck" speed="fast" reports="UNNC_UNNECESSARY_NEW_NULL_CHECK" />
@@ -277,9 +277,22 @@
<Detector class="com.mebigfatguy.fbcontrib.detect.ConflictingTimeUnits" speed="fast" reports="CTU_CONFLICTING_TIME_UNITS" />
- <!-- COMMENT OUT FOR POINT RELEASE -->
- <!-- COMMENT OUT FOR POINT RELEASE -->
+ <!-- COMMENT OUT FOR POINT RELEASE
+ <Detector class="com.mebigfatguy.fbcontrib.detect.CharsetIssues" speed="fast" reports="CSI_CHAR_SET_ISSUES_USE_STANDARD_CHARSET,CSI_CHAR_SET_ISSUES_UNKNOWN_ENCODING,CSI_CHAR_SET_ISSUES_USE_STANDARD_CHARSET_NAME" />
+
+ <Detector class="com.mebigfatguy.fbcontrib.detect.ContainsBasedConditional" speed="fast" reports="CBC_CONTAINS_BASED_CONDITIONAL" />
+
+ <Detector class="com.mebigfatguy.fbcontrib.detect.OverlyPermissiveMethod" speed="fast" reports="OPM_OVERLY_PERMISSIVE_METHOD" />
+
+ <Detector class="com.mebigfatguy.fbcontrib.detect.ClassImpersonatingString" speed="fast" reports="CIS_STRING_PARSING_A_FIELD,CIS_TOSTRING_STORED_IN_FIELD" />
+
+ <Detector class="com.mebigfatguy.fbcontrib.detect.SuspiciousLoopSearch" speed="fast" reports="SLS_SUSPICIOUS_LOOP_SEARCH" />
+
+ <Detector class="com.mebigfatguy.fbcontrib.detect.ConflatingResourcesAndFiles" speed="fast" reports="CRF_CONFLATING_RESOURCES_AND_FILES" />
+
+ COMMENT OUT FOR POINT RELEASE -->
+
<!-- BugPattern -->
<BugPattern abbrev="ISB" type="ISB_INEFFICIENT_STRING_BUFFERING" category="PERFORMANCE" />
@@ -387,6 +400,7 @@
<BugPattern abbrev="SPP" type="SPP_TOSTRING_ON_STRING" category="CORRECTNESS" />
<BugPattern abbrev="SPP" type="SPP_EQUALS_ON_STRING_BUILDER" category="CORRECTNESS" />
<BugPattern abbrev="SPP" type="SPP_CONVERSION_OF_STRING_LITERAL" category="CORRECTNESS" experimental="true" />
+ <BugPattern abbrev="SPP" type="SPP_STATIC_FORMAT_STRING" category="CORRECTNESS" experimental="true" />
<BugPattern abbrev="BAS" type="BAS_BLOATED_ASSIGNMENT_SCOPE" category="PERFORMANCE" />
<BugPattern abbrev="SCII" type="SCII_SPOILED_CHILD_INTERFACE_IMPLEMENTOR" category="STYLE" />
<BugPattern abbrev="DWI" type="DWI_DELETING_WHILE_ITERATING" category="CORRECTNESS" />
@@ -400,6 +414,7 @@
<BugPattern abbrev="EXS" type="EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS" category="STYLE" />
<BugPattern abbrev="EXS" type="EXS_EXCEPTION_SOFTENING_HAS_CHECKED" category="STYLE" />
<BugPattern abbrev="EXS" type="EXS_EXCEPTION_SOFTENING_NO_CHECKED" category="STYLE" />
+ <BugPattern abbrev="EXS" type="EXS_EXCEPTION_SOFTENING_RETURN_FALSE" category="STYLE" />
<BugPattern abbrev="CFS" type="CFS_CONFUSING_FUNCTION_SEMANTICS" category="STYLE" />
<BugPattern abbrev="JAO" type="JAO_JUNIT_ASSERTION_ODDITIES_ACTUAL_CONSTANT" category="STYLE" />
<BugPattern abbrev="JAO" type="JAO_JUNIT_ASSERTION_ODDITIES_INEXACT_DOUBLE" category="STYLE" />
@@ -421,6 +436,7 @@
<BugPattern abbrev="IICU" type="IICU_INCORRECT_INTERNAL_CLASS_USE" category="CORRECTNESS" />
<BugPattern abbrev="DSOC" type="DSOC_DUBIOUS_SET_OF_COLLECTIONS" category="PERFORMANCE" />
<BugPattern abbrev="BED" type="BED_BOGUS_EXCEPTION_DECLARATION" category="CORRECTNESS" />
+ <BugPattern abbrev="BED" type="BED_HIERARCHICAL_EXCEPTION_DECLARATION" category="CORRECTNESS" />
<BugPattern abbrev="UNNC" type="UNNC_UNNECESSARY_NEW_NULL_CHECK" category="CORRECTNESS" />
<BugPattern abbrev="DTEP" type="DTEP_DEPRECATED_TYPESAFE_ENUM_PATTERN" category="STYLE" />
<BugPattern abbrev="SMA" type="SMA_STUTTERED_METHOD_ARGUMENTS" category="STYLE" />
@@ -476,19 +492,29 @@
<BugPattern abbrev="PSC" type="PSC_PRESIZE_COLLECTIONS" category="PERFORMANCE" />
<BugPattern abbrev="UMTP" type="UMTP_UNBOUND_METHOD_TEMPLATE_PARAMETER" category="CORRECTNESS" />
<BugPattern abbrev="NPMC" type="NPMC_NON_PRODUCTIVE_METHOD_CALL" category="CORRECTNESS" />
- <BugPattern abbrev="AIOB" type="AIOB_ARRAY_INDEX_OUT_OF_BOUNDS" category="CORRECTNESS" experimental="true" />
- <BugPattern abbrev="AIOB" type="AIOB_ARRAY_STORE_TO_NULL_REFERENCE" category="CORRECTNESS" experimental="true" />
+ <BugPattern abbrev="AIOB" type="AIOB_ARRAY_INDEX_OUT_OF_BOUNDS" category="CORRECTNESS" />
+ <BugPattern abbrev="AIOB" type="AIOB_ARRAY_STORE_TO_NULL_REFERENCE" category="CORRECTNESS" />
<BugPattern abbrev="ICA" type="ICA_INVALID_CONSTANT_ARGUMENT" category="CORRECTNESS" />
- <BugPattern abbrev="CNC" type="CNC_COLLECTION_NAMING_CONFUSION" category="STYLE" experimental="true" />
- <BugPattern abbrev="PME" type="PME_POOR_MANS_ENUM" category="STYLE" experimental="true" />
- <BugPattern abbrev="UP" type="UP_UNUSED_PARAMETER" category="STYLE" experimental="true" />
+ <BugPattern abbrev="CNC" type="CNC_COLLECTION_NAMING_CONFUSION" category="STYLE" />
+ <BugPattern abbrev="PME" type="PME_POOR_MANS_ENUM" category="STYLE" />
+ <BugPattern abbrev="UP" type="UP_UNUSED_PARAMETER" category="STYLE" />
<BugPattern abbrev="CD" type="CD_CIRCULAR_DEPENDENCY" category="CORRECTNESS" />
- <BugPattern abbrev="MUC" type="MUC_MODIFYING_UNMODIFIABLE_COLLECTION" category="CORRECTNESS" experimental="true" />
- <BugPattern abbrev="UJM" type="UJM_UNJITABLE_METHOD" category="PERFORMANCE" experimental="true" />
- <BugPattern abbrev="HES" type="HES_EXECUTOR_NEVER_SHUTDOWN" category="CORRECTNESS" experimental="true" />
- <BugPattern abbrev="HES" type="HES_EXECUTOR_OVERWRITTEN_WITHOUT_SHUTDOWN" category="CORRECTNESS" experimental="true" />
- <BugPattern abbrev="HES" type="HES_LOCAL_EXECUTOR_SERVICE" category="CORRECTNESS" experimental="true" />
- <BugPattern abbrev="HCP" type="HCP_HTTP_REQUEST_RESOURCES_NOT_FREED_LOCAL" category="CORRECTNESS" experimental="true"/>
- <BugPattern abbrev="HCP" type="HCP_HTTP_REQUEST_RESOURCES_NOT_FREED_FIELD" category="CORRECTNESS" experimental="true"/>
- <BugPattern abbrev="CTU" type="CTU_CONFLICTING_TIME_UNITS" category="CORRECTNESS" experimental="true" />
+ <BugPattern abbrev="MUC" type="MUC_MODIFYING_UNMODIFIABLE_COLLECTION" category="CORRECTNESS" />
+ <BugPattern abbrev="UJM" type="UJM_UNJITABLE_METHOD" category="PERFORMANCE" />
+ <BugPattern abbrev="HES" type="HES_EXECUTOR_NEVER_SHUTDOWN" category="CORRECTNESS" />
+ <BugPattern abbrev="HES" type="HES_EXECUTOR_OVERWRITTEN_WITHOUT_SHUTDOWN" category="CORRECTNESS" />
+ <BugPattern abbrev="HES" type="HES_LOCAL_EXECUTOR_SERVICE" category="CORRECTNESS" />
+ <BugPattern abbrev="HCP" type="HCP_HTTP_REQUEST_RESOURCES_NOT_FREED_LOCAL" category="CORRECTNESS"/>
+ <BugPattern abbrev="HCP" type="HCP_HTTP_REQUEST_RESOURCES_NOT_FREED_FIELD" category="CORRECTNESS"/>
+ <BugPattern abbrev="CTU" type="CTU_CONFLICTING_TIME_UNITS" category="CORRECTNESS" />
+ <BugPattern abbrev="CSI" type="CSI_CHAR_SET_ISSUES_USE_STANDARD_CHARSET" category="CORRECTNESS" experimental="true"/>
+ <BugPattern abbrev="CSI" type="CSI_CHAR_SET_ISSUES_USE_STANDARD_CHARSET_NAME" category="CORRECTNESS" experimental="true"/>
+ <BugPattern abbrev="CSI" type="CSI_CHAR_SET_ISSUES_UNKNOWN_ENCODING" category="CORRECTNESS" experimental="true"/>
+ <BugPattern abbrev="CBC" type="CBC_CONTAINS_BASED_CONDITIONAL" category="STYLE" experimental="true"/>
+ <BugPattern abbrev="OPM" type="OPM_OVERLY_PERMISSIVE_METHOD" category="STYLE" experimental="true" />
+ <BugPattern abbrev="CIS" type="CIS_STRING_PARSING_A_FIELD" category="STYLE" experimental="true" />
+ <BugPattern abbrev="CIS" type="CIS_TOSTRING_STORED_IN_FIELD" category="STYLE" experimental="true" />
+ <BugPattern abbrev="SLS" type="SLS_SUSPICIOUS_LOOP_SEARCH" category="CORRECTNESS" experimental="true" />
+ <BugPattern abbrev="CRF" type="CRF_CONFLATING_RESOURCES_AND_FILES" category="CORRECTNESS" experimental="true" />
+
</FindbugsPlugin>
Modified: trunk/fb-contrib/etc/findbugsplugin.xsd
===================================================================
--- trunk/fb-contrib/etc/findbugsplugin.xsd 2014-07-26 03:46:13 UTC (rev 1775)
+++ trunk/fb-contrib/etc/findbugsplugin.xsd 2015-05-06 00:34:33 UTC (rev 1776)
@@ -1,12 +1,11 @@
-<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
+
<xsd:simpleType name="ClassType">
<xsd:restriction base="xsd:string">
- <xsd:pattern value="[A-Za-z_][A-Za-z0-9_]*(.[A-Za-z_][A-Za-z0-9_]*)*"/>
+ <xsd:pattern value="[A-Za-z_][A-Za-z0-9_]*(.[A-Za-z_][A-Za-z0-9_]*)*"/>
</xsd:restriction>
</xsd:simpleType>
-
+
<xsd:simpleType name="SpeedType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="fast"/>
@@ -14,46 +13,99 @@
<xsd:enumeration value="slow"/>
</xsd:restriction>
</xsd:simpleType>
-
+
<xsd:simpleType name="BugPatternListType">
<xsd:restriction base="xsd:string">
<xsd:pattern value="[A-Za-z0-9_]*(,[A-Za-z0-9_]*)*"/>
</xsd:restriction>
</xsd:simpleType>
-
+
<xsd:simpleType name="IdentifierType">
<xsd:restriction base="xsd:string">
<xsd:pattern value="[A-Za-z0-9_]*"/>
</xsd:restriction>
</xsd:simpleType>
+
+
+ <xsd:complexType name="CloudType">
+ <xsd:sequence>
+ <xsd:element name="Property" minOccurs="0" maxOccurs="unbounded" >
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:attribute name="key" type="xsd:string" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="ClassType"/>
+ <xsd:attribute name="cloudClass" type="ClassType"/>
+ <xsd:attribute name="usernameClass" type="ClassType"/>
+ <xsd:attribute name="disabled" type="xsd:boolean" use="optional"/>
+ <xsd:attribute name="onlineStorage" type="xsd:boolean" use="optional"/>
+ <xsd:attribute name="hidden" type="xsd:boolean" use="optional"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="PluginComponentType">
+ <xsd:sequence>
+ <xsd:element name="Property" minOccurs="0" maxOccurs="unbounded" >
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:attribute name="key" type="xsd:string" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:sequence>
+ <xsd:attribute name="id" type="ClassType"/>
+ <xsd:attribute name="componentKind" type="ClassType"/>
+ <xsd:attribute name="componentClass" type="ClassType"/>
+ <xsd:attribute name="disabled" type="xsd:boolean" use="optional"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="FindBugsMainType">
+ <xsd:attribute name="class" type="ClassType"/>
+ <xsd:attribute name="cmd" type="xsd:string"/>
+ <xsd:attribute name="kind" type="xsd:string" use="optional"/>
+ <xsd:attribute name="analysis" type="xsd:boolean" use="optional"/>
+ </xsd:complexType>
- <xsd:simpleType name="CategoryType">
- <xsd:restriction base="xsd:string">
- <xsd:enumeration value="CORRECTNESS"/>
- <xsd:enumeration value="I18N"/>
- <xsd:enumeration value="MALICIOUS_CODE"/>
- <xsd:enumeration value="MT_CORRECTNESS"/>
- <xsd:enumeration value="PERFORMANCE"/>
- <xsd:enumeration value="STYLE"/>
- </xsd:restriction>
- </xsd:simpleType>
-
<xsd:complexType name="DetectorType">
<xsd:attribute name="class" type="ClassType"/>
- <xsd:attribute name="speed" type="SpeedType"/>
+ <xsd:attribute name="speed" type="SpeedType" use="optional"/>
<xsd:attribute name="reports" type="BugPatternListType"/>
- <xsd:attribute name="requirejre" type="xsd:string"/>
+ <xsd:attribute name="requirejre" type="xsd:string" use="optional"/>
<xsd:attribute name="disabled" type="xsd:boolean" use="optional"/>
<xsd:attribute name="hidden" type="xsd:boolean" use="optional"/>
</xsd:complexType>
-
+
+ <xsd:complexType name="EngineRegistrarType">
+ <xsd:attribute name="class" type="ClassType"/>
+ </xsd:complexType>
+
<xsd:complexType name="BugPatternType">
<xsd:attribute name="abbrev" type="IdentifierType"/>
<xsd:attribute name="type" type="xsd:ID"/>
- <xsd:attribute name="category" type="CategoryType"/>
+ <xsd:attribute name="category" type="IdentifierType"/>
<xsd:attribute name="experimental" type="xsd:boolean" use="optional"/>
+ <xsd:attribute name="cweid" type="xsd:positiveInteger" use="optional"/>
+ <xsd:attribute name="deprecated" type="xsd:boolean" use="optional"/>
</xsd:complexType>
+ <xsd:complexType name="BugCodeType">
+ <xsd:attribute name="abbrev" type="IdentifierType"/>
+ <xsd:attribute name="cweid" type="xsd:positiveInteger" use="optional"/>
+ <xsd:attribute name="hidden" type="xsd:boolean" use="optional"/>
+ </xsd:complexType>
+
+ <xsd:complexType name="BugCategoryType">
+ <xsd:attribute name="category" type="IdentifierType"/>
+ <xsd:attribute name="hidden" type="xsd:boolean" use="optional"/>
+ </xsd:complexType>
+
+
<xsd:simpleType name="DetectorCategoryType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="reporting"/>
@@ -61,29 +113,36 @@
<xsd:enumeration value="interprocedural"/>
</xsd:restriction>
</xsd:simpleType>
-
+
<xsd:complexType name="SingleDetectorSelectorType">
<xsd:attribute name="class" type="ClassType" use="required"/>
</xsd:complexType>
-
+
<xsd:complexType name="DetectorCategorySelectorType">
<xsd:attribute name="name" type="DetectorCategoryType" use="required"/>
<xsd:attribute name="spanplugins" type="xsd:boolean" use="optional" default="false"/>
</xsd:complexType>
+ <xsd:complexType name="DetectorSubtypesSelectorType">
+ <xsd:attribute name="super" type="ClassType" use="required"/>
+ <xsd:attribute name="spanplugins" type="xsd:boolean" use="optional" default="false"/>
+ </xsd:complexType>
+
<xsd:complexType name="OrderingConstraintType">
<xsd:sequence>
<xsd:choice>
<xsd:element name="Earlier" type="SingleDetectorSelectorType"></xsd:element>
<xsd:element name="EarlierCategory" type="DetectorCategorySelectorType"></xsd:element>
+ <xsd:element name="EarlierSubtypes" type="DetectorSubtypesSelectorType"></xsd:element>
</xsd:choice>
<xsd:choice>
<xsd:element name="Later" type="SingleDetectorSelectorType"></xsd:element>
<xsd:element name="LaterCategory" type="DetectorCategorySelectorType"></xsd:element>
+ <xsd:element name="LaterSubtypes" type="DetectorSubtypesSelectorType"></xsd:element>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
-
+
<xsd:complexType name="OrderingConstraintListType">
<xsd:sequence>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
@@ -93,22 +152,48 @@
</xsd:sequence>
</xsd:complexType>
+ <xsd:complexType name="GlobalOptionsType">
+ <xsd:sequence>
+ <xsd:element name="Property" minOccurs="0" maxOccurs="unbounded" >
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:attribute name="key" type="xsd:string" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:sequence>
+ </xsd:complexType>
+
+
<xsd:complexType name="FindBugsPluginType" mixed="true">
<xsd:sequence>
+ <xsd:element name="GlobalOptions" type="GlobalOptionsType" minOccurs="0" maxOccurs="1"/>
+ <xsd:element name="Cloud" type="CloudType" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="PluginComponent" type="PluginComponentType" minOccurs="0" maxOccurs="unbounded"/>
+ <xsd:element name="FindBugsMain" type="FindBugsMainType" minOccurs="0" ma...
[truncated message content] |