Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.953 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 833 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java |
2 | 6 | 395 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceParameterRefactoring.java |
| ||||
public String guessTempName() { String[] proposals = guessTempNames(); if (proposals.length == 0) return fTempName; else return proposals[0]; } |
| ||||
/** * must only be called <i>after</i> checkActivation() * @return guessed parameter name */ public String guessedParameterName() { String[] proposals = guessParameterNames(); if (proposals.length == 0) return ""; //$NON-NLS-1$ else return proposals[0]; } |
| |||
/** * must only be called <i>after</i> checkActivation() * @return guessed parameter name */ public String [[#variable544be4e0]]() { String[] proposals = [[#variable544be420]](); if (proposals.length == 0) return [[#variable544be320]]; //$NON-NLS-1$ else return proposals[0]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#544be4e0]] | guessedParameterName |
1 | 2 | [[#544be4e0]] | guessTempName |
2 | 1 | [[#544be420]] | guessParameterNames |
2 | 2 | [[#544be420]] | guessTempNames |
3 | 1 | [[#544be320]] | "" |
3 | 2 | [[#544be320]] | fTempName |