Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed up Refaster bug checker #261

Draft
wants to merge 59 commits into
base: master
Choose a base branch
from

Post-merge-fix

8d99611
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Draft

Speed up Refaster bug checker #261

Post-merge-fix
8d99611
Select commit
Loading
Failed to load commit list.
GitHub Actions / pitest completed Dec 24, 2024 in 1s

Pitest mutation testing feedback

  • Surviving mutants in this change: 62
  • Killed mutants in this change: 52
class surviving killed
🧟tech.picnic.errorprone.refaster.runner.RefasterRuleSelector$TemplateIdentifierExtractor 25 2
🧟tech.picnic.errorprone.refaster.runner.RefasterRuleSelector 13 17
🧟tech.picnic.errorprone.refaster.runner.RefasterRuleSelector$SourceIdentifierExtractor 11 1
🧟tech.picnic.errorprone.refaster.runner.RefasterRuleSelector$RefasterIntrospection 6 4
🧟tech.picnic.errorprone.refaster.runner.Node 3 17
🧟tech.picnic.errorprone.refaster.runner.Node$Builder 2 9
🧟tech.picnic.errorprone.refaster.runner.Refaster 1 2
🧟tech.picnic.errorprone.refaster.AnnotatedCompositeCodeTransformer 1 0

Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

Annotations

Check warning on line 83 in refaster-support/src/main/java/tech/picnic/errorprone/refaster/AnnotatedCompositeCodeTransformer.java

See this annotation in the file changed.

@github-actions github-actions / pitest

A change can be made to line 83 without causing a test to fail

replaced return value with null for withTransformers (no tests cover this line NullReturnValsMutator)

Check warning on line 172 in refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/RefasterRuleSelector.java

See this annotation in the file changed.

@github-actions github-actions / pitest

A change can be made to line 172 without causing a test to fail

removed last varargs argument in call to format (no tests cover this line VarargsMutator)

Check warning on line 147 in refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/RefasterRuleSelector.java

See this annotation in the file changed.

@github-actions github-actions / pitest

2 different changes can be made to line 147 without causing a test to fail

removed conditional - replaced equality check with false (covered by 19 tests RemoveConditionalMutator_EQUAL_ELSE)
removed conditional - replaced equality check with true (covered by 19 tests RemoveConditionalMutator_EQUAL_IF)

Check warning on line 145 in refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/RefasterRuleSelector.java

See this annotation in the file changed.

@github-actions github-actions / pitest

A change can be made to line 145 without causing a test to fail

removed call to withTransformers (covered by 19 tests RemoveChainedCallsMutator)

Check warning on line 203 in refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/RefasterRuleSelector.java

See this annotation in the file changed.

@github-actions github-actions / pitest

A change can be made to line 203 without causing a test to fail

replaced return value with "" for treeKindToString (covered by 19 tests EmptyObjectReturnValsMutator)

Check warning on line 163 in refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/RefasterRuleSelector.java

See this annotation in the file changed.

@github-actions github-actions / pitest

A change can be made to line 163 without causing a test to fail

removed conditional - replaced equality check with true (covered by 19 tests RemoveConditionalMutator_EQUAL_IF)

Check warning on line 140 in refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/RefasterRuleSelector.java

See this annotation in the file changed.

@github-actions github-actions / pitest

A change can be made to line 140 without causing a test to fail

removed conditional - replaced equality check with false (covered by 19 tests RemoveConditionalMutator_EQUAL_ELSE)

Check warning on line 138 in refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/RefasterRuleSelector.java

See this annotation in the file changed.

@github-actions github-actions / pitest

A change can be made to line 138 without causing a test to fail

removed call to collectRuleIdentifiers (no tests cover this line VoidMethodCallMutator)

Check warning on line 166 in refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/RefasterRuleSelector.java

See this annotation in the file changed.

@github-actions github-actions / pitest

2 different changes can be made to line 166 without causing a test to fail

removed conditional - replaced equality check with false (no tests cover this line RemoveConditionalMutator_EQUAL_ELSE)
removed conditional - replaced equality check with true (no tests cover this line RemoveConditionalMutator_EQUAL_IF)

Check warning on line 137 in refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/RefasterRuleSelector.java

See this annotation in the file changed.

@github-actions github-actions / pitest

2 different changes can be made to line 137 without causing a test to fail

removed conditional - replaced equality check with false (no tests cover this line RemoveConditionalMutator_EQUAL_ELSE)
removed conditional - replaced equality check with true (no tests cover this line RemoveConditionalMutator_EQUAL_IF)

Check warning on line 135 in refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/RefasterRuleSelector.java

See this annotation in the file changed.

@github-actions github-actions / pitest

A change can be made to line 135 without causing a test to fail

removed conditional - replaced equality check with false (covered by 19 tests RemoveConditionalMutator_EQUAL_ELSE)

Check warning on line 424 in refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/RefasterRuleSelector.java

See this annotation in the file changed.

@github-actions github-actions / pitest

A change can be made to line 424 without causing a test to fail

replaced return value with Collections.emptyList for copy (no tests cover this line EmptyObjectReturnValsMutator)

Check warning on line 371 in refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/RefasterRuleSelector.java

See this annotation in the file changed.

@github-actions github-actions / pitest

A change can be made to line 371 without causing a test to fail

removed call to java/util/List::forEach (covered by 19 tests VoidMethodCallMutator)

Check warning on line 331 in refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/RefasterRuleSelector.java

See this annotation in the file changed.

@github-actions github-actions / pitest

A change can be made to line 331 without causing a test to fail

removed conditional - replaced equality check with false (covered by 19 tests RemoveConditionalMutator_EQUAL_ELSE)

Check warning on line 385 in refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/RefasterRuleSelector.java

See this annotation in the file changed.

@github-actions github-actions / pitest

A change can be made to line 385 without causing a test to fail

removed call to registerOperator (no tests cover this line VoidMethodCallMutator)

Check warning on line 386 in refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/RefasterRuleSelector.java

See this annotation in the file changed.

@github-actions github-actions / pitest

A change can be made to line 386 without causing a test to fail

replaced return value with null for visitCompoundAssignment (no tests cover this line NullReturnValsMutator)

Check warning on line 411 in refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/RefasterRuleSelector.java

See this annotation in the file changed.

@github-actions github-actions / pitest

A change can be made to line 411 without causing a test to fail

removed call to java/util/List::clear (no tests cover this line VoidMethodCallMutator)

Check warning on line 392 in refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/RefasterRuleSelector.java

See this annotation in the file changed.

@github-actions github-actions / pitest

A change can be made to line 392 without causing a test to fail

replaced return value with null for visitUnary (no tests cover this line NullReturnValsMutator)

Check warning on line 391 in refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/RefasterRuleSelector.java

See this annotation in the file changed.

@github-actions github-actions / pitest

A change can be made to line 391 without causing a test to fail

removed call to registerOperator (no tests cover this line VoidMethodCallMutator)

Check warning on line 413 in refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/RefasterRuleSelector.java

See this annotation in the file changed.

@github-actions github-actions / pitest

2 different changes can be made to line 413 without causing a test to fail

removed conditional - replaced equality check with false (no tests cover this line RemoveConditionalMutator_EQUAL_ELSE)
removed conditional - replaced equality check with true (no tests cover this line RemoveConditionalMutator_EQUAL_IF)

Check warning on line 336 in refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/RefasterRuleSelector.java

See this annotation in the file changed.

@github-actions github-actions / pitest

A change can be made to line 336 without causing a test to fail

removed conditional - replaced equality check with false (covered by 19 tests RemoveConditionalMutator_EQUAL_ELSE)

Check warning on line 349 in refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/RefasterRuleSelector.java

See this annotation in the file changed.

@github-actions github-actions / pitest

A change can be made to line 349 without causing a test to fail

replaced return value with "" for getIdentifier (no tests cover this line EmptyObjectReturnValsMutator)

Check warning on line 379 in refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/RefasterRuleSelector.java

See this annotation in the file changed.

@github-actions github-actions / pitest

A change can be made to line 379 without causing a test to fail

replaced return value with null for visitAssignment (no tests cover this line NullReturnValsMutator)

Check warning on line 409 in refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/RefasterRuleSelector.java

See this annotation in the file changed.

@github-actions github-actions / pitest

2 different changes can be made to line 409 without causing a test to fail

removed conditional - replaced equality check with false (no tests cover this line RemoveConditionalMutator_EQUAL_ELSE)
removed conditional - replaced equality check with true (no tests cover this line RemoveConditionalMutator_EQUAL_IF)

Check warning on line 398 in refaster-runner/src/main/java/tech/picnic/errorprone/refaster/runner/RefasterRuleSelector.java

See this annotation in the file changed.

@github-actions github-actions / pitest

A change can be made to line 398 without causing a test to fail

replaced return value with null for visitBinary (covered by 19 tests NullReturnValsMutator)