Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 3 | 0.968 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 516 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/PromoteTempToFieldRefactoring.java |
2 | 3 | 1878 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java |
3 | 3 | 2249 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java |
| ||||
TempOccurrenceAnalyzer analyzer = new TempOccurrenceAnalyzer(fTempDeclarationNode, false); analyzer.perform(); SimpleName[] tempRefs = analyzer.getReferenceNodes(); // no javadocs (refactoring not for parameters) |
| ||||
TempOccurrenceAnalyzer analyzer = new TempOccurrenceAnalyzer(param, false); analyzer.perform(); SimpleName[] paramOccurrences = analyzer.getReferenceAndDeclarationNodes(); // @param tags are updated in changeJavaDocTags() |
| ||||
TempOccurrenceAnalyzer analyzer = new TempOccurrenceAnalyzer(paramDecl, false); analyzer.perform(); SimpleName[] paramRefs = analyzer.getReferenceNodes(); |
| |||
TempOccurrenceAnalyzer analyzer = new TempOccurrenceAnalyzer( [[#variablea428abc0]], false); analyzer.perform(); SimpleName[] [[#variablea428ab80]]= analyzer. [[#variablea428ac00]](); // @param tags are updated in changeJavaDocTags() // no javadocs (refactoring not for parameters) |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a428abc0]] | param |
1 | 2 | [[#a428abc0]] | paramDecl |
1 | 3 | [[#a428abc0]] | fTempDeclarationNode |
2 | 1 | [[#a428ab80]] | paramOccurrences |
2 | 2 | [[#a428ab80]] | paramRefs |
2 | 3 | [[#a428ab80]] | tempRefs |
3 | 1 | [[#a428ac00]] | getReferenceAndDeclarationNodes |
3 | 2 | [[#a428ac00]] | getReferenceNodes |
3 | 3 | [[#a428ac00]] | getReferenceNodes |