File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/assertions/gui/BeanShellAssertionGui.java | File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/java/control/gui/BeanShellSamplerGui.java | |||
Method name: void init()
|
Method name: void init()
|
|||
Number of AST nodes: 11 | Number of AST nodes: 11 | |||
1 | setLayout(new BorderLayout(0, 5));↵ | 1 | setLayout(new BorderLayout(0, 5));↵ | |
2 | setBorder(makeBorder());↵ | 2 | setBorder(makeBorder());↵ | |
3 | Box box = Box.createVerticalBox();↵ | 3 | Box box = Box.createVerticalBox();↵ | |
4 | box.add(makeTitlePanel());↵ | 4 | box.add(makeTitlePanel());↵ | |
5 | box.add(createResetPanel());↵ | 5 | box.add(createResetPanel());↵ | |
6 | box.add(createParameterPanel());↵ | 6 | box.add(createParameterPanel());↵ | |
7 | box.add(createFilenamePanel());↵ | 7 | box.add(createFilenamePanel());↵ | |
8 | add(box, BorderLayout.NORTH);↵ | 8 | add(box, BorderLayout.NORTH);↵ | |
9 | JPanel panel = createScriptPanel();↵ | 9 | JPanel panel = createScriptPanel();↵ | |
10 | add(panel, BorderLayout.CENTER);↵ | 10 | add(panel, BorderLayout.CENTER);↵ | |
11 | // Don't let the input field shrink too much↵ | 11 | // Don't let the input field shrink too much↵ | |
12 | add(Box.createVerticalStrut(panel.getPreferredSize().height), BorderLayout.WEST); | 12 |
| |
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 different classes having the same super class |
Number of node comparisons | 55 |
Number of mapped statements | 11 |
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 1 |
ID | Statement | ID | Statement | |
---|---|---|---|---|
1 | setLayout(new BorderLayout(0, 5)); | 1 | setLayout(new BorderLayout(0, 5)); | |
2 | setBorder(makeBorder()); | 2 | setBorder(makeBorder()); | |
3 | Box box = Box.createVerticalBox(); | 3 | Box box = Box.createVerticalBox(); | |
4 | box.add(makeTitlePanel()); | 4 | box.add(makeTitlePanel()); | |
5 | box.add(createResetPanel()); | 5 | box.add(createResetPanel()); | |
6 | box.add(createParameterPanel()); | 6 | box.add(createParameterPanel()); | |
7 | box.add(createFilenamePanel()); | 7 | box.add(createFilenamePanel()); | |
8 | add(box, BorderLayout.NORTH); | 8 | add(box, BorderLayout.NORTH); | |
9 | JPanel panel = createScriptPanel(); | 9 | JPanel panel = createScriptPanel(); | |
10 | add(panel, BorderLayout.CENTER); | 10 | add(panel, BorderLayout.CENTER); | |
11 | add(Box.createVerticalStrut(panel.getPreferredSize().height), BorderLayout.WEST); | 11 | add(Box.createVerticalStrut(panel.getPreferredSize().height), BorderLayout.WEST); |
Row | Violation |
---|