Row |
Violation |
1 | Type javax.jms.QueueSession of variable session does not match with type javax.jms.TopicConnectionFactory of variable factory |
2 | Expression e.getLocalizedMessage() cannot be parameterized, because it has dependencies to/from statements that will be extracted |
3 | Expression e.getMessage() cannot be parameterized, because it has dependencies to/from statements that will be extracted |
4 | Expression LOGGER.info(e.getLocalizedMessage()) cannot be parameterized, because it has dependencies to/from statements that will be extracted |
5 | Expression log.error(e.getMessage()) cannot be parameterized, because it has dependencies to/from statements that will be extracted |
6 | Expression LOGGER.info(e.getLocalizedMessage()) is a void method call, and thus it cannot be parameterized |
7 | Expression log.error(e.getMessage()) is a void method call, and thus it cannot be parameterized |
8 | Unmatched statement return factory.createTopicConnection(); cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted |
9 | Unmatched statement return factory.createTopicConnection(); 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 |
10 | Unmatched return factory.createTopicConnection(); |
11 | Unmatched statement session.close(); cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted |
12 | Unmatched statement session.close(); 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 |
13 | The refactoring of the clones is infeasible, because classes org.apache.jmeter.protocol.jms.sampler.JMSSampler and org.apache.jmeter.protocol.jms.client.ConnectionFactory do not have a common superclass |