diff --git a/RegExpSupport/resources/inspectionDescriptions/metaInformation.json b/RegExpSupport/resources/inspectionDescriptions/metaInformation.json new file mode 100644 index 000000000000..d1b3bc03f923 --- /dev/null +++ b/RegExpSupport/resources/inspectionDescriptions/metaInformation.json @@ -0,0 +1,10 @@ +{ + "inspections": [ + { + "id": "RegExpRepeatedSpace", + "cweIds": [ + 625 + ] + } + ] +} \ No newline at end of file diff --git a/java/java-impl/src/inspectionDescriptions/metaInformation.json b/java/java-impl/src/inspectionDescriptions/metaInformation.json index bd4c1bc9ec30..e31383a022dc 100644 --- a/java/java-impl/src/inspectionDescriptions/metaInformation.json +++ b/java/java-impl/src/inspectionDescriptions/metaInformation.json @@ -1,12 +1,800 @@ { - "inspections" : [ + "inspections": [ { - "id" : "ConstantValue", - "cweIds": [570, 571] + "id": "AccessStaticViaInstance", + "cweIds": [ + 398 + ] }, { - "id" : "NullableProblems", - "cweIds": [476] + "id": "AssertWithSideEffects", + "cweIds": [ + 480, + 571 + ] + }, + { + "id": "AssignmentUsedAsCondition", + "cweIds": [ + 480, + 481, + 783 + ] + }, + { + "id": "AtomicFieldUpdaterIssues", + "cweIds": [ + 489, + 662 + ] + }, + { + "id": "AutoCloseableResource", + "cweIds": [ + 404, + 772, + 775 + ] + }, + { + "id": "BigDecimalMethodWithoutRoundingCalled", + "cweIds": [ + 369 + ] + }, + { + "id": "BooleanConstructor", + "cweIds": [ + 597 + ] + }, + { + "id": "BoxingBoxedValue", + "cweIds": [ + 597 + ] + }, + { + "id": "BusyWait", + "cweIds": [ + 400, + 835 + ] + }, + { + "id": "CatchMayIgnoreException", + "cweIds": [ + 390, + 391, + 705, + 710 + ] + }, + { + "id": "CaughtExceptionImmediatelyRethrown", + "cweIds": [ + 703, + 706 + ] + }, + { + "id": "CloneDeclaresCloneNotSupported", + "cweIds": [ + 489, + 496 + ] + }, + { + "id": "CloneableImplementsClone", + "cweIds": [ + 489 + ] + }, + { + "id": "CommentedOutCode", + "cweIds": [ + 546 + ] + }, + { + "id": "ComparatorMethodParameterNotUsed", + "cweIds": [ + 252, + 253, + 670, + 688 + ] + }, + { + "id": "ComparisonToNaN", + "cweIds": [ + 369, + 682 + ] + }, + { + "id": "ConditionCoveredByFurtherCondition", + "cweIds": [ + 571, + 1048 + ] + }, + { + "id": "ConditionalExpressionWithIdenticalBranches", + "cweIds": [ + 691 + ] + }, + { + "id": "ConstantValue", + "cweIds": [ + 398, + 476, + 480, + 489, + 561, + 570, + 571 + ] + }, + { + "id": "ContinueOrBreakFromFinallyBlock", + "cweIds": [ + 398 + ] + }, + { + "id": "Contract", + "cweIds": [ + 570, + 571 + ] + }, + { + "id": "DataFlowIssue", + "cweIds": [ + 476, + 570, + 571, + 690 + ] + }, + { + "id": "DeprecatedIsStillUsed", + "cweIds": [ + 477 + ] + }, + { + "id": "Deprecation", + "cweIds": [ + 477 + ] + }, + { + "id": "DivideByZero", + "cweIds": [ + 369, + 369, + 369 + ] + }, + { + "id": "DoubleCheckedLocking", + "cweIds": [ + 662 + ] + }, + { + "id": "DuplicateCondition", + "cweIds": [ + 571, + 691 + ] + }, + { + "id": "DuplicateExpressions", + "cweIds": [ + 398, + 710 + ] + }, + { + "id": "EmptyFinallyBlock", + "cweIds": [ + 398, + 710 + ] + }, + { + "id": "EmptyStatementBody", + "cweIds": [ + 563, + 670 + ] + }, + { + "id": "EmptyTryBlock", + "cweIds": [ + 563, + 570, + 571 + ] + }, + { + "id": "EqualsOnSuspiciousObject", + "cweIds": [ + 597 + ] + }, + { + "id": "EqualsWithItself", + "cweIds": [ + 570, + 571, + 597 + ] + }, + { + "id": "ExcessiveRangeCheck", + "cweIds": [ + 570, + 571 + ] + }, + { + "id": "FinalizeNotProtected", + "cweIds": [ + 489 + ] + }, + { + "id": "FinallyBlockCannotCompleteNormally", + "cweIds": [ + 691, + 693, + 705, + 710 + ] + }, + { + "id": "ForwardCompatibility", + "cweIds": [ + 561, + 563, + 835 + ] + }, + { + "id": "IdempotentLoopBody", + "cweIds": [ + 571, + 691, + 834, + 835 + ] + }, + { + "id": "IfStatementWithIdenticalBranches", + "cweIds": [ + 398 + ] + }, + { + "id": "IgnoreResultOfCall", + "cweIds": [ + 561, + 563, + 628 + ] + }, + { + "id": "ImplicitArrayToString", + "cweIds": [ + 200 + ] + }, + { + "id": "IncompatibleMask", + "cweIds": [ + 456, + 561, + 563, + 570, + 571, + 670, + 758, + 785, + 840 + ] + }, + { + "id": "IncorrectDateTimeFormat", + "cweIds": [ + 682, + 691, + 707, + 710 + ] + }, + { + "id": "InfiniteRecursion", + "cweIds": [ + 835 + ] + }, + { + "id": "IntegerDivisionInFloatingPointContext", + "cweIds": [ + 681, + 682 + ] + }, + { + "id": "IntegerMultiplicationImplicitCastToLong", + "cweIds": [ + 190, + 681 + ] + }, + { + "id": "JavaReflectionMemberAccess", + "cweIds": [ + 470, + 489 + ] + }, + { + "id": "LoopConditionNotUpdatedInsideLoop", + "cweIds": [ + 835 + ] + }, + { + "id": "LoopStatementsThatDontLoop", + "cweIds": [ + 835 + ] + }, + { + "id": "MagicConstant", + "cweIds": [ + 398 + ] + }, + { + "id": "MalformedFormatString", + "cweIds": [ + 134, + 687, + 688 + ] + }, + { + "id": "ManualArrayToCollectionCopy", + "cweIds": [ + 707 + ] + }, + { + "id": "MaskedAssertion", + "cweIds": [ + 480 + ] + }, + { + "id": "MathRandomCastToInt", + "cweIds": [ + 330, + 681 + ] + }, + { + "id": "MathRoundingWithIntArgument", + "cweIds": [ + 681 + ] + }, + { + "id": "MethodNameSameAsClassName", + "cweIds": [ + 398, + 561 + ] + }, + { + "id": "MismatchedArrayReadWrite", + "cweIds": [ + 561, + 563, + 570, + 571, + 628 + ] + }, + { + "id": "MismatchedCollectionQueryUpdate", + "cweIds": [ + 561, + 563, + 582 + ] + }, + { + "id": "MismatchedStringBuilderQueryUpdate", + "cweIds": [ + 563, + 628 + ] + }, + { + "id": "NewObjectEquality", + "cweIds": [ + 597 + ] + }, + { + "id": "NoExplicitFinalizeCalls", + "cweIds": [ + 665 + ] + }, + { + "id": "NonAtomicOperationOnVolatileField", + "cweIds": [ + 823 + ] + }, + { + "id": "NonSerializableWithSerialVersionUIDField", + "cweIds": [ + 502 + ] + }, + { + "id": "NotNullFieldNotInitialized", + "cweIds": [ + 252, + 476 + ] + }, + { + "id": "NullableProblems", + "cweIds": [ + 395, + 476, + 754, + 755 + ] + }, + { + "id": "NumberEquality", + "cweIds": [ + 597 + ] + }, + { + "id": "NumericOverflow", + "cweIds": [ + 190, + 682 + ] + }, + { + "id": "ObviousNullCheck", + "cweIds": [ + 476 + ] + }, + { + "id": "OptionalAssignedToNull", + "cweIds": [ + 252, + 253, + 476 + ] + }, + { + "id": "OverflowingLoopIndex", + "cweIds": [ + 835, + 835 + ] + }, + { + "id": "PatternVariableHidesField", + "cweIds": [ + 563 + ] + }, + { + "id": "PointlessArithmeticExpression", + "cweIds": [ + 398 + ] + }, + { + "id": "PointlessBitwiseExpression", + "cweIds": [ + 398, + 480, + 561, + 563, + 570, + 571, + 690 + ] + }, + { + "id": "PointlessBooleanExpression", + "cweIds": [ + 398 + ] + }, + { + "id": "RedundantOperationOnEmptyContainer", + "cweIds": [ + 561 + ] + }, + { + "id": "RefusedBequest", + "cweIds": [ + 489, + 561 + ] + }, + { + "id": "ReplaceAllDot", + "cweIds": [ + 20, + 185, + 628, + 687 + ] + }, + { + "id": "ReplaceInefficientStreamCount", + "cweIds": [ + 835 + ] + }, + { + "id": "ShiftOutOfRange", + "cweIds": [ + 681, + 682 + ] + }, + { + "id": "SillyAssignment", + "cweIds": [ + 480, + 561 + ] + }, + { + "id": "SimplifiableAssertion", + "cweIds": [ + 398, + 546 + ] + }, + { + "id": "SimplifiableBooleanExpression", + "cweIds": [ + 480, + 561, + 570, + 571 + ] + }, + { + "id": "SimplifiableConditionalExpression", + "cweIds": [ + 398, + 480, + 561, + 563, + 570, + 571, + 690 + ] + }, + { + "id": "SimplifyStreamApiCallChains", + "cweIds": [ + 398, + 400, + 597 + ] + }, + { + "id": "SortedCollectionWithNonComparableKeys", + "cweIds": [ + 664, + 697 + ] + }, + { + "id": "StringConcatenationInsideStringBufferAppend", + "cweIds": [ + 597 + ] + }, + { + "id": "StringEquality", + "cweIds": [ + 597 + ] + }, + { + "id": "StringEqualsCharSequence", + "cweIds": [ + 597 + ] + }, + { + "id": "SuspiciousIndentAfterControlStatement", + "cweIds": [ + 483, + 691 + ] + }, + { + "id": "SuspiciousIntegerDivAssignment", + "cweIds": [ + 682 + ] + }, + { + "id": "SuspiciousInvocationHandlerImplementation", + "cweIds": [ + 480, + 706 + ] + }, + { + "id": "SuspiciousListRemoveInLoop", + "cweIds": [ + 834, + 1299 + ] + }, + { + "id": "SuspiciousSystemArraycopy", + "cweIds": [ + 129, + 680, + 805 + ] + }, + { + "id": "SuspiciousToArrayCall", + "cweIds": [ + 843 + ] + }, + { + "id": "SynchronizeOnNonFinalField", + "cweIds": [ + 662 + ] + }, + { + "id": "SystemRunFinalizersOnExit", + "cweIds": [ + 662, + 664, + 706 + ] + }, + { + "id": "ThreadLocalSetWithNull", + "cweIds": [ + 400 + ] + }, + { + "id": "ThrowableNotThrown", + "cweIds": [ + 390, + 489, + 561, + 563, + 570, + 571, + 703, + 710 + ] + }, + { + "id": "ThrowablePrintedToSystemOut", + "cweIds": [ + 215, + 389, + 532, + 778 + ] + }, + { + "id": "ToArrayCallWithZeroLengthArrayArgument", + "cweIds": [ + 362, + 470 + ] + }, + { + "id": "TrivialIf", + "cweIds": [ + 398, + 710 + ] + }, + { + "id": "UNCHECKED_WARNING", + "cweIds": [ + 843 + ] + }, + { + "id": "UNUSED_IMPORT", + "cweIds": [ + 116, + 398 + ] + }, + { + "id": "UnaryPlus", + "cweIds": [ + 480, + 670 + ] + }, + { + "id": "UnnecessarySemicolon", + "cweIds": [ + 398 + ] + }, + { + "id": "UnnecessaryUnaryMinus", + "cweIds": [ + 398, + 561, + 563, + 570, + 571, + 670 + ] + }, + { + "id": "UnsatisfiedRange", + "cweIds": [ + 129, + 190, + 682 + ] + }, + { + "id": "UnusedAssignment", + "cweIds": [ + 561, + 563 + ] + }, + { + "id": "WaitWhileHoldingTwoLocks", + "cweIds": [ + 662, + 833 + ] + }, + { + "id": "WhileLoopSpinsOnField", + "cweIds": [ + 835 + ] } ] } \ No newline at end of file diff --git a/jvm/jvm-analysis-impl/resources/inspectionDescriptions/metaInformation.json b/jvm/jvm-analysis-impl/resources/inspectionDescriptions/metaInformation.json new file mode 100644 index 000000000000..0cbd5f160017 --- /dev/null +++ b/jvm/jvm-analysis-impl/resources/inspectionDescriptions/metaInformation.json @@ -0,0 +1,32 @@ +{ + "inspections": [ + { + "id": "JUnitMalformedDeclaration", + "cweIds": [ + 489, + 489, + 697 + ] + }, + { + "id": "LoggingPlaceholderCountMatchesArgumentCount", + "cweIds": [ + 117, + 532 + ] + }, + { + "id": "NonExtendableApiUsage", + "cweIds": [ + 843 + ] + }, + { + "id": "UrlHashCode", + "cweIds": [ + 400, + 597 + ] + } + ] +} \ No newline at end of file diff --git a/plugins/IntelliLang/src/inspectionDescriptions/metaInformation.json b/plugins/IntelliLang/src/inspectionDescriptions/metaInformation.json new file mode 100644 index 000000000000..b125da1d38f3 --- /dev/null +++ b/plugins/IntelliLang/src/inspectionDescriptions/metaInformation.json @@ -0,0 +1,10 @@ +{ + "inspections": [ + { + "id": "InjectedReferences", + "cweIds": [ + 73 + ] + } + ] +} \ No newline at end of file diff --git a/plugins/kotlin/code-insight/descriptions/resources-en/inspectionDescriptions/metaInformation.json b/plugins/kotlin/code-insight/descriptions/resources-en/inspectionDescriptions/metaInformation.json new file mode 100644 index 000000000000..898fa3b8c727 --- /dev/null +++ b/plugins/kotlin/code-insight/descriptions/resources-en/inspectionDescriptions/metaInformation.json @@ -0,0 +1,153 @@ +{ + "inspections": [ + { + "id": "ArrayInDataClass", + "cweIds": [ + 682 + ] + }, + { + "id": "CanBeVal", + "cweIds": [ + 398, + 563 + ] + }, + { + "id": "CascadeIf", + "cweIds": [ + 398, + 710 + ] + }, + { + "id": "ControlFlowWithEmptyBody", + "cweIds": [ + 561 + ] + }, + { + "id": "EqualsOrHashCode", + "cweIds": [ + 480, + 665 + ] + }, + { + "id": "FoldInitializerAndIfToElvis", + "cweIds": [ + 563 + ] + }, + { + "id": "JavaIoSerializableObjectMustHaveReadResolve", + "cweIds": [ + 502 + ] + }, + { + "id": "KotlinCatchMayIgnoreException", + "cweIds": [ + 388 + ] + }, + { + "id": "KotlinConstantConditions", + "cweIds": [ + 398, + 489, + 561, + 571, + 670, + 691 + ] + }, + { + "id": "KotlinThrowableNotThrown", + "cweIds": [ + 390, + 563, + 570, + 571 + ] + }, + { + "id": "LeakingThis", + "cweIds": [ + 489 + ] + }, + { + "id": "NullChecksToSafeCall", + "cweIds": [ + 476 + ] + }, + { + "id": "RedundantNullableReturnType", + "cweIds": [ + 489 + ] + }, + { + "id": "RedundantWith", + "cweIds": [ + 398, + 710 + ] + }, + { + "id": "RemoveRedundantQualifierName", + "cweIds": [ + 398, + 710 + ] + }, + { + "id": "ReplaceReadLineWithReadln", + "cweIds": [ + 398 + ] + }, + { + "id": "ReplaceSizeCheckWithIsNotEmpty", + "cweIds": [ + 398 + ] + }, + { + "id": "SuspiciousEqualsCombination", + "cweIds": [ + 398, + 697 + ] + }, + { + "id": "UnusedLambdaExpressionBody", + "cweIds": [ + 561, + 563 + ] + }, + { + "id": "UnusedUnaryOperator", + "cweIds": [ + 682 + ] + }, + { + "id": "UseWithIndex", + "cweIds": [ + 398, + 710 + ] + }, + { + "id": "UselessCallOnCollection", + "cweIds": [ + 398, + 710 + ] + } + ] +} \ No newline at end of file diff --git a/plugins/kotlin/i18n/resources/inspectionDescriptions/metaInformation.json b/plugins/kotlin/i18n/resources/inspectionDescriptions/metaInformation.json new file mode 100644 index 000000000000..26d48f8072c4 --- /dev/null +++ b/plugins/kotlin/i18n/resources/inspectionDescriptions/metaInformation.json @@ -0,0 +1,10 @@ +{ + "inspections": [ + { + "id": "KotlinInvalidBundleOrProperty", + "cweIds": [ + 200 + ] + } + ] +} \ No newline at end of file diff --git a/plugins/testng/resources/inspectionDescriptions/metaInformation.json b/plugins/testng/resources/inspectionDescriptions/metaInformation.json new file mode 100644 index 000000000000..5204566bd8be --- /dev/null +++ b/plugins/testng/resources/inspectionDescriptions/metaInformation.json @@ -0,0 +1,11 @@ +{ + "inspections": [ + { + "id": "MalformedDataProvider", + "cweIds": [ + 561, + 628 + ] + } + ] +} \ No newline at end of file