Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 6 | 0.969 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 252 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/participants/ResourceModifications.java |
2 | 8 | 263 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/participants/ResourceModifications.java |
| ||||
if (fMove != null) { for (int i = 0; i < fMove.size(); i++) { Object element = fMove.get(i); MoveArguments arguments = (MoveArguments) fMoveArguments.get(i); MoveParticipant[] moves = ParticipantManager.loadMoveParticipants(status, processor , element, arguments , natures, shared); result.addAll(Arrays.asList(moves)); } } |
| ||||
if (fCopy != null) { for (int i = 0; i < fCopy.size(); i++) { Object element = fCopy.get(i); CopyArguments arguments = (CopyArguments) fCopyArguments.get(i); CopyParticipant[] copies = ParticipantManager.loadCopyParticipants(status, processor , element, arguments , natures, shared); result.addAll(Arrays.asList(copies)); } } |
| |||
if ( [[#variable9be0be80]]!= null) { for (int i = 0; i < [[#variable9be0be80]].size(); i++) { Object element = [[#variable9be0be80]].get(i); [[#variable9be0bdc0]] arguments = ( [[#variable9be0bdc0]]) [[#variable9be0bd40]].get(i); [[#variable9be0a1c0]][] [[#variable59732b80]]= ParticipantManager. [[#variable9be0bd20]](status, processor, element, arguments, natures, shared); result.addAll(Arrays.asList( [[#variable59732b80]])); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9be0be80]] | fMove |
1 | 2 | [[#9be0be80]] | fCopy |
2 | 1 | [[#9be0bdc0]] | MoveArguments |
2 | 2 | [[#9be0bdc0]] | CopyArguments |
3 | 1 | [[#9be0bd40]] | fMoveArguments |
3 | 2 | [[#9be0bd40]] | fCopyArguments |
4 | 1 | [[#9be0a1c0]] | MoveParticipant |
4 | 2 | [[#9be0a1c0]] | CopyParticipant |
5 | 1 | [[#59732b80]] | moves |
5 | 2 | [[#59732b80]] | copies |
6 | 1 | [[#9be0bd20]] | loadMoveParticipants |
6 | 2 | [[#9be0bd20]] | loadCopyParticipants |