mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 11:53:49 +07:00
[qodana] QD-7190 Add metaInformation with CWE ids for inspections in qodana recommended for jvm
GitOrigin-RevId: e396b50fd419043446474fe0bccb39c501636730
This commit is contained in:
committed by
intellij-monorepo-bot
parent
85b00ab231
commit
c0cf5b8817
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"inspections": [
|
||||||
|
{
|
||||||
|
"id": "RegExpRepeatedSpace",
|
||||||
|
"cweIds": [
|
||||||
|
625
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,12 +1,800 @@
|
|||||||
{
|
{
|
||||||
"inspections" : [
|
"inspections": [
|
||||||
{
|
{
|
||||||
"id" : "ConstantValue",
|
"id": "AccessStaticViaInstance",
|
||||||
"cweIds": [570, 571]
|
"cweIds": [
|
||||||
|
398
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : "NullableProblems",
|
"id": "AssertWithSideEffects",
|
||||||
"cweIds": [476]
|
"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
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -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
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"inspections": [
|
||||||
|
{
|
||||||
|
"id": "InjectedReferences",
|
||||||
|
"cweIds": [
|
||||||
|
73
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -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
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"inspections": [
|
||||||
|
{
|
||||||
|
"id": "KotlinInvalidBundleOrProperty",
|
||||||
|
"cweIds": [
|
||||||
|
200
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"inspections": [
|
||||||
|
{
|
||||||
|
"id": "MalformedDataProvider",
|
||||||
|
"cweIds": [
|
||||||
|
561,
|
||||||
|
628
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user