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 58 commits into
base: master
Choose a base branch
from

Merge branch 'master' into sschroevers/refaster-speed-up

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

Speed up Refaster bug checker #261

Merge branch 'master' into sschroevers/refaster-speed-up
77bc107
Select commit
Loading
Failed to load commit list.
GitHub Actions / pitest completed Dec 26, 2023 in 1s

Pitest mutation testing feedback

  • Surviving mutants in this change: 100
  • Killed mutants in this change: 52
class surviving killed
🧟tech.picnic.errorprone.refaster.runner.RefasterRuleSelector 51 17
🧟tech.picnic.errorprone.refaster.runner.RefasterRuleSelector$TemplateIdentifierExtractor 25 2
🧟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 237 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 237 without causing a test to fail

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

Check warning on line 239 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 239 without causing a test to fail

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

Check warning on line 233 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 233 without causing a test to fail

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

Check warning on line 235 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 235 without causing a test to fail

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

Check warning on line 229 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 229 without causing a test to fail

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

Check warning on line 231 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 231 without causing a test to fail

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

Check warning on line 225 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 225 without causing a test to fail

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

Check warning on line 227 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 227 without causing a test to fail

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

Check warning on line 253 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 253 without causing a test to fail

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

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 255 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 255 without causing a test to fail

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

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 249 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 249 without causing a test to fail

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

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 251 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 251 without causing a test to fail

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

Check warning on line 245 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 245 without causing a test to fail

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

Check warning on line 247 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 247 without causing a test to fail

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

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 241 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 241 without causing a test to fail

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

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 243 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 243 without causing a test to fail

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

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 269 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 269 without causing a test to fail

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

Check warning on line 205 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 205 without causing a test to fail

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