Row |
Violation |
1 | Expression assertClassAssignability(inv.getCause().getClass(),DuplicateMappingException.class) cannot be parameterized, because it has dependencies to/from statements that will be extracted |
2 | Expression assertTrue(!(inv.getCause() instanceof MappingNotFoundException)) cannot be parameterized, because it has dependencies to/from statements that will be extracted |
3 | Expression assertClassAssignability(inv.getCause().getClass(),DuplicateMappingException.class) is a void method call, and thus it cannot be parameterized |
4 | Expression assertTrue(!(inv.getCause() instanceof MappingNotFoundException)) is a void method call, and thus it cannot be parameterized |
5 | Expression assertClassAssignability(inv.getCause().getClass(),DuplicateMappingException.class) cannot be parameterized, because it has dependencies to/from statements that will be extracted |
6 | Expression assertTrue(!(inv.getCause() instanceof MappingNotFoundException)) cannot be parameterized, because it has dependencies to/from statements that will be extracted |
7 | Expression assertClassAssignability(inv.getCause().getClass(),DuplicateMappingException.class) is a void method call, and thus it cannot be parameterized |
8 | Expression assertTrue(!(inv.getCause() instanceof MappingNotFoundException)) is a void method call, and thus it cannot be parameterized |
9 | Unmatched statement cfg.addResource(resourceName); cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted |
10 | Unmatched statement cfg.addResource(resourceName); cannot be moved before or after the extracted code, because it throws exception(s) that should be caught by a try block that will be extracted |
11 | Unmatched statement cfg.addFile(file); cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted |
12 | Unmatched statement cfg.addFile(file); cannot be moved before or after the extracted code, because it throws exception(s) that should be caught by a try block that will be extracted |