CloneSet27


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
37220.995class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
137118
E:/TSE/Projects-CloneDR/jakarta-jmeter-2.3.2/src/org/apache/jmeter/assertions/gui/BeanShellAssertionGui.java
237131
E:/TSE/Projects-CloneDR/jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/java/control/gui/BeanShellSamplerGui.java
Next
Last
Clone Instance
1
Line Count
37
Source Line
118
Source File
E:/TSE/Projects-CloneDR/jakarta-jmeter-2.3.2/src/org/apache/jmeter/assertions/gui/BeanShellAssertionGui.java

private void init() {
  setLayout(new BorderLayout(0, 5));
  setBorder(makeBorder());
  Box box = Box.createVerticalBox();
  box.add(makeTitlePanel());
  box.add(createResetPanel());
  box.add(createParameterPanel());
  box.add(createFilenamePanel());
  add(box, BorderLayout.NORTH);
  JPanel panel = createScriptPanel();
  add(panel, BorderLayout.CENTER);
  // Don't let the input field shrink too much
  add(Box.createVerticalStrut(panel.getPreferredSize().height), BorderLayout.WEST);
}

private JPanel createScriptPanel() {
  scriptField = new JTextArea();
  scriptField.setRows(4);
  scriptField.setLineWrap(true);
  scriptField.setWrapStyleWord(true);
  JLabel label = new JLabel(JMeterUtils.getResString("bsh_assertion_script")); //$NON-NLS-1$
  label.setLabelFor(scriptField);
  JPanel panel = new JPanel(new BorderLayout());
  panel.add(label, BorderLayout.NORTH);
  panel.add(new JScrollPane(scriptField), BorderLayout.CENTER);
  JTextArea explain = new JTextArea(JMeterUtils.getResString("bsh_assertion_script_variables")); //$NON-NLS-1$
  explain.setLineWrap(true);
  explain.setEditable(false);
  explain.setBackground(this.getBackground());
  panel.add(explain, BorderLayout.SOUTH);
  return panel;
}


First
Previous
Clone Instance
2
Line Count
37
Source Line
131
Source File
E:/TSE/Projects-CloneDR/jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/java/control/gui/BeanShellSamplerGui.java

private void init() {
  setLayout(new BorderLayout(0, 5));
  setBorder(makeBorder());
  Box box = Box.createVerticalBox();
  box.add(makeTitlePanel());
  box.add(createResetPanel());
  box.add(createParameterPanel());
  box.add(createFilenamePanel());
  add(box, BorderLayout.NORTH);
  JPanel panel = createScriptPanel();
  add(panel, BorderLayout.CENTER);
  // Don't let the input field shrink too much
  add(Box.createVerticalStrut(panel.getPreferredSize().height), BorderLayout.WEST);
}

private JPanel createScriptPanel() {
  scriptField = new JTextArea();
  scriptField.setRows(4);
  scriptField.setLineWrap(true);
  scriptField.setWrapStyleWord(true);
  JLabel label = new JLabel(JMeterUtils.getResString("bsh_script")); // $NON-NLS-1$
  label.setLabelFor(scriptField);
  JPanel panel = new JPanel(new BorderLayout());
  panel.add(label, BorderLayout.NORTH);
  panel.add(new JScrollPane(scriptField), BorderLayout.CENTER);
  JTextArea explain = new JTextArea(JMeterUtils.getResString("bsh_script_variables")); //$NON-NLS-1$
  explain.setLineWrap(true);
  explain.setEditable(false);
  explain.setBackground(this.getBackground());
  panel.add(explain, BorderLayout.SOUTH);
  return panel;
}


Clone AbstractionParameter Count: 2Parameter Bindings

private void init() {
  setLayout(new BorderLayout(0, 5));
  setBorder(makeBorder());
  Box box = Box.createVerticalBox();
  box.add(makeTitlePanel());
  box.add(createResetPanel());
  box.add(createParameterPanel());
  box.add(createFilenamePanel());
  add(box, BorderLayout.NORTH);
  JPanel panel = createScriptPanel();
  add(panel, BorderLayout.CENTER);
  // Don't let the input field shrink too much
  add(Box.createVerticalStrut(panel.getPreferredSize().height), BorderLayout.WEST);
}

private JPanel createScriptPanel() {
  scriptField = new JTextArea();
  scriptField.setRows(4);
  scriptField.setLineWrap(true);
  scriptField.setWrapStyleWord(true);
  JLabel label = new JLabel(JMeterUtils.getResString( [[#variabledfc12e0]])); // $NON-NLS-1$ //$NON-NLS-1$
  label.setLabelFor(scriptField);
  JPanel panel = new JPanel(new BorderLayout());
  panel.add(label, BorderLayout.NORTH);
  panel.add(new JScrollPane(scriptField), BorderLayout.CENTER);
  JTextArea explain = new JTextArea(JMeterUtils.getResString( [[#variabledfbc0c0]])); //$NON-NLS-1$
  explain.setLineWrap(true);
  explain.setEditable(false);
  explain.setBackground(this.getBackground());
  panel.add(explain, BorderLayout.SOUTH);
  return panel;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#dfc12e0]]
"bsh_assertion_script" 
12[[#dfc12e0]]
"bsh_script" 
21[[#dfbc0c0]]
"bsh_assertion_script_variables" 
22[[#dfbc0c0]]
"bsh_script_variables"