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 | failureLimitField.setEditable(true);↵ | 1 | failureSubjectField.setEditable(true);↵ | |
2 | c.gridwidth = GridBagConstraints.REMAINDER;↵ | 2 | c.gridwidth = GridBagConstraints.REMAINDER;↵ | |
3 | g.setConstraints(failureLimitField, c);↵ | 3 | g.setConstraints(failureSubjectField, c);↵ | |
4 | mailerPanel.add(failureLimitField);↵ | 4 | mailerPanel.add(failureSubjectField);↵ | |
5 | c.gridwidth = 1;↵ | 5 | c.gridwidth = 1;↵ | |
6 | mailerPanel.add(new JLabel("Success Limit:")); | 6 | mailerPanel.add(new JLabel("Success Subject:")); | |
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
53 | failureLimitField.setEditable(true); |
| 39 | failureSubjectField.setEditable(true); | ||||||||||
54 | c.gridwidth = GridBagConstraints.REMAINDER; | 40 | c.gridwidth = GridBagConstraints.REMAINDER; | |||||||||||
55 | g.setConstraints(failureLimitField, c); |
| 41 | g.setConstraints(failureSubjectField, c); | ||||||||||
56 | mailerPanel.add(failureLimitField); |
| 42 | mailerPanel.add(failureSubjectField); | ||||||||||
57 | c.gridwidth = 1; | 43 | c.gridwidth = 1; | |||||||||||
58 | mailerPanel.add(new JLabel("Success Limit:")); |
| 44 | mailerPanel.add(new JLabel("Success Subject:")); |
Row | Violation |
---|