From 4090f5640aaef1a0baf3a766ac88a53da5a78381 Mon Sep 17 00:00:00 2001 From: Evgeny Mandrikov Date: Wed, 5 Sep 2012 00:32:02 +0600 Subject: [PATCH] Use external sonar-java-plugin --- plugins/sonar-java-plugin/infinitest.args | 1 - plugins/sonar-java-plugin/pom.xml | 86 - .../java/JavaCommonRulesEngineProvider.java | 50 - .../org/sonar/plugins/java/JavaPlugin.java | 33 - .../resources/com/sonar/sqale/java-model.xml | 10331 ---------------- .../JavaCommonRulesEngineProviderTest.java | 37 - .../sonar/plugins/java/JavaPluginTest.java | 33 - pom.xml | 1 - sonar-application/assembly.xml | 2 + sonar-application/pom.xml | 4 +- 10 files changed, 4 insertions(+), 10574 deletions(-) delete mode 100644 plugins/sonar-java-plugin/infinitest.args delete mode 100644 plugins/sonar-java-plugin/pom.xml delete mode 100644 plugins/sonar-java-plugin/src/main/java/org/sonar/plugins/java/JavaCommonRulesEngineProvider.java delete mode 100644 plugins/sonar-java-plugin/src/main/java/org/sonar/plugins/java/JavaPlugin.java delete mode 100644 plugins/sonar-java-plugin/src/main/resources/com/sonar/sqale/java-model.xml delete mode 100644 plugins/sonar-java-plugin/src/test/java/org/sonar/plugins/java/JavaCommonRulesEngineProviderTest.java delete mode 100644 plugins/sonar-java-plugin/src/test/java/org/sonar/plugins/java/JavaPluginTest.java diff --git a/plugins/sonar-java-plugin/infinitest.args b/plugins/sonar-java-plugin/infinitest.args deleted file mode 100644 index ed9f41dadc7..00000000000 --- a/plugins/sonar-java-plugin/infinitest.args +++ /dev/null @@ -1 +0,0 @@ --Djava.awt.headless=true \ No newline at end of file diff --git a/plugins/sonar-java-plugin/pom.xml b/plugins/sonar-java-plugin/pom.xml deleted file mode 100644 index 845f4b2d074..00000000000 --- a/plugins/sonar-java-plugin/pom.xml +++ /dev/null @@ -1,86 +0,0 @@ - - - 4.0.0 - - org.codehaus.sonar - sonar - 3.3-SNAPSHOT - ../.. - - org.codehaus.sonar.plugins - sonar-java-plugin - sonar-plugin - Sonar :: Plugins :: Java - This plugin brings core support to the Java language on Sonar. - - - - org.codehaus.sonar - sonar-plugin-api - provided - - - org.codehaus.sonar.common-rules - sonar-common-rules - 1.0.1 - - - - - org.codehaus.sonar - sonar-testing-harness - test - - - - - - - org.codehaus.sonar - sonar-packaging-maven-plugin - - Java - - org.sonar.plugins.java.JavaPlugin - - - - org.codehaus.mojo - native2ascii-maven-plugin - 1.0-beta-1 - - - - native2ascii - - - - - - org.apache.maven.plugins - maven-enforcer-plugin - - - enforce-plugin-size - - enforce - - verify - - - - 50000 - 20000 - - ${project.build.directory}/${project.build.finalName}.jar - - - - - - - - - - - diff --git a/plugins/sonar-java-plugin/src/main/java/org/sonar/plugins/java/JavaCommonRulesEngineProvider.java b/plugins/sonar-java-plugin/src/main/java/org/sonar/plugins/java/JavaCommonRulesEngineProvider.java deleted file mode 100644 index 0fdd3cd15ba..00000000000 --- a/plugins/sonar-java-plugin/src/main/java/org/sonar/plugins/java/JavaCommonRulesEngineProvider.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Sonar, open source software quality management tool. - * Copyright (C) 2008-2012 SonarSource - * mailto:contact AT sonarsource DOT com - * - * Sonar is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * Sonar is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with Sonar; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 - */ -package org.sonar.plugins.java; - -import org.sonar.api.resources.Java; -import org.sonar.api.resources.Project; -import org.sonar.commonrules.api.CommonRulesEngine; -import org.sonar.commonrules.api.CommonRulesEngineProvider; - -public class JavaCommonRulesEngineProvider extends CommonRulesEngineProvider { - - public JavaCommonRulesEngineProvider() { - super(); - } - - public JavaCommonRulesEngineProvider(Project project) { - super(project); - } - - @Override - protected void doActivation(CommonRulesEngine engine) { - engine.activateRule("InsufficientBranchCoverage"); - engine.activateRule("InsufficientCommentDensity"); - engine.activateRule("DuplicatedBlocks"); - engine.activateRule("InsufficientLineCoverage"); - } - - @Override - protected String getLanguageKey() { - return Java.KEY; - } - -} diff --git a/plugins/sonar-java-plugin/src/main/java/org/sonar/plugins/java/JavaPlugin.java b/plugins/sonar-java-plugin/src/main/java/org/sonar/plugins/java/JavaPlugin.java deleted file mode 100644 index aa137879589..00000000000 --- a/plugins/sonar-java-plugin/src/main/java/org/sonar/plugins/java/JavaPlugin.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Sonar, open source software quality management tool. - * Copyright (C) 2008-2012 SonarSource - * mailto:contact AT sonarsource DOT com - * - * Sonar is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * Sonar is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with Sonar; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 - */ -package org.sonar.plugins.java; - -import com.google.common.collect.ImmutableList; -import org.sonar.api.SonarPlugin; - -import java.util.List; - -public class JavaPlugin extends SonarPlugin { - - public List getExtensions() { - return ImmutableList.of(JavaCommonRulesEngineProvider.class); - } - -} diff --git a/plugins/sonar-java-plugin/src/main/resources/com/sonar/sqale/java-model.xml b/plugins/sonar-java-plugin/src/main/resources/com/sonar/sqale/java-model.xml deleted file mode 100644 index 1799ca6b86c..00000000000 --- a/plugins/sonar-java-plugin/src/main/resources/com/sonar/sqale/java-model.xml +++ /dev/null @@ -1,10331 +0,0 @@ - - - - PORTABILITY - Portability - - COMPILER_RELATED_PORTABILITY - Compiler related portability - - pmd - AvoidAssertAsIdentifier - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - AvoidEnumAsIdentifier - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - SE_NO_SERIALVERSIONID - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NM_FUTURE_KEYWORD_USED_AS_IDENTIFIER - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - NM_FUTURE_KEYWORD_USED_AS_MEMBER_IDENTIFIER - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - - HARDWARE_RELATED_PORTABILITY - Hardware related portability - - pmd - AvoidUsingHardCodedIP - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - AvoidUsingNativeCode - - remediationFactor - 3.0 - h - - - remediationFunction - linear - - - - findbugs - DMI_HARDCODED_ABSOLUTE_FILENAME - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - DoNotHardCodeSDCard - - remediationFunction - linear - - - remediationFactor - 10.0 - mn - - - - - LANGUAGE_RELATED_PORTABILITY - Language related portability - - pmd - SimpleDateFormatNeedsLocale - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - UseLocaleWithCaseConversions - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DM_CONVERT_CASE - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - - OS_RELATED_PORTABILITY - OS related portability - - checkstyle - com.puppycrawl.tools.checkstyle.checks.whitespace.FileTabCharacterCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - constant_resource - - - - findbugs - RE_CANT_USE_FILE_SEPARATOR_AS_REGULAR_EXPRESSION - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - VA_FORMAT_STRING_USES_NEWLINE - - remediationFunction - constant_resource - - - remediationFactor - 10.0 - mn - - - - findbugs - DM_DEFAULT_ENCODING - - remediationFunction - linear - - - remediationFactor - 1.0 - h - - - - - SOFTWARE_RELATED_PORTABILITY - Software related portability - - checkstyle - com.puppycrawl.tools.checkstyle.checks.NewlineAtEndOfFileCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - pmd - DontImportSun - - remediationFactor - 3.0 - h - - - remediationFunction - linear - - - - pmd - ByteInstantiation - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - LongInstantiation - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - ShortInstantiation - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - ReplaceEnumerationWithIterator - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - SystemPrintln - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - LG_LOST_LOGGER_DUE_TO_WEAK_REFERENCE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - XFB_XML_FACTORY_BYPASS - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - squid - CallToDeprecatedMethod - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - - TIME_ZONE_RELATED_PORTABILITY - Time zone related portability - - - - MAINTAINABILITY - Maintainability - - READABILITY - Readability - - checkstyle - com.puppycrawl.tools.checkstyle.checks.naming.ConstantNameCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.naming.LocalFinalVariableNameCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.naming.LocalVariableNameCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.naming.MethodNameCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.naming.PackageNameCheck - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.naming.ParameterNameCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.naming.StaticVariableNameCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.naming.TypeNameCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.imports.RedundantImportCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - constant_resource - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.imports.UnusedImportsCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - constant_resource - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - constant_resource - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.whitespace.OperatorWrapCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.whitespace.ParenPadCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - constant_resource - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.modifier.ModifierOrderCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.blocks.AvoidNestedBlocksCheck - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.blocks.RightCurlyCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.ArrayTypeStyleCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.UpperEllCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.naming.AbstractClassNameCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.sizes.AnonInnerLengthCheck - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.annotation.AnnotationUseStyleCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.ArrayTrailingCommaCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.DeclarationOrderCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.whitespace.GenericWhitespaceCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - constant_resource - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - constant_resource - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - constant_resource - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.blocks.LeftCurlyCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - constant_resource - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.whitespace.MethodParamPadCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.MultipleVariableDeclarationsCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.whitespace.NoWhitespaceBeforeCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.whitespace.NoWhitespaceAfterCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - constant_resource - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.modifier.RedundantModifierCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAfterCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - constant_resource - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - constant_resource - - - - pmd - AbstractNaming - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - AvoidUsingOctalValues - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - BooleanGetMethodName - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - DontImportJavaLang - - remediationFactor - 10.0 - mn - - - remediationFunction - constant_resource - - - - pmd - DuplicateImports - - remediationFactor - 10.0 - mn - - - remediationFunction - constant_resource - - - - pmd - ForLoopsMustUseBraces - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - ForLoopShouldBeWhileLoop - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - ImportFromSamePackage - - remediationFactor - 10.0 - mn - - - remediationFunction - constant_resource - - - - pmd - LongVariable - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - MDBAndSessionBeanNamingConvention - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - pmd - AvoidDollarSigns - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - pmd - AvoidFieldNameMatchingMethodName - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - pmd - AvoidFieldNameMatchingTypeName - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - pmd - ClassNamingConventions - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - pmd - MethodNamingConventions - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - pmd - MethodWithSameNameAsEnclosingClass - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - pmd - MisleadingVariableName - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - pmd - ShortMethodName - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - pmd - SuspiciousHashcodeMethodName - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - pmd - SuspiciousConstantFieldName - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - pmd - SuspiciousEqualsMethodName - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - pmd - VariableNamingConventions - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - pmd - PackageCase - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - ProperLogger - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - RemoteInterfaceNamingConvention - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - pmd - RemoteSessionInterfaceNamingConvention - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - pmd - ShortVariable - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - StringToString - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - TooManyStaticImports - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - TooFewBranchesForASwitchStatement - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - UnnecessaryReturn - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - UnusedImports - - remediationFactor - 10.0 - mn - - - remediationFunction - constant_resource - - - - pmd - UseCollectionIsEmpty - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - UselessStringValueOf - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - WhileLoopsMustUseBraces - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.indentation.TrailingCommentCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - pmd - LocalHomeNamingConvention - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - pmd - LocalInterfaceSessionNamingConvention - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - pmd - UnnecessaryFinalModifier - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - pmd - UnnecessaryParentheses - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - UnusedModifier - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - UseStringBufferLength - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - NM_METHOD_NAMING_CONVENTION - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - NM_CLASS_NAMING_CONVENTION - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - SKIPPED_CLASS_TOO_BIG - - remediationFactor - 3.0 - h - - - remediationFunction - linear - - - - findbugs - NM_FIELD_NAMING_CONVENTION - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - UCF_USELESS_CONTROL_FLOW - - remediationFactor - 5.0 - h - - - remediationFunction - linear - - - - pmd - GenericsNaming - - remediationFunction - constant_resource - - - remediationFactor - 10.0 - mn - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.design.InnerTypeLastCheck - - remediationFunction - constant_resource - - - remediationFactor - 10.0 - mn - - - - findbugs - DMI_ARGUMENTS_WRONG_ORDER - - remediationFunction - linear - - - remediationFactor - 10.0 - mn - - - - - UNDERSTANDABILITY - Understandability - - checkstyle - com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTypeCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocStyleCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanExpressionCheck - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.AvoidInlineConditionalsCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.metrics.BooleanExpressionComplexityCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.design.FinalClassCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.design.HideUtilityClassConstructorCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.metrics.JavaNCSSCheck - - remediationFactor - 3.0 - h - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocPackageCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.sizes.MethodLengthCheck - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.annotation.MissingDeprecatedCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.PackageDeclarationCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.annotation.PackageAnnotationCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.RedundantThrowsCheck - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanReturnCheck - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.UncommentedMainCheck - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.UnnecessaryParenthesesCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - AbstractClassWithoutAbstractMethod - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - AccessorClassGeneration - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - AssignmentInOperand - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - AvoidMultipleUnaryOperators - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - AvoidUsingVolatile - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - SimplifyBooleanExpressions - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - EmptyInitializer - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - ClassWithOnlyPrivateConstructorsShouldBeFinal - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - CloneMethodMustImplementCloneable - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - CollapsibleIfStatements - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - ConfusingTernary - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - EmptyFinalizer - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - EmptyFinallyBlock - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - EmptyStaticInitializer - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - EmptySwitchStatements - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - EmptySynchronizedBlock - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - EmptyTryBlock - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - EmptyWhileStmt - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - ExcessiveClassLength - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - ExcessiveMethodLength - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - FinalizeOnlyCallsSuperFinalize - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - FinalizeShouldBeProtected - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - ImmutableField - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - LocalVariableCouldBeFinal - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - MoreThanOneLogger - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - NcssConstructorCount - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - ReturnEmptyArrayRatherThanNull - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - SignatureDeclareThrowsException - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - SimplifyBooleanReturns - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - SingularField - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - UncommentedEmptyMethod - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - UncommentedEmptyConstructor - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - UnconditionalIfStatement - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - UnusedFormalParameter - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.javadoc.WriteTagCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.sizes.ExecutableStatementCountCheck - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.sizes.FileLengthCheck - - remediationFactor - 3.0 - h - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.annotation.SuppressWarningsCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - AtLeastOneConstructor - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - AvoidFinalLocalVariable - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - AvoidInstanceofChecksInCatchClause - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - EmptyIfStmt - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - ExcessivePublicCount - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - IdempotentOperations - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - MissingStaticMethodInNonInstantiatableClass - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - NcssMethodCount - - remediationFactor - 3.0 - h - - - remediationFunction - linear - - - - pmd - NcssTypeCount - - remediationFactor - 3.0 - h - - - remediationFunction - linear - - - - pmd - SimplifyConditional - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - TooManyMethods - - remediationFactor - 3.0 - h - - - remediationFunction - linear - - - - pmd - UnnecessaryWrapperObjectCreation - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - UnnecessaryConstructor - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - UnusedPrivateField - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - UnusedLocalVariable - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - UnusedPrivateMethod - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - UPM_UNCALLED_PRIVATE_METHOD - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - UUF_UNUSED_FIELD - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - SS_SHOULD_BE_STATIC - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - URF_UNREAD_FIELD - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - CN_IDIOM - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NM_CLASS_NOT_EXCEPTION - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - NM_SAME_SIMPLE_NAME_AS_INTERFACE - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - NM_SAME_SIMPLE_NAME_AS_SUPERCLASS - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - NM_CONFUSING - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - FI_EMPTY - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - FI_USELESS - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - FI_FINALIZER_NULLS_FIELDS - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - FI_FINALIZER_ONLY_NULLS_FIELDS - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - NM_WRONG_PACKAGE_INTENTIONAL - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - ISC_INSTANTIATE_STATIC_CLASS - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - GC_UNCHECKED_TYPE_IN_GENERIC_CALL - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NM_VERY_CONFUSING_INTENTIONAL - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SE_NONSTATIC_SERIALVERSIONID - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - SE_NONLONG_SERIALVERSIONID - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - SE_NONFINAL_SERIALVERSIONID - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - NP_NULL_INSTANCEOF - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - EC_NULL_ARG - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - EQ_SELF_USE_OBJECT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - EQ_DONT_DEFINE_EQUALS_FOR_ENUM - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DLS_DEAD_STORE_OF_CLASS_LITERAL - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SA_FIELD_DOUBLE_ASSIGNMENT - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - DMI_ANNOTATION_IS_NOT_VISIBLE_TO_REFLECTION - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - UWF_NULL_FIELD - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NP_NULL_PARAM_DEREF - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - NP_NONNULL_PARAM_VIOLATION - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SIO_SUPERFLUOUS_INSTANCEOF - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - STI_INTERRUPTED_ON_CURRENTTHREAD - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - UWF_UNWRITTEN_FIELD - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - DLS_DEAD_LOCAL_STORE_IN_RETURN - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - UCF_USELESS_CONTROL_FLOW_NEXT_LINE - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - RI_REDUNDANT_INTERFACES - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - CI_CONFUSED_INHERITANCE - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - DLS_DEAD_LOCAL_STORE_OF_NULL - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DLS_DEAD_LOCAL_STORE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - REC_CATCH_EXCEPTION - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NP_LOAD_OF_KNOWN_NULL_VALUE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - RV_CHECK_FOR_POSITIVE_INDEXOF - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - RCN_REDUNDANT_COMPARISON_TWO_NULL_VALUES - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - RCN_REDUNDANT_COMPARISON_OF_NULL_AND_NONNULL_VALUE - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - RCN_REDUNDANT_NULLCHECK_OF_NULL_VALUE - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - BC_UNCONFIRMED_CAST - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - CloneThrowsCloneNotSupportedException - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NM_VERY_CONFUSING - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - findbugs - DMI_USELESS_SUBSTRING - - remediationFactor - 5.0 - h - - - remediationFunction - linear - - - - findbugs - INT_VACUOUS_BIT_OPERATION - - remediationFactor - 5.0 - h - - - remediationFunction - linear - - - - findbugs - INT_VACUOUS_COMPARISON - - remediationFactor - 5.0 - h - - - remediationFunction - linear - - - - findbugs - SE_PRIVATE_READ_RESOLVE_NOT_INHERITED - - remediationFactor - 5.0 - h - - - remediationFunction - linear - - - - findbugs - USM_USELESS_SUBCLASS_METHOD - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - squid - UndocumentedApi - - remediationFactor - 5.0 - h - - - remediationFunction - linear - - - - squid - UnusedPrivateMethod - - remediationFactor - 5.0 - h - - - remediationFunction - linear - - - - squid - UnusedProtectedMethod - - remediationFactor - 5.0 - h - - - remediationFunction - linear - - - - findbugs - IJU_NO_TESTS - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - IJU_SUITE_NOT_STATIC - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - IJU_BAD_SUITE_METHOD - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - common-java - InsufficientCommentDensity - - remediationFactor - 3.0 - mn - - - remediationFunction - linear - - - - squid - CommentedOutCodeLine - - remediationFunction - linear - - - remediationFactor - 1.0 - h - - - - pmd - AvoidLiteralsInIfCondition - - remediationFunction - linear - - - remediationFactor - 30.0 - mn - - - - squid - EmptyFile - - remediationFunction - constant_resource - - - remediationFactor - 10.0 - mn - - - - findbugs - FB_MISSING_EXPECTED_WARNING - - remediationFunction - linear - - - remediationFactor - 10.0 - mn - - - - findbugs - FB_UNEXPECTED_WARNING - - remediationFunction - linear - - - remediationFactor - 10.0 - mn - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.IllegalTokenCheck - - remediationFunction - linear - - - remediationFactor - 30.0 - mn - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.IllegalTokenTextCheck - - remediationFunction - linear - - - remediationFactor - 30.0 - mn - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.IllegalTypeCheck - - remediationFunction - linear - - - remediationFactor - 30.0 - mn - - - - pmd - NoPackage - - remediationFunction - linear - - - remediationFactor - 30.0 - mn - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.sizes.OuterTypeNumberCheck - - remediationFunction - linear - - - remediationFactor - 30.0 - mn - - - - pmd - UseSingleton - - remediationFunction - constant_resource - - - remediationFactor - 1.0 - h - - - - - - SECURITY - Security - - API_ABUSE - API abuse - - findbugs - MS_CANNOT_BE_FINAL - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - MS_MUTABLE_ARRAY - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - MS_MUTABLE_HASHTABLE - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - MS_OOI_PKGPROTECT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - MS_PKGPROTECT - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - FI_PUBLIC_SHOULD_BE_PROTECTED - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - MS_FINAL_PKGPROTECT - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - MS_SHOULD_BE_FINAL - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - squid - NoSonar - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - - ERRORS - Errors - - pmd - PreserveStackTrace - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - - INPUT_VALIDATION_AND_REPRESENTATION - Input validation and representation - - pmd - MethodReturnsInternalArray - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - ArrayIsStoredDirectly - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - MS_EXPOSE_REP - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - EI_EXPOSE_STATIC_REP2 - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - EI_EXPOSE_REP - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - EI_EXPOSE_REP2 - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - HRS_REQUEST_PARAMETER_TO_HTTP_HEADER - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - HRS_REQUEST_PARAMETER_TO_COOKIE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - XSS_REQUEST_PARAMETER_TO_JSP_WRITER - - remediationFactor - 3.0 - h - - - remediationFunction - linear - - - - findbugs - SQL_NONCONSTANT_STRING_PASSED_TO_EXECUTE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - XSS_REQUEST_PARAMETER_TO_SEND_ERROR - - remediationFactor - 3.0 - h - - - remediationFunction - linear - - - - findbugs - XSS_REQUEST_PARAMETER_TO_SERVLET_WRITER - - remediationFactor - 3.0 - h - - - remediationFunction - linear - - - - - SECURITY_FEATURES - Security features - - checkstyle - com.puppycrawl.tools.checkstyle.checks.header.HeaderCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - constant_resource - - - - pmd - AvoidAccessibilityAlteration - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - DoNotCallSystemExit - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DMI_EMPTY_DB_PASSWORD - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DMI_CONSTANT_DB_PASSWORD - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DP_DO_INSIDE_DO_PRIVILEGED - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DM_EXIT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DM_RUN_FINALIZERS_ON_EXIT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DMI_RANDOM_USED_ONLY_ONCE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - - - EFFICIENCY - Efficiency - - MEMORY_EFFICIENCY - Memory use - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.SuperFinalizeCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - BooleanInstantiation - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - FinalFieldCouldBeStatic - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - UnnecessaryConversionTemporary - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - UnnecessaryLocalBeforeReturn - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - AvoidUsingShortType - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - AvoidInstantiatingObjectsInLoops - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - IntegerInstantiation - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - HSC_HUGE_SHARED_STRING_CONSTANT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DM_NEW_FOR_GETCLASS - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - DM_BOXED_PRIMITIVE_TOSTRING - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - SIC_INNER_SHOULD_BE_STATIC - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - - CPU_EFFICIENCY - Processor use - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.SuperCloneCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - AvoidArrayLoops - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - AvoidSynchronizedAtMethodLevel - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - OptimizableToArrayCall - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - UseArraysAsList - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - AddEmptyString - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - AppendCharacterWithChar - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - BigIntegerInstantiation - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - ConsecutiveLiteralAppends - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - DoNotCallGarbageCollectionExplicitly - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - InefficientEmptyStringCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - InefficientStringBuffering - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - InstantiationToGetClass - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - InsufficientStringBufferDeclaration - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - LoggerIsNotStaticFinal - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - SimplifyStartsWith - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - StringInstantiation - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - UnnecessaryCaseChange - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - UseIndexOfChar - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - ProtectLogD - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - ProtectLogV - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - BooleanInversion - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - UnusedNullCheckInEquals - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - UseStringBufferForStringAppends - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SIC_INNER_SHOULD_BE_STATIC_ANON - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SIC_INNER_SHOULD_BE_STATIC_NEEDS_THIS - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - WMI_WRONG_MAP_ITERATOR - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DMI_COLLECTION_OF_URLS - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - UM_UNNECESSARY_MATH - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - SBSC_USE_STRINGBUFFER_CONCATENATION - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - DM_BOOLEAN_CTOR - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - DM_NUMBER_CTOR - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - DM_FP_NUMBER_CTOR - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - DM_STRING_VOID_CTOR - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - DM_STRING_CTOR - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - DM_STRING_TOSTRING - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - ITA_INEFFICIENT_TO_ARRAY - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - BX_BOXING_IMMEDIATELY_UNBOXED - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - BX_BOXING_IMMEDIATELY_UNBOXED_TO_PERFORM_COERCION - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - DMI_BLOCKING_METHODS_ON_URL - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - DM_NEXTINT_VIA_NEXTDOUBLE - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - AvoidLosingExceptionInformation - - remediationFunction - linear - - - remediationFactor - 10.0 - mn - - - - findbugs - BX_UNBOXING_IMMEDIATELY_REBOXED - - remediationFunction - linear - - - remediationFactor - 10.0 - mn - - - - pmd - GuardDebugLogging - - remediationFunction - linear - - - remediationFactor - 10.0 - mn - - - - - - CHANGEABILITY - Changeability - - ARCHITECTURE_CHANGEABILITY - Architecture related changeability - - checkstyle - com.puppycrawl.tools.checkstyle.checks.design.VisibilityModifierCheck - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - LooseCoupling - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - UselessOverridingMethod - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - CouplingBetweenObjects - - remediationFactor - 1.0 - d - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.metrics.ClassDataAbstractionCouplingCheck - - remediationFactor - 1.0 - d - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.metrics.ClassFanOutComplexityCheck - - remediationFactor - 1.0 - d - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.design.DesignForExtensionCheck - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.NestedTryDepthCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - AbstractClassWithoutAnyMethod - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - ExcessiveImports - - remediationFactor - 1.0 - d - - - remediationFunction - linear - - - - pmd - TooManyFields - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - AvoidProtectedFieldInFinalClass - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - DefaultPackage - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - UseArrayListInsteadOfVector - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - JCIP_FIELD_ISNT_FINAL_IN_IMMUTABLE_CLASS - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - IC_SUPERCLASS_USES_SUBCLASS_DURING_INITIALIZATION - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - MF_CLASS_MASKS_FIELD - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - IA_AMBIGUOUS_INVOCATION_OF_INHERITED_OR_OUTER_METHOD - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - squid - ArchitecturalConstraint - - remediationFactor - 3.0 - h - - - remediationFunction - linear - - - - squid - MaximumInheritanceDepth - - remediationFactor - 4.0 - h - - - remediationFunction - linear - - - - findbugs - USM_USELESS_ABSTRACT_METHOD - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - CD_CIRCULAR_DEPENDENCY - - remediationFactor - 3.0 - h - - - remediationFunction - linear - - - - squid - CycleBetweenPackages - - remediationFunction - linear - - - remediationFactor - 1.0 - d - - - - - DATA_CHANGEABILITY - Data related changeability - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.design.InterfaceIsTypeCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.MultipleStringLiteralsCheck - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - AvoidConstantsInterface - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - - LOGIC_CHANGEABILITY - Logic related changeability - - checkstyle - com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.DefaultComesLastCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.NestedIfDepthCheck - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.ReturnCountCheck - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.duplicates.StrictDuplicateCodeCheck - - remediationFactor - 3.0 - h - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.design.ThrowsCountCheck - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - AvoidDeeplyNestedIfStmts - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - AvoidDuplicateLiterals - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - IfStmtsMustUseBraces - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - IfElseStmtsMustUseBraces - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - OnlyOneReturn - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - ReplaceHashtableWithMap - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - ReplaceVectorWithList - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - SwitchDensity - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - common-java - DuplicatedBlocks - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - squid - AvoidBreakOutsideSwitch - - remediationFactor - 5.0 - h - - - remediationFunction - linear - - - - squid - AvoidContinueStatement - - remediationFactor - 5.0 - h - - - remediationFunction - linear - - - - findbugs - IMA_INEFFICIENT_MEMBER_ACCESS - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - - - RELIABILITY - Reliability - - ARCHITECTURE_RELIABILITY - Architecture related reliability - - checkstyle - com.puppycrawl.tools.checkstyle.checks.imports.AvoidStarImportCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - constant_resource - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.imports.IllegalImportCheck - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.imports.AvoidStaticImportCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.CovariantEqualsCheck - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.annotation.MissingOverrideCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - pmd - AvoidCallingFinalize - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - AvoidStringBufferField - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - BeanMembersShouldSerialize - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - ConstructorCallsOverridableMethod - - remediationFactor - 3.0 - h - - - remediationFunction - linear - - - - pmd - EmptyMethodInAbstractClassShouldBeAbstract - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - MissingSerialVersionUID - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - SE_NO_SUITABLE_CONSTRUCTOR_FOR_EXTERNALIZATION - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SE_NO_SUITABLE_CONSTRUCTOR - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SE_BAD_FIELD_INNER_CLASS - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SE_BAD_FIELD_STORE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SE_INNER_CLASS - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - J2EE_STORE_OF_NON_SERIALIZABLE_OBJECT_INTO_SESSION - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - UI_INHERITANCE_UNSAFE_GETRESOURCE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - CN_IDIOM_NO_SUPER_CALL - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - EQ_GETCLASS_AND_CLASS_CONSTANT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NM_BAD_EQUAL - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NM_LCASE_HASHCODE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NM_LCASE_TOSTRING - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NM_METHOD_CONSTRUCTOR_CONFUSION - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - EC_UNRELATED_CLASS_AND_INTERFACE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - EC_UNRELATED_TYPES - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - EC_UNRELATED_INTERFACES - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - BOA_BADLY_OVERRIDDEN_ADAPTER - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DMI_SCHEDULED_THREAD_POOL_EXECUTOR_WITH_ZERO_CORE_THREADS - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SIC_THREADLOCAL_DEADLY_EMBRACE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NM_WRONG_PACKAGE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SE_METHOD_MUST_BE_PRIVATE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - GC_UNRELATED_TYPES - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SE_READ_RESOLVE_IS_STATIC - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - HE_USE_OF_UNHASHABLE_CLASS - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - EQ_OTHER_USE_OBJECT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - EQ_OTHER_NO_OBJECT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - EQ_DOESNT_OVERRIDE_EQUALS - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - IC_INIT_CIRCULARITY - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DMI_THREAD_PASSED_WHERE_RUNNABLE_EXPECTED - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SE_TRANSIENT_FIELD_OF_NONSERIALIZABLE_CLASS - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD - - remediationFactor - 5.0 - h - - - remediationFunction - linear - - - - findbugs - IJU_SETUP_NO_SUPER - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - IJU_TEARDOWN_NO_SUPER - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - - DATA_RELIABILITY - Data related reliability - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.HiddenFieldCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.IllegalInstantiationCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - UselessOperationOnImmutable - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.ExplicitInitializationCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.FinalLocalVariableCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.FinalParametersCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.MissingCtorCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.ParameterAssignmentCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - AssignmentToNonFinalStatic - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - AvoidDecimalLiteralsInBigDecimalConstructor - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - AvoidReassigningParameters - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - MethodArgumentCouldBeFinal - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - NullAssignment - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - StaticEJBFieldShouldBeFinal - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - SuspiciousOctalEscape - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - VO_VOLATILE_REFERENCE_TO_ARRAY - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SE_BAD_FIELD - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - FI_EXPLICIT_INVOCATION - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SI_INSTANCE_BEFORE_FINALS_ASSIGNED - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SE_TRANSIENT_FIELD_NOT_RESTORED - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - RE_POSSIBLE_UNINTENDED_PATTERN - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - MF_METHOD_MASKS_FIELD - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - NP_ARGUMENT_MIGHT_BE_NULL - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NP_NONNULL_RETURN_VIOLATION - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - FL_MATH_USING_FLOAT_PRECISION - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NP_NULL_PARAM_DEREF_NONVIRTUAL - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NP_STORE_INTO_NONNULL_FIELD - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - UR_UNINIT_READ - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - UR_UNINIT_READ_CALLED_FROM_SUPER_CONSTRUCTOR - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - MTIA_SUSPECT_SERVLET_INSTANCE_FIELD - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - MTIA_SUSPECT_STRUTS_INSTANCE_FIELD - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - VA_PRIMITIVE_ARRAY_PASSED_TO_OBJECT_VARARG - - remediationFactor - 5.0 - h - - - remediationFunction - linear - - - - findbugs - BX_UNBOXED_AND_COERCED_FOR_TERNARY_OPERATOR - - remediationFactor - 5.0 - h - - - remediationFunction - linear - - - - findbugs - TQ_MAYBE_SOURCE_VALUE_REACHES_NEVER_SINK - - remediationFactor - 5.0 - h - - - remediationFunction - linear - - - - findbugs - TQ_MAYBE_SOURCE_VALUE_REACHES_ALWAYS_SINK - - remediationFactor - 5.0 - h - - - remediationFunction - linear - - - - - EXCEPTION_HANDLING - Exception handling - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.IllegalThrowsCheck - - remediationFactor - 3.0 - h - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.design.MutableExceptionCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - AvoidCatchingNPE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - AvoidCatchingThrowable - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - AvoidRethrowingException - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - AvoidThrowingNewInstanceOfSameException - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - DoNotThrowExceptionInFinally - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - UseCorrectExceptionLogging - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - AvoidPrintStackTrace - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - AvoidThrowingNullPointerException - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - AvoidThrowingRawExceptionTypes - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - IMSE_DONT_CATCH_IMSE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - ODR_OPEN_DATABASE_RESOURCE_EXCEPTION_PATH - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - OS_OPEN_STREAM_EXCEPTION_PATH - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DE_MIGHT_IGNORE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DE_MIGHT_DROP - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - RV_EXCEPTION_NOT_THROWN - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE - - remediationFunction - linear - - - remediationFactor - 1.0 - h - - - - - FAULT_TOLERANCE - Fault tolerance - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.IllegalCatchCheck - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - EmptyCatchBlock - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - MisplacedNullCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.EqualsAvoidNullCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - DoNotExtendJavaLangError - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - AvoidCatchingGenericException - - remediationFunction - linear - - - remediationFactor - 1.0 - h - - - - - INSTRUCTION_RELIABILITY - Instruction related reliability - - checkstyle - com.puppycrawl.tools.checkstyle.checks.whitespace.TypecastParenPadCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - constant_resource - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.EqualsHashCodeCheck - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.InnerAssignmentCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - ClassCastExceptionWithToArray - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - EqualsNull - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - BadComparison - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.NoCloneCheck - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.StringLiteralEqualityCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - CompareObjectsWithEquals - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - EmptyStatementNotInLoop - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - FinalizeDoesNotCallSuperFinalize - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - FinalizeOverloaded - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - OverrideBothEqualsAndHashcode - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - ProperCloneImplementation - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - StringBufferInstantiationWithChar - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - UseEqualsToCompareStrings - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - UseProperClassLoader - - remediationFactor - 3.0 - h - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.EmptyStatementCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyForIteratorPadCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyForInitializerPadCheck - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - findbugs - DM_USELESS_THREAD - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DM_GC - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - CO_ABSTRACT_SELF - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - EQ_ABSTRACT_SELF - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - BIT_SIGNED_CHECK - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - EQ_COMPARETO_USE_OBJECT_EQUALS - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - HE_EQUALS_USE_HASHCODE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - HE_EQUALS_NO_HASHCODE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - HE_HASHCODE_USE_OBJECT_EQUALS - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - HE_HASHCODE_NO_EQUALS - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - HE_INHERITS_EQUALS_USE_HASHCODE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NP_CLONE_COULD_RETURN_NULL - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SE_COMPARATOR_SHOULD_BE_SERIALIZABLE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - ES_COMPARING_STRINGS_WITH_EQ - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - ES_COMPARING_PARAMETER_STRING_WITH_EQ - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - EQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_THIS - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - RR_NOT_CHECKED - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SR_NOT_CHECKED - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - RC_REF_COMPARISON - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SE_READ_RESOLVE_MUST_RETURN_OBJECT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - RV_ABSOLUTE_VALUE_OF_HASHCODE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - RV_ABSOLUTE_VALUE_OF_RANDOM_INT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - INT_BAD_COMPARISON_WITH_NONNEGATIVE_VALUE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - INT_BAD_COMPARISON_WITH_SIGNED_BYTE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DMI_BAD_MONTH - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DMI_COLLECTIONS_SHOULD_NOT_CONTAIN_THEMSELVES - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DMI_USING_REMOVEALL_TO_CLEAR_COLLECTION - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - IO_APPENDING_TO_OBJECT_OUTPUT_STREAM - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - FE_TEST_IF_EQUAL_TO_NOT_A_NUMBER - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - VA_FORMAT_STRING_BAD_CONVERSION_FROM_ARRAY - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - DMI_LONG_BITS_TO_DOUBLE_INVOKED_ON_INT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - VA_FORMAT_STRING_BAD_ARGUMENT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - VA_FORMAT_STRING_MISSING_ARGUMENT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - VA_FORMAT_STRING_ILLEGAL - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - BC_IMPOSSIBLE_CAST - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - BC_IMPOSSIBLE_DOWNCAST - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - BC_IMPOSSIBLE_DOWNCAST_OF_TOARRAY - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - BIT_AND - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - BIT_IOR - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - IM_MULTIPLYING_RESULT_OF_IREM - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - INT_BAD_REM_BY_1 - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - ICAST_BAD_SHIFT_AMOUNT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - RE_BAD_SYNTAX_FOR_REGULAR_EXPRESSION - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - EC_BAD_ARRAY_COMPARE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DMI_INVOKING_HASHCODE_ON_ARRAY - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - DMI_INVOKING_TOSTRING_ON_ARRAY - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - DMI_INVOKING_TOSTRING_ON_ANONYMOUS_ARRAY - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - IJU_ASSERT_METHOD_INVOKED_FROM_RUN_METHOD - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - VA_FORMAT_STRING_EXPECTED_MESSAGE_FORMAT_SUPPLIED - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - QBA_QUESTIONABLE_BOOLEAN_ASSIGNMENT - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - SQL_BAD_PREPARED_STATEMENT_ACCESS - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - SQL_BAD_RESULTSET_ACCESS - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - RV_RETURN_VALUE_IGNORED - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - RV_RETURN_VALUE_IGNORED2 - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - VA_FORMAT_STRING_EXTRA_ARGUMENTS_PASSED - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - VA_FORMAT_STRING_NO_PREVIOUS_ARGUMENT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DLS_OVERWRITTEN_INCREMENT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - RV_01_TO_INT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - RC_REF_COMPARISON_BAD_PRACTICE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - VA_FORMAT_STRING_BAD_CONVERSION - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - EC_UNRELATED_TYPES_USING_POINTER_EQUALITY - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DMI_VACUOUS_SELF_COLLECTION_CALL - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NP_CLOSING_NULL - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - EC_ARRAY_AND_NONARRAY - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - EC_INCOMPATIBLE_ARRAY_COMPARE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - ICAST_INT_CAST_TO_FLOAT_PASSED_TO_ROUND - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - ICAST_INT_CAST_TO_DOUBLE_PASSED_TO_CEIL - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DMI_UNSUPPORTED_METHOD - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - IM_BAD_CHECK_FOR_ODD - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - PZLA_PREFER_ZERO_LENGTH_ARRAYS - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - VA_FORMAT_STRING_BAD_CONVERSION_TO_BOOLEAN - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DMI_NONSERIALIZABLE_OBJECT_WRITTEN - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NS_NON_SHORT_CIRCUIT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - BC_BAD_CAST_TO_CONCRETE_COLLECTION - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - BC_BAD_CAST_TO_ABSTRACT_COLLECTION - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - RV_REM_OF_HASHCODE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - ICAST_INTEGER_MULTIPLY_CAST_TO_LONG - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - FE_FLOATING_POINT_EQUALITY - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - ICAST_IDIV_CAST_TO_DOUBLE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - RV_REM_OF_RANDOM_INT - - remediationFactor - 5.0 - h - - - remediationFunction - linear - - - - findbugs - UOE_USE_OBJECT_EQUALS - - remediationFactor - 3.0 - h - - - remediationFunction - linear - - - - findbugs - DMI_ENTRY_SETS_MAY_REUSE_ENTRY_OBJECTS - - remediationFunction - linear - - - remediationFactor - 1.0 - h - - - - findbugs - VO_VOLATILE_INCREMENT - - remediationFunction - linear - - - remediationFactor - 1.0 - h - - - - findbugs - INT_BAD_COMPARISON_WITH_INT_VALUE - - remediationFunction - linear - - - remediationFactor - 30.0 - mn - - - - findbugs - DMI_BIGDECIMAL_CONSTRUCTED_FROM_DOUBLE - - remediationFunction - linear - - - remediationFactor - 1.0 - h - - - - findbugs - CO_COMPARETO_RESULTS_MIN_VALUE - - remediationFunction - linear - - - remediationFactor - 30.0 - mn - - - - findbugs - DMI_DOH - - remediationFunction - linear - - - remediationFactor - 1.0 - h - - - - findbugs - PZ_DONT_REUSE_ENTRY_OBJECTS_IN_ITERATORS - - remediationFunction - linear - - - remediationFactor - 1.0 - h - - - - pmd - DontCallThreadRun - - remediationFunction - linear - - - remediationFactor - 10.0 - mn - - - - pmd - DontNestJsfInJstlIteration - - remediationFunction - linear - - - remediationFactor - 1.0 - h - - - - findbugs - RV_NEGATING_RESULT_OF_COMPARETO - - remediationFunction - linear - - - remediationFactor - 30.0 - mn - - - - findbugs - AT_OPERATION_SEQUENCE_ON_CONCURRENT_ABSTRACTION - - remediationFunction - linear - - - remediationFactor - 30.0 - mn - - - - - LOGIC_RELIABILITY - Logic related reliability - - checkstyle - com.puppycrawl.tools.checkstyle.checks.blocks.EmptyBlockCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.MissingSwitchDefaultCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.ModifiedControlVariableCheck - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - JumbledIncrementer - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.FallThroughCheck - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.NoFinalizerCheck - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.TodoCommentCheck - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - CallSuperFirst - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - CallSuperLast - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - BrokenNullCheck - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - CallSuperInConstructor - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - CheckResultSet - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - DataflowAnomalyAnalysis - - remediationFactor - 3.0 - h - - - remediationFunction - linear - - - - pmd - DefaultLabelNotLastInSwitchStmt - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - MissingBreakInSwitch - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - NonCaseLabelInSwitchStatement - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - PositionLiteralsFirstInComparisons - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd - ReturnFromFinallyBlock - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - SwitchStmtsShouldHaveDefault - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - NonStaticInitializer - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SF_SWITCH_NO_DEFAULT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SF_SWITCH_FALLTHROUGH - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - AM_CREATES_EMPTY_JAR_FILE_ENTRY - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - AM_CREATES_EMPTY_ZIP_FILE_ENTRY - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - EQ_SELF_NO_OBJECT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - CO_SELF_NO_OBJECT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - FI_MISSING_SUPER_CALL - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - FI_NULLIFY_SUPER - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - IT_NO_SUCH_ELEMENT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - RV_RETURN_VALUE_IGNORED_BAD_PRACTICE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - ODR_OPEN_DATABASE_RESOURCE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - OS_OPEN_STREAM - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NP_BOOLEAN_RETURN_NULL - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NP_TOSTRING_COULD_RETURN_NULL - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - IL_CONTAINER_ADDED_TO_ITSELF - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - IP_PARAMETER_IS_DEAD_BUT_OVERWRITTEN - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - IL_INFINITE_LOOP - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - IL_INFINITE_RECURSIVE_LOOP - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - BIT_IOR_OF_SIGNED_BYTE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - BIT_ADD_OF_SIGNED_BYTE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - BIT_SIGNED_CHECK_HIGH_BIT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - BIT_AND_ZZ - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - TQ_EXPLICIT_UNKNOWN_SOURCE_VALUE_REACHES_NEVER_SINK - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - TQ_EXPLICIT_UNKNOWN_SOURCE_VALUE_REACHES_ALWAYS_SINK - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DMI_FUTILE_ATTEMPT_TO_CHANGE_MAXPOOL_SIZE_OF_SCHEDULED_THREAD_POOL_EXECUTOR - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SA_FIELD_SELF_COMPUTATION - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SA_LOCAL_SELF_COMPUTATION - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NP_GUARANTEED_DEREF - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NP_ALWAYS_NULL_EXCEPTION - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NP_ALWAYS_NULL - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - VA_FORMAT_STRING_ARG_MISMATCH - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NP_NULL_ON_SOME_PATH - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NP_NULL_ON_SOME_PATH_EXCEPTION - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NP_UNWRITTEN_FIELD - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - RpC_REPEATED_CONDITIONAL_TEST - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SA_LOCAL_SELF_COMPARISON - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SA_FIELD_SELF_COMPARISON - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SA_FIELD_SELF_ASSIGNMENT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - RV_RETURN_VALUE_OF_PUTIFABSENT_IGNORED - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - HE_SIGNATURE_DECLARES_HASHING_OF_UNHASHABLE_CLASS - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - STI_INTERRUPTED_ON_UNKNOWNTHREAD - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - TQ_ALWAYS_VALUE_USED_WHERE_NEVER_REQUIRED - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - TQ_NEVER_VALUE_USED_WHERE_ALWAYS_REQUIRED - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NP_GUARANTEED_DEREF_ON_EXCEPTION_PATH - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - EQ_OVERRIDING_EQUALS_NOT_SYMMETRIC - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - EQ_COMPARING_CLASS_NAMES - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - EQ_ALWAYS_TRUE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - EQ_ALWAYS_FALSE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DMI_CALLING_NEXT_FROM_HASNEXT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - BC_IMPOSSIBLE_INSTANCEOF - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SF_DEAD_STORE_DUE_TO_SWITCH_FALLTHROUGH - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - QF_QUESTIONABLE_FOR_LOOP - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - IM_AVERAGE_COMPUTATION_COULD_OVERFLOW - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NP_DEREFERENCE_OF_READLINE_VALUE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SA_LOCAL_DOUBLE_ASSIGNMENT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NP_IMMEDIATE_DEREFERENCE_OF_READLINE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - RV_DONT_JUST_NULL_CHECK_READLINE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DB_DUPLICATE_BRANCHES - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DB_DUPLICATE_SWITCH_CLAUSES - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NP_NULL_ON_SOME_PATH_MIGHT_BE_INFEASIBLE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NS_DANGEROUS_NON_SHORT_CIRCUIT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SA_LOCAL_SELF_ASSIGNMENT - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - findbugs - BC_VACUOUS_INSTANCEOF - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SF_DEAD_STORE_DUE_TO_SWITCH_FALLTHROUGH_TO_THROW - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - ICAST_QUESTIONABLE_UNSIGNED_RIGHT_SHIFT - - remediationFactor - 5.0 - h - - - remediationFunction - linear - - - - findbugs - EQ_UNUSUAL - - remediationFactor - 5.0 - h - - - remediationFunction - linear - - - - findbugs - BAC_BAD_APPLET_CONSTRUCTOR - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - OBL_UNSATISFIED_OBLIGATION - - remediationFactor - 3.0 - h - - - remediationFunction - linear - - - - findbugs - RV_CHECK_COMPARETO_FOR_SPECIFIC_RETURN_VALUE - - remediationFunction - linear - - - remediationFactor - 30.0 - mn - - - - findbugs - DLS_DEAD_LOCAL_STORE_SHADOWS_FIELD - - remediationFunction - linear - - - remediationFactor - 30.0 - mn - - - - findbugs - ICAST_INT_2_LONG_AS_INSTANT - - remediationFunction - linear - - - remediationFactor - 30.0 - mn - - - - findbugs - RV_RETURN_VALUE_IGNORED_INFERRED - - remediationFunction - linear - - - remediationFactor - 30.0 - mn - - - - findbugs - NP_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD - - remediationFunction - linear - - - remediationFactor - 1.0 - h - - - - findbugs - SA_LOCAL_SELF_ASSIGNMENT_INSTEAD_OF_FIELD - - remediationFunction - linear - - - remediationFactor - 30.0 - mn - - - - findbugs - URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD - - remediationFunction - linear - - - remediationFactor - 30.0 - mn - - - - findbugs - UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD - - remediationFunction - linear - - - remediationFactor - 30.0 - mn - - - - findbugs - UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD - - remediationFunction - linear - - - remediationFactor - 30.0 - mn - - - - - SYNCHRONIZATION_RELIABILITY - Synchronization related reliability - - checkstyle - com.puppycrawl.tools.checkstyle.checks.coding.DoubleCheckedLockingCheck - - remediationFactor - 3.0 - h - - - remediationFunction - linear - - - - pmd - UseNotifyAllInsteadOfNotify - - remediationFactor - 3.0 - h - - - remediationFunction - linear - - - - pmd - AvoidThreadGroup - - remediationFactor - 3.0 - h - - - remediationFunction - linear - - - - pmd - CloseResource - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - DoNotUseThreads - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - DoubleCheckedLocking - - remediationFactor - 3.0 - h - - - remediationFunction - linear - - - - pmd - NonThreadSafeSingleton - - remediationFactor - 3.0 - h - - - remediationFunction - linear - - - - pmd - UnsynchronizedStaticDateFormatter - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - STCAL_INVOKE_ON_STATIC_CALENDAR_INSTANCE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - RS_READOBJECT_SYNC - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - WS_WRITEOBJECT_SYNC - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - WA_AWAIT_NOT_IN_LOOP - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SC_START_IN_CTOR - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - ESync_EMPTY_SYNC - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - IS_FIELD_NOT_GUARDED - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - IS2_INCONSISTENT_SYNC - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - IS_INCONSISTENT_SYNC - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - LI_LAZY_INIT_UPDATE_STATIC - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - LI_LAZY_INIT_STATIC - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - RU_INVOKE_RUN - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SWL_SLEEP_WITH_LOCK_HELD - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - UL_UNRELEASED_LOCK_EXCEPTION_PATH - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - UL_UNRELEASED_LOCK - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SP_SPIN_ON_FIELD - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - ML_SYNC_ON_UPDATED_FIELD - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - MWN_MISMATCHED_NOTIFY - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - MWN_MISMATCHED_WAIT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DM_MONITOR_WAIT_ON_CONDITION - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - MSF_MUTABLE_SERVLET_FIELD - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NN_NAKED_NOTIFY - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DC_DOUBLECHECK - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - STCAL_STATIC_CALENDAR_INSTANCE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - STCAL_STATIC_SIMPLE_DATE_FORMAT_INSTANCE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - WL_USING_GETCLASS_RATHER_THAN_CLASS_LITERAL - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - TLW_TWO_LOCK_WAIT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - WA_NOT_IN_LOOP - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NO_NOTIFY_NOT_NOTIFYALL - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - UG_SYNC_SET_UNSYNC_GET - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - UW_UNCOND_WAIT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - NP_SYNC_AND_NULL_CHECK_FIELD - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - JLM_JSR166_LOCK_MONITORENTER - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DL_SYNCHRONIZATION_ON_SHARED_CONSTANT - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - ML_SYNC_ON_FIELD_TO_GUARD_CHANGING_THAT_FIELD - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DL_SYNCHRONIZATION_ON_UNSHARED_BOXED_PRIMITIVE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DL_SYNCHRONIZATION_ON_BOXED_PRIMITIVE - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - DL_SYNCHRONIZATION_ON_BOOLEAN - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - SW_SWING_METHODS_INVOKED_IN_SWING_THREAD - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - findbugs - PS_PUBLIC_SEMAPHORES - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - UseConcurrentHashMap - - remediationFunction - linear - - - remediationFactor - 30.0 - mn - - - - findbugs - JML_JSR166_CALLING_WAIT_RATHER_THAN_AWAIT - - remediationFunction - linear - - - remediationFactor - 1.0 - h - - - - - UNIT_TESTS - Unit tests - - common-java - InsufficientLineCoverage - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - common-java - InsufficientBranchCoverage - - remediationFactor - 30.0 - mn - - - remediationFunction - linear - - - - pmd-unit-tests - JUnitTestsShouldIncludeAssert - - remediationFunction - linear - - - remediationFactor - 1.0 - h - - - - - - TESTABILITY - Testability - - INTEGRATION_TESTABILITY - Integration level testability - - - UNIT_TESTABILITY - Unit level testability - - checkstyle - com.puppycrawl.tools.checkstyle.checks.sizes.ParameterNumberCheck - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.metrics.CyclomaticComplexityCheck - - remediationFactor - 3.0 - h - - - remediationFunction - linear - - - - checkstyle - com.puppycrawl.tools.checkstyle.checks.metrics.NPathComplexityCheck - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - CyclomaticComplexity - - remediationFactor - 3.0 - h - - - remediationFunction - linear - - - - pmd - ExceptionAsFlowControl - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - ExcessiveParameterList - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - pmd - NPathComplexity - - remediationFactor - 1.0 - h - - - remediationFunction - linear - - - - squid - ClassCyclomaticComplexity - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - squid - MethodCyclomaticComplexity - - remediationFactor - 10.0 - mn - - - remediationFunction - linear - - - - pmd-unit-tests - JUnitAssertionsShouldIncludeMessage - - remediationFunction - linear - - - remediationFactor - 10.0 - mn - - - - pmd-unit-tests - JUnitSpelling - - remediationFunction - linear - - - remediationFactor - 10.0 - mn - - - - pmd-unit-tests - JUnitStaticSuite - - remediationFunction - linear - - - remediationFactor - 10.0 - mn - - - - pmd-unit-tests - SimplifyBooleanAssertion - - remediationFunction - linear - - - remediationFactor - 10.0 - mn - - - - pmd-unit-tests - TestClassWithoutTestCases - - remediationFunction - constant_resource - - - remediationFactor - 1.0 - h - - - - pmd-unit-tests - UnnecessaryBooleanAssertion - - remediationFunction - linear - - - remediationFactor - 10.0 - mn - - - - pmd-unit-tests - UseAssertEqualsInsteadOfAssertTrue - - remediationFunction - linear - - - remediationFactor - 10.0 - mn - - - - pmd-unit-tests - UseAssertNullInsteadOfAssertTrue - - remediationFunction - linear - - - remediationFactor - 10.0 - mn - - - - pmd-unit-tests - UseAssertSameInsteadOfAssertTrue - - remediationFunction - linear - - - remediationFactor - 10.0 - mn - - - - - diff --git a/plugins/sonar-java-plugin/src/test/java/org/sonar/plugins/java/JavaCommonRulesEngineProviderTest.java b/plugins/sonar-java-plugin/src/test/java/org/sonar/plugins/java/JavaCommonRulesEngineProviderTest.java deleted file mode 100644 index b43e8eabb22..00000000000 --- a/plugins/sonar-java-plugin/src/test/java/org/sonar/plugins/java/JavaCommonRulesEngineProviderTest.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Sonar, open source software quality management tool. - * Copyright (C) 2008-2012 SonarSource - * mailto:contact AT sonarsource DOT com - * - * Sonar is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * Sonar is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with Sonar; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 - */ -package org.sonar.plugins.java; - -import org.junit.Test; - -import static org.fest.assertions.Assertions.assertThat; - -public class JavaCommonRulesEngineProviderTest { - - @Test - public void shouldProvideExpectedExtensions() { - JavaCommonRulesEngineProvider provider = new JavaCommonRulesEngineProvider(); - assertThat(provider.provide().size()).isGreaterThan(1); - - provider = new JavaCommonRulesEngineProvider(null); - assertThat(provider.provide().size()).isGreaterThan(1); - } - -} diff --git a/plugins/sonar-java-plugin/src/test/java/org/sonar/plugins/java/JavaPluginTest.java b/plugins/sonar-java-plugin/src/test/java/org/sonar/plugins/java/JavaPluginTest.java deleted file mode 100644 index 1a5097d59af..00000000000 --- a/plugins/sonar-java-plugin/src/test/java/org/sonar/plugins/java/JavaPluginTest.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Sonar, open source software quality management tool. - * Copyright (C) 2008-2012 SonarSource - * mailto:contact AT sonarsource DOT com - * - * Sonar is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * Sonar is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with Sonar; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 - */ -package org.sonar.plugins.java; - -import org.junit.Test; - -import static org.fest.assertions.Assertions.assertThat; - -public class JavaPluginTest { - - @Test - public void testGetExtensions() { - assertThat(new JavaPlugin().getExtensions().size()).isEqualTo(1); - } - -} diff --git a/pom.xml b/pom.xml index c3a3885d7d0..75f145e4281 100644 --- a/pom.xml +++ b/pom.xml @@ -47,7 +47,6 @@ plugins/sonar-l10n-en-plugin plugins/sonar-email-notifications-plugin plugins/sonar-jacoco-plugin - plugins/sonar-java-plugin diff --git a/sonar-application/assembly.xml b/sonar-application/assembly.xml index f1be3c02ec1..95586403dcf 100644 --- a/sonar-application/assembly.xml +++ b/sonar-application/assembly.xml @@ -17,6 +17,7 @@ postgresql:postgresql net.sourceforge.jtds:jtds org.codehaus.sonar.plugins:* + org.codehaus.sonar-plugins.*:* @@ -25,6 +26,7 @@ false org.codehaus.sonar.plugins:* + org.codehaus.sonar-plugins.*:* diff --git a/sonar-application/pom.xml b/sonar-application/pom.xml index 5c7123c128c..3ba96548f3c 100644 --- a/sonar-application/pom.xml +++ b/sonar-application/pom.xml @@ -207,9 +207,9 @@ runtime - org.codehaus.sonar.plugins + org.codehaus.sonar-plugins.java sonar-java-plugin - ${project.version} + 1.0-SNAPSHOT runtime -- 2.39.5