Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 1 | 0.975 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 1157 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceIndirectionRefactoring.java |
2 | 7 | 455 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/delegates/DelegateCreator.java |
| ||||
if (typeDeclaration instanceof AbstractTypeDeclaration) return ((AbstractTypeDeclaration) typeDeclaration).getBodyDeclarationsProperty(); else if (typeDeclaration instanceof AnonymousClassDeclaration) return AnonymousClassDeclaration.BODY_DECLARATIONS_PROPERTY; Assert.isTrue(false); return null; |
| ||||
if (parent instanceof AbstractTypeDeclaration) return ((AbstractTypeDeclaration) parent).getBodyDeclarationsProperty(); else if (parent instanceof AnonymousClassDeclaration) return AnonymousClassDeclaration.BODY_DECLARATIONS_PROPERTY; Assert.isTrue(false); return null; |
| |||
if ( [[#variable65275a20]]instanceof AbstractTypeDeclaration) return ((AbstractTypeDeclaration) [[#variable65275a20]]).getBodyDeclarationsProperty(); else if ( [[#variable65275a20]]instanceof AnonymousClassDeclaration) return AnonymousClassDeclaration.BODY_DECLARATIONS_PROPERTY; Assert.isTrue(false); return null; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#65275a20]] | typeDeclaration |
1 | 2 | [[#65275a20]] | parent |