File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/visualizers/MailerVisualizer.java | File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/visualizers/MailerVisualizer.java | |||
Method name: void initGui()
|
Method name: void initGui()
|
|||
Number of AST nodes: 6 | Number of AST nodes: 6 | |||
1 | smtpHostField.setEditable(true);↵ | 1 | failureLimitField.setEditable(true);↵ | |
2 | c.gridwidth = GridBagConstraints.REMAINDER;↵ | 2 | c.gridwidth = GridBagConstraints.REMAINDER;↵ | |
3 | g.setConstraints(smtpHostField, c);↵ | 3 | g.setConstraints(failureLimitField, c);↵ | |
4 | mailerPanel.add(smtpHostField);↵ | 4 | mailerPanel.add(failureLimitField);↵ | |
5 | c.gridwidth = 1;↵ | 5 | c.gridwidth = 1;↵ | |
6 | mailerPanel.add(new JLabel("Failure Subject:")); | 6 | mailerPanel.add(new JLabel("Success Limit:")); | |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 1 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in the same method |
Number of node comparisons | 36 |
Number of mapped statements | 6 |
Number of unmapped statements in the first code fragment | 0 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
32 | smtpHostField.setEditable(true); |
| 53 | failureLimitField.setEditable(true); | ||||||||||
33 | c.gridwidth = GridBagConstraints.REMAINDER; | 54 | c.gridwidth = GridBagConstraints.REMAINDER; | |||||||||||
34 | g.setConstraints(smtpHostField, c); |
| 55 | g.setConstraints(failureLimitField, c); | ||||||||||
35 | mailerPanel.add(smtpHostField); |
| 56 | mailerPanel.add(failureLimitField); | ||||||||||
36 | c.gridwidth = 1; | 57 | c.gridwidth = 1; | |||||||||||
37 | mailerPanel.add(new JLabel("Failure Subject:")); |
| 58 | mailerPanel.add(new JLabel("Success Limit:")); |
Row | Violation |
---|