Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 5 | 0.969 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 234 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/participants/ResourceModifications.java |
2 | 7 | 243 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/participants/ResourceModifications.java |
| ||||
if (fDelete != null) { DeleteArguments arguments = new DeleteArguments(); for (Iterator iter = fDelete.iterator(); iter.hasNext();) { DeleteParticipant[] deletes = ParticipantManager.loadDeleteParticipants(status, processor , iter.next(), arguments , natures, shared); result.addAll(Arrays.asList(deletes)); } } |
| ||||
if (fCreate != null) { CreateArguments arguments = new CreateArguments(); for (Iterator iter = fCreate.iterator(); iter.hasNext();) { CreateParticipant[] creates = ParticipantManager.loadCreateParticipants(status, processor , iter.next(), arguments , natures, shared); result.addAll(Arrays.asList(creates)); } } |
| |||
if ( [[#variable5715c6e0]]!= null) { [[#variable5715c660]] arguments = new [[#variable5715c660]](); for (Iterator iter = [[#variable5715c6e0]].iterator(); iter.hasNext();) { [[#variable5715c5a0]][] [[#variable5715c520]]= ParticipantManager. [[#variable5715c4c0]](status, processor, iter.next(), arguments, natures, shared); result.addAll(Arrays.asList( [[#variable5715c520]])); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5715c6e0]] | fDelete |
1 | 2 | [[#5715c6e0]] | fCreate |
2 | 1 | [[#5715c660]] | DeleteArguments |
2 | 2 | [[#5715c660]] | CreateArguments |
3 | 1 | [[#5715c5a0]] | DeleteParticipant |
3 | 2 | [[#5715c5a0]] | CreateParticipant |
4 | 1 | [[#5715c520]] | deletes |
4 | 2 | [[#5715c520]] | creates |
5 | 1 | [[#5715c4c0]] | loadDeleteParticipants |
5 | 2 | [[#5715c4c0]] | loadCreateParticipants |