Skip to content

Introduce TestNG to JUnit migration module [DRAFT] #2888

Introduce TestNG to JUnit migration module [DRAFT]

Introduce TestNG to JUnit migration module [DRAFT] #2888

Triggered via pull request June 19, 2024 09:52
Status Success
Total duration 4m 4s
Artifacts

codeql.yml

on: pull_request
Matrix: analyze
Fit to window
Zoom out
Zoom in

Annotations

19 warnings
A change can be made to line 177 without causing a test to fail: testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/DataProviderMigrator.java#L177
removed conditional - replaced equality check with true (covered by 2 tests RemoveConditionalMutator_EQUAL_IF)
A change can be made to line 92 without causing a test to fail: testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/DataProviderMigrator.java#L92
removed conditional - replaced equality check with false (covered by 3 tests RemoveConditionalMutator_EQUAL_ELSE)
A change can be made to line 43 without causing a test to fail: testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/GroupsAttributeMigrator.java#L43
removed conditional - replaced equality check with true (covered by 1 tests RemoveConditionalMutator_EQUAL_IF)
A change can be made to line 27 without causing a test to fail: testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/GroupsAttributeMigrator.java#L27
removed conditional - replaced equality check with false (covered by 1 tests RemoveConditionalMutator_EQUAL_ELSE)
A change can be made to a lambda on line 106 without causing a test to fail: testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/TestNGScanner.java#L106
removed call to filter in 3rd lambda in getTestNgAnnotation (covered by 4 tests RemoveFilterMutator)
A change can be made to line 72 without causing a test to fail: testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/TestNGScanner.java#L72
replaced return value with null for visitMethod (covered by 3 tests NullReturnValsMutator)
A change can be made to line 87 without causing a test to fail: testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/TestNGScanner.java#L87
replaced return value with null for visitMethod (covered by 7 tests NullReturnValsMutator)
A change can be made to line 65 without causing a test to fail: testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/TestNGScanner.java#L65
replaced return value with null for visitMethod (covered by 8 tests NullReturnValsMutator)
A change can be made to line 78 without causing a test to fail: testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/TestNGScanner.java#L78
replaced return value with null for visitMethod (covered by 2 tests NullReturnValsMutator)
A change can be made to line 64 without causing a test to fail: testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/ExpectedExceptionsAttributeMigrator.java#L64
removed conditional - replaced equality check with true (covered by 1 tests RemoveConditionalMutator_EQUAL_IF)
A change can be made to line 90 without causing a test to fail: testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/TestNGJUnitMigration.java#L90
replaced return value with null for visitClass (no tests cover this line NullReturnValsMutator)
A change can be made to line 89 without causing a test to fail: testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/TestNGJUnitMigration.java#L89
removed conditional - replaced equality check with false (covered by 3 tests RemoveConditionalMutator_EQUAL_ELSE)
A change can be made to a lambda on line 37 without causing a test to fail: testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/SetupTeardownMethodMigrator.java#L37
removed conditional - replaced equality check with true in 1st lambda in createFix (covered by 1 tests RemoveConditionalMutator_EQUAL_IF)
A change can be made to line 25 without causing a test to fail: testng-junit-migrator/src/main/java/tech/picnic/errorprone/testngjunit/DataProviderAttributeMigrator.java#L25
removed conditional - replaced equality check with false (covered by 3 tests RemoveConditionalMutator_EQUAL_ELSE)
A change can be made to line 25 without causing a test to fail: testng-junit-migrator/src/main/java/tech/picnic/errorprone/util/SourceCode.java#L25
removed conditional - replaced equality check with true (covered by 3 tests RemoveConditionalMutator_EQUAL_IF)