File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/ftp/config/gui/FtpConfigGui.java | File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/tcp/config/gui/TCPConfigGui.java | |||
Method name: void init()
|
Method name: void init()
|
|||
Number of AST nodes: 9 | Number of AST nodes: 9 | |||
1 | setLayout(new BorderLayout(0, 5));↵ | 1 | setLayout(new BorderLayout(0, 5));↵ | |
2 | if (displayName) {↵ | 2 | if (displayName) {↵ | |
3 | setBorder(makeBorder());↵ | 3 | setBorder(makeBorder());↵ | |
4 | add(makeTitlePanel(), BorderLayout.NORTH);↵ | 4 | add(makeTitlePanel(), BorderLayout.NORTH);↵ | |
5 | }↵ | 5 | }↵ | |
6 | // MAIN PANEL↵ | |||
7 | VerticalPanel mainPanel = new VerticalPanel();↵ | 6 | VerticalPanel mainPanel = new VerticalPanel();↵ | |
8 | mainPanel.add(createServerPanel());↵ | 7 | mainPanel.add(createServerPanel());↵ | |
9 | mainPanel.add(createRemoteFilenamePanel());↵ | 8 | mainPanel.add(createClosePortPanel());↵ | |
10 | mainPanel.add(createLocalFilenamePanel());↵ | 9 | mainPanel.add(createPortPanel());↵ | |
11 | mainPanel.add(createLocalFileContentsPanel()); | 10 | mainPanel.add(createTimeoutPanel()); | |
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.1 |
Clones location | Clones are in different classes having the same super class |
Number of node comparisons | 35 |
Number of mapped statements | 9 |
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) | 6.7 |
Clone type | Type 2 |
ID | Statement | ID | Statement | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | setLayout(new BorderLayout(0, 5)); | 1 | setLayout(new BorderLayout(0, 5)); | |||||||||||
2 | if (displayName) | 2 | if (displayName) | |||||||||||
3 | setBorder(makeBorder()); | 3 | setBorder(makeBorder()); | |||||||||||
4 | add(makeTitlePanel(), BorderLayout.NORTH); | 4 | add(makeTitlePanel(), BorderLayout.NORTH); | |||||||||||
5 | VerticalPanel mainPanel = new VerticalPanel(); | 5 | VerticalPanel mainPanel = new VerticalPanel(); | |||||||||||
6 | mainPanel.add(createServerPanel()); | 6 | mainPanel.add(createServerPanel()); | |||||||||||
7 | mainPanel.add(createRemoteFilenamePanel()); |
| 7 | mainPanel.add(createClosePortPanel()); | ||||||||||
8 | mainPanel.add(createLocalFilenamePanel()); |
| 8 | mainPanel.add(createPortPanel()); | ||||||||||
9 | mainPanel.add(createLocalFileContentsPanel()); |
| 9 | mainPanel.add(createTimeoutPanel()); |
Row | Violation |
---|