diff --git a/.ci/pitest-suppressions/pitest-coding-require-this-check-suppressions.xml b/.ci/pitest-suppressions/pitest-coding-require-this-check-suppressions.xml index 53f76e8c6a7..654d074b208 100644 --- a/.ci/pitest-suppressions/pitest-coding-require-this-check-suppressions.xml +++ b/.ci/pitest-suppressions/pitest-coding-require-this-check-suppressions.xml @@ -8,4 +8,139 @@ removed conditional - replaced equality check with true if (variableDeclarationFrame.getType() == FrameType.CLASS_FRAME) { + + + RequireThisCheck.java + com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck + collectDeclarations + org.pitest.mutationtest.engine.gregor.mutators.experimental.NakedReceiverMutator + replaced call to com/puppycrawl/tools/checkstyle/api/DetailAST::getFirstChild with receiver + ast.getFirstChild().toString())); + + + + RequireThisCheck.java + com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck + endCollectingDeclarations + org.pitest.mutationtest.engine.gregor.mutators.NonVoidMethodCallMutator + removed call to java/util/Map::put + frames.put(ast, frameStack.poll()); + + + + RequireThisCheck.java + com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck + endCollectingDeclarations + org.pitest.mutationtest.engine.gregor.mutators.experimental.ArgumentPropagationMutator + replaced call to java/util/Map::put with argument + frames.put(ast, frameStack.poll()); + + + + RequireThisCheck.java + com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck + getCodeBlockDefinitionToken + org.pitest.mutationtest.engine.gregor.mutators.experimental.NakedReceiverMutator + replaced call to com/puppycrawl/tools/checkstyle/api/DetailAST::getParent with receiver + DetailAST parent = ident.getParent(); + + + + RequireThisCheck.java + com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck + isInCompactConstructor + org.pitest.mutationtest.engine.gregor.mutators.experimental.NakedReceiverMutator + replaced call to com/puppycrawl/tools/checkstyle/api/DetailAST::getParent with receiver + DetailAST parent = ast.getParent(); + + + + RequireThisCheck.java + com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck + isLambdaParameter + org.pitest.mutationtest.engine.gregor.mutators.experimental.NakedReceiverMutator + replaced call to com/puppycrawl/tools/checkstyle/api/DetailAST::getParent with receiver + for (parent = ast.getParent(); parent != null; parent = parent.getParent()) { + + + + RequireThisCheck.java + com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck + isReturnedVariable + org.pitest.mutationtest.engine.gregor.mutators.experimental.NakedReceiverMutator + replaced call to com/puppycrawl/tools/checkstyle/api/DetailAST::findFirstToken with receiver + final DetailAST blockStartToken = definitionToken.findFirstToken(TokenTypes.SLIST); + + + + RequireThisCheck.java + com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck + leaveToken + org.pitest.mutationtest.engine.gregor.mutators.experimental.RemoveSwitchMutator_1 + RemoveSwitch 1 mutation + switch (ast.getType()) { + + + + RequireThisCheck.java + com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck + leaveToken + org.pitest.mutationtest.engine.gregor.mutators.experimental.RemoveSwitchMutator_2 + RemoveSwitch 2 mutation + switch (ast.getType()) { + + + + RequireThisCheck.java + com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck + leaveToken + org.pitest.mutationtest.engine.gregor.mutators.experimental.RemoveSwitchMutator_3 + RemoveSwitch 3 mutation + switch (ast.getType()) { + + + + RequireThisCheck.java + com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck + leaveToken + org.pitest.mutationtest.engine.gregor.mutators.experimental.RemoveSwitchMutator_4 + RemoveSwitch 4 mutation + switch (ast.getType()) { + + + + RequireThisCheck.java + com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck + leaveToken + org.pitest.mutationtest.engine.gregor.mutators.experimental.RemoveSwitchMutator_6 + RemoveSwitch 6 mutation + switch (ast.getType()) { + + + + RequireThisCheck.java + com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck + leaveToken + org.pitest.mutationtest.engine.gregor.mutators.experimental.RemoveSwitchMutator_7 + RemoveSwitch 7 mutation + switch (ast.getType()) { + + + + RequireThisCheck.java + com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck + leaveToken + org.pitest.mutationtest.engine.gregor.mutators.experimental.RemoveSwitchMutator_8 + RemoveSwitch 8 mutation + switch (ast.getType()) { + + + + RequireThisCheck.java + com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck + processIdent + org.pitest.mutationtest.engine.gregor.mutators.experimental.RemoveSwitchMutator_1 + RemoveSwitch 1 mutation + switch (parentType) { + diff --git a/pom.xml b/pom.xml index 539ed842e1b..6462da65d36 100644 --- a/pom.xml +++ b/pom.xml @@ -2795,15 +2795,33 @@ CONDITIONALS_BOUNDARY CONSTRUCTOR_CALLS - FALSE_RETURNS INCREMENTS + + INVERT_NEGS MATH NEGATE_CONDITIONALS - REMOVE_CONDITIONALS + NON_VOID_METHOD_CALLS + REMOVE_CONDITIONALS_EQUAL_ELSE + REMOVE_CONDITIONALS_EQUAL_IF + REMOVE_CONDITIONALS_ORDER_ELSE + REMOVE_CONDITIONALS_ORDER_IF RETURN_VALS - TRUE_RETURNS VOID_METHOD_CALLS + EXPERIMENTAL_ARGUMENT_PROPAGATION + EXPERIMENTAL_BIG_DECIMAL + EXPERIMENTAL_BIG_INTEGER + EXPERIMENTAL_MEMBER_VARIABLE + EXPERIMENTAL_NAKED_RECEIVER + REMOVE_INCREMENTS + EXPERIMENTAL_RETURN_VALUES_MUTATOR + EXPERIMENTAL_SWITCH + REMOVE_SWITCH + FALSE_RETURNS + TRUE_RETURNS + EMPTY_RETURNS + NULL_RETURNS + PRIMITIVE_RETURNS com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck