Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 2 | 6 | 0.973 | statement_sequence[11] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 168 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesFileSourceViewerConfiguration.java |
2 | 14 | 355 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java |
| ||||
PresentationReconciler reconciler = new JavaPresentationReconciler(); reconciler.setDocumentPartitioning(getConfiguredDocumentPartitioning(sourceViewer)); DefaultDamagerRepairer dr = new DefaultDamagerRepairer(getPropertyKeyScanner()); reconciler.setDamager(dr, IDocument.DEFAULT_CONTENT_TYPE); reconciler.setRepairer(dr, IDocument.DEFAULT_CONTENT_TYPE); dr = new DefaultDamagerRepairer(getCommentScanner()); reconciler.setDamager(dr, IPropertiesFilePartitions.COMMENT); reconciler.setRepairer(dr, IPropertiesFilePartitions.COMMENT); dr = new DefaultDamagerRepairer(getPropertyValueScanner()); reconciler.setDamager(dr, IPropertiesFilePartitions.PROPERTY_VALUE); reconciler.setRepairer(dr, IPropertiesFilePartitions.PROPERTY_VALUE); |
| ||||
PresentationReconciler reconciler = new JavaPresentationReconciler(); reconciler.setDocumentPartitioning(getConfiguredDocumentPartitioning(sourceViewer)); DefaultDamagerRepairer dr = new DefaultDamagerRepairer(getCodeScanner()); reconciler.setDamager(dr, IDocument.DEFAULT_CONTENT_TYPE); reconciler.setRepairer(dr, IDocument.DEFAULT_CONTENT_TYPE); dr = new DefaultDamagerRepairer(getJavaDocScanner()); reconciler.setDamager(dr, IJavaPartitions.JAVA_DOC); reconciler.setRepairer(dr, IJavaPartitions.JAVA_DOC); dr = new DefaultDamagerRepairer(getMultilineCommentScanner()); reconciler.setDamager(dr, IJavaPartitions.JAVA_MULTI_LINE_COMMENT); reconciler.setRepairer(dr, IJavaPartitions.JAVA_MULTI_LINE_COMMENT); |
| |||
PresentationReconciler reconciler = new JavaPresentationReconciler(); reconciler.setDocumentPartitioning(getConfiguredDocumentPartitioning(sourceViewer)); DefaultDamagerRepairer dr = new DefaultDamagerRepairer( [[#variable603be1e0]]()); reconciler.setDamager(dr, IDocument.DEFAULT_CONTENT_TYPE); reconciler.setRepairer(dr, IDocument.DEFAULT_CONTENT_TYPE); dr = new DefaultDamagerRepairer( [[#variableb67f94c0]]()); reconciler.setDamager(dr, [[#variable59614d80]]. [[#variable961889c0]]); reconciler.setRepairer(dr, [[#variable59614d80]]. [[#variable961889c0]]); dr = new DefaultDamagerRepairer( [[#variable59614180]]()); reconciler.setDamager(dr, [[#variable59614d80]]. [[#variableba7e5880]]); reconciler.setRepairer(dr, [[#variable59614d80]]. [[#variableba7e5880]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#603be1e0]] | getCodeScanner |
1 | 2 | [[#603be1e0]] | getPropertyKeyScanner |
2 | 1 | [[#b67f94c0]] | getJavaDocScanner |
2 | 2 | [[#b67f94c0]] | getCommentScanner |
3 | 1 | [[#59614d80]] | IJavaPartitions |
3 | 2 | [[#59614d80]] | IPropertiesFilePartitions |
4 | 1 | [[#961889c0]] | JAVA_DOC |
4 | 2 | [[#961889c0]] | COMMENT |
5 | 1 | [[#59614180]] | getMultilineCommentScanner |
5 | 2 | [[#59614180]] | getPropertyValueScanner |
6 | 1 | [[#ba7e5880]] | JAVA_MULTI_LINE_COMMENT |
6 | 2 | [[#ba7e5880]] | PROPERTY_VALUE |