Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 4 | 0.959 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 1259 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java |
2 | 5 | 1386 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java |
| ||||
if (name == null) nameQuery = copyQueries.createNullQuery(); else nameQuery = copyQueries.createNewResourceNameQuery(resource, name); return new CopyResourceChange(resource, destination, nameQuery); |
| ||||
if (newName == null) nameQuery = copyQueries.createNullQuery(); else nameQuery = copyQueries.createNewPackageNameQuery(pack, newName); return new CopyPackageChange(pack, destination, nameQuery); |
| |||
if ( [[#variablea2a94080]]== null) nameQuery = copyQueries.createNullQuery(); else nameQuery = copyQueries. [[#variable78086a60]]( [[#variablea2a94340]], [[#variablea2a94080]]); return new [[#variablea2a94040]]( [[#variablea2a94340]], destination, nameQuery); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a2a94080]] | newName |
1 | 2 | [[#a2a94080]] | name |
2 | 1 | [[#78086a60]] | createNewPackageNameQuery |
2 | 2 | [[#78086a60]] | createNewResourceNameQuery |
3 | 1 | [[#a2a94340]] | pack |
3 | 2 | [[#a2a94340]] | resource |
4 | 1 | [[#a2a94040]] | CopyPackageChange |
4 | 2 | [[#a2a94040]] | CopyResourceChange |