Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 3 | 0.953 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 283 | plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/EvaluationContext.java |
2 | 2 | 1306 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MatchLocator.java |
| ||||
char[][] splitDeclaration = CharOperation.splitOn('.', importDeclaration); int splitLength = splitDeclaration.length; |
| ||||
// search inside enclosing element char[][] qualifiedName = CharOperation.splitOn('.', sourceName); int length = qualifiedName.length; |
| |||
// search inside enclosing element char[][] [[#variable76c2ea00]]= CharOperation.splitOn('.', [[#variable76c2e9e0]]); int [[#variable76c2f280]]= [[#variable76c2ea00]].length; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#76c2ea00]] | qualifiedName |
1 | 2 | [[#76c2ea00]] | splitDeclaration |
2 | 1 | [[#76c2e9e0]] | sourceName |
2 | 2 | [[#76c2e9e0]] | importDeclaration |
3 | 1 | [[#76c2f280]] | length |
3 | 2 | [[#76c2f280]] | splitLength |