Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 2 | 0.994 | statement_sequence[10] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 260 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaDetailFormattersPreferencePage.java |
2 | 12 | 265 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JavaLogicalStructuresPreferencePage.java |
| ||||
fCodeViewer = new JDISourceViewer(container, null, SWT.BORDER| SWT.V_SCROLL| SWT.H_SCROLL); JavaTextTools tools = JDIDebugUIPlugin.getDefault().getJavaTextTools(); IDocument document = new Document(); tools.setupJavaDocumentPartitioner(document, IJavaPartitions.JAVA_PARTITIONING); fCodeViewer.configure(new DisplayViewerConfiguration()); fCodeViewer.setEditable(false); fCodeViewer.setDocument(document); Control control = fCodeViewer.getControl(); GridData gd = new GridData(GridData.FILL_BOTH); gd.horizontalSpan = 2; |
| ||||
fCodeViewer = new JDISourceViewer(parent, null, SWT.BORDER| SWT.V_SCROLL| SWT.H_SCROLL); JavaTextTools tools = JDIDebugUIPlugin.getDefault().getJavaTextTools(); IDocument document = new Document(); tools.setupJavaDocumentPartitioner(document, IJavaPartitions.JAVA_PARTITIONING); fCodeViewer.configure(new DisplayViewerConfiguration()); fCodeViewer.setEditable(false); fCodeViewer.setDocument(document); Control control = fCodeViewer.getControl(); GridData gd = new GridData(GridData.HORIZONTAL_ALIGN_FILL); gd.horizontalSpan = 2; |
| |||
fCodeViewer = new JDISourceViewer( [[#variableb315d360]], null, SWT.BORDER|SWT.V_SCROLL|SWT.H_SCROLL); JavaTextTools tools = JDIDebugUIPlugin.getDefault().getJavaTextTools(); IDocument document = new Document(); tools.setupJavaDocumentPartitioner(document, IJavaPartitions.JAVA_PARTITIONING); fCodeViewer.configure(new DisplayViewerConfiguration()); fCodeViewer.setEditable(false); fCodeViewer.setDocument(document); Control control = fCodeViewer.getControl(); GridData gd = new GridData(GridData. [[#variable56fe6260]]); gd.horizontalSpan = 2; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b315d360]] | parent |
1 | 2 | [[#b315d360]] | container |
2 | 1 | [[#56fe6260]] | HORIZONTAL_ALIGN_FILL |
2 | 2 | [[#56fe6260]] | FILL_BOTH |