Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 4 | 2 | 0.970 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 147 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/ConstructorPattern.java |
2 | 14 | 193 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/ConstructorPattern.java |
3 | 14 | 168 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodPattern.java |
4 | 14 | 228 | plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodPattern.java |
| ||||
// store type signatures and arguments for method parameters type if (parameterSignatures != null) { int length = parameterSignatures.length; if (length > 0) { parametersTypeSignatures = new char[length][][]; parametersTypeArguments = new char[length][][][]; for (int i = 0; i < length; i++) { parametersTypeSignatures[i] = Util.splitTypeLevelsSignature(parameterSignatures[i]); parametersTypeArguments[i] = Util.getAllTypeArguments(parametersTypeSignatures[i]); } } } // Store type signatures and arguments for method constructorArguments = extractMethodArguments(method); |
| ||||
// Store type signatures and arguments for method parameters type if (parameterSignatures != null) { int length = parameterSignatures.length; if (length > 0) { parametersTypeSignatures = new char[length][][]; parametersTypeArguments = new char[length][][][]; for (int i = 0; i < length; i++) { parametersTypeSignatures[i] = Util.splitTypeLevelsSignature(parameterSignatures[i]); parametersTypeArguments[i] = Util.getAllTypeArguments(parametersTypeSignatures[i]); } } } // Store type signatures and arguments for method constructorArguments = arguments; |
| ||||
// Store type signatures and arguments for method parameters type if (parameterSignatures != null) { int length = parameterSignatures.length; if (length > 0) { parametersTypeSignatures = new char[length][][]; parametersTypeArguments = new char[length][][][]; for (int i = 0; i < length; i++) { parametersTypeSignatures[i] = Util.splitTypeLevelsSignature(parameterSignatures[i]); parametersTypeArguments[i] = Util.getAllTypeArguments(parametersTypeSignatures[i]); } } } // Store type signatures and arguments for method methodArguments = extractMethodArguments(method); |
| ||||
// Store type signatures and arguments for method parameters type if (parameterSignatures != null) { int length = parameterSignatures.length; if (length > 0) { parametersTypeSignatures = new char[length][][]; parametersTypeArguments = new char[length][][][]; for (int i = 0; i < length; i++) { parametersTypeSignatures[i] = Util.splitTypeLevelsSignature(parameterSignatures[i]); parametersTypeArguments[i] = Util.getAllTypeArguments(parametersTypeSignatures[i]); } } } // Store type signatures and arguments for method methodArguments = arguments; |
| |||
// Store type signatures and arguments for method parameters type // store type signatures and arguments for method parameters type if (parameterSignatures != null) { int length = parameterSignatures.length; if (length > 0) { parametersTypeSignatures = new char[length][][]; parametersTypeArguments = new char[length][][][]; for (int i = 0; i < length; i++) { parametersTypeSignatures[i] = Util.splitTypeLevelsSignature(parameterSignatures[i]); parametersTypeArguments[i] = Util.getAllTypeArguments(parametersTypeSignatures[i]); } } } [[#variable58426ee0]]= [[#variableb803aba0]]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#58426ee0]] | // Store type signatures and arguments for method constructorArguments |
1 | 2 | [[#58426ee0]] | // Store type signatures and arguments for method constructorArguments |
1 | 3 | [[#58426ee0]] | // Store type signatures and arguments for method methodArguments |
1 | 4 | [[#58426ee0]] | // Store type signatures and arguments for method methodArguments |
2 | 1 | [[#b803aba0]] | arguments |
2 | 2 | [[#b803aba0]] | extractMethodArguments(method) |
2 | 3 | [[#b803aba0]] | arguments |
2 | 4 | [[#b803aba0]] | extractMethodArguments(method) |