Skip to content

Fix Error Prone warnings and pom violation

Sign in for the full log view
GitHub Actions / pitest completed Jun 19, 2024 in 0s

Pitest mutation testing feedback

  • Surviving mutants in this change: 19
  • Killed mutants in this change: 202
class surviving killed
🧟tech.picnic.errorprone.testngjunit.TestNGScanner 5 17
🧟tech.picnic.errorprone.testngjunit.TestNGJUnitMigration$1 4 15
🧟tech.picnic.errorprone.testngjunit.DataProviderMigrator 3 32
🧟tech.picnic.errorprone.testngjunit.GroupsAttributeMigrator 2 21
🧟tech.picnic.errorprone.testngjunit.SetupTeardownMethodMigrator 2 11
🧟tech.picnic.errorprone.testngjunit.DataProviderAttributeMigrator 1 8
🧟tech.picnic.errorprone.util.SourceCode 1 2
🧟tech.picnic.errorprone.testngjunit.ExpectedExceptionsAttributeMigrator 1 20
🎉tech.picnic.errorprone.testngjunit.TestNgMetadata 0 11
🎉tech.picnic.errorprone.testngjunit.TestNgMetadata$AnnotationMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.TestNgMetadata$SetupTeardownType 0 7
🎉tech.picnic.errorprone.testngjunit.EnabledAttributeMigrator 0 7
🎉tech.picnic.errorprone.testngjunit.TimeOutAttributeMigrator 0 5
🎉tech.picnic.errorprone.testngjunit.TestAnnotationAttribute 0 4
🎉tech.picnic.errorprone.testngjunit.TestNGJUnitMigration 0 26
🎉tech.picnic.errorprone.testngjunit.DescriptionAttributeMigrator 0 4
🎉tech.picnic.errorprone.testngjunit.TestNgMetadata$DataProviderMetadata 0 1
🎉tech.picnic.errorprone.testngjunit.PriorityAttributeMigrator 0 8
🎉tech.picnic.errorprone.testngjunit.UnsupportedAttributeMigrator 0 2

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

Annotations

Check warning on line 117 in testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/DataProviderMigrator.java

See this annotation in the file changed.

@github-actions github-actions / pitest

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

removed call to filter (covered by 1 tests RemoveFilterMutator)

Check warning on line 177 in testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/DataProviderMigrator.java

See this annotation in the file changed.

@github-actions github-actions / pitest

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

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

Check warning on line 92 in testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/DataProviderMigrator.java

See this annotation in the file changed.

@github-actions github-actions / pitest

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

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

Check warning on line 43 in testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/GroupsAttributeMigrator.java

See this annotation in the file changed.

@github-actions github-actions / pitest

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

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

Check warning on line 27 in testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/GroupsAttributeMigrator.java

See this annotation in the file changed.

@github-actions github-actions / pitest

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

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

Check warning on line 106 in testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/TestNGScanner.java

See this annotation in the file changed.

@github-actions github-actions / pitest

A change can be made to a lambda on line 106 without causing a test to fail

removed call to filter in 3rd lambda in getTestNgAnnotation (covered by 4 tests RemoveFilterMutator)

Check warning on line 72 in testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/TestNGScanner.java

See this annotation in the file changed.

@github-actions github-actions / pitest

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

replaced return value with null for visitMethod (covered by 3 tests NullReturnValsMutator)

Check warning on line 87 in testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/TestNGScanner.java

See this annotation in the file changed.

@github-actions github-actions / pitest

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

replaced return value with null for visitMethod (covered by 7 tests NullReturnValsMutator)

Check warning on line 65 in testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/TestNGScanner.java

See this annotation in the file changed.

@github-actions github-actions / pitest

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

replaced return value with null for visitMethod (covered by 8 tests NullReturnValsMutator)

Check warning on line 78 in testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/TestNGScanner.java

See this annotation in the file changed.

@github-actions github-actions / pitest

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

replaced return value with null for visitMethod (covered by 2 tests NullReturnValsMutator)

Check warning on line 64 in testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/ExpectedExceptionsAttributeMigrator.java

See this annotation in the file changed.

@github-actions github-actions / pitest

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

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

Check warning on line 90 in testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/TestNGJUnitMigration.java

See this annotation in the file changed.

@github-actions github-actions / pitest

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

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

Check warning on line 89 in testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/TestNGJUnitMigration.java

See this annotation in the file changed.

@github-actions github-actions / pitest

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

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

Check warning on line 114 in testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/TestNGJUnitMigration.java

See this annotation in the file changed.

@github-actions github-actions / pitest

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

replaced return value with null for visitMethod (covered by 1 tests NullReturnValsMutator)

Check warning on line 127 in testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/TestNGJUnitMigration.java

See this annotation in the file changed.

@github-actions github-actions / pitest

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

replaced return value with null for visitMethod (covered by 3 tests NullReturnValsMutator)

Check warning on line 37 in testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/SetupTeardownMethodMigrator.java

See this annotation in the file changed.

@github-actions github-actions / pitest

A change can be made to a lambda on line 37 without causing a test to fail

removed conditional - replaced equality check with true in 1st lambda in createFix (covered by 1 tests RemoveConditionalMutator_EQUAL_IF)

Check warning on line 48 in testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/SetupTeardownMethodMigrator.java

See this annotation in the file changed.

@github-actions github-actions / pitest

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

removed call to filter (covered by 1 tests RemoveFilterMutator)

Check warning on line 25 in testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/DataProviderAttributeMigrator.java

See this annotation in the file changed.

@github-actions github-actions / pitest

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

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

Check warning on line 25 in testng-junit-migrator/src/main/java/tech/picnic/errorprone/util/SourceCode.java

See this annotation in the file changed.

@github-actions github-actions / pitest

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

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