Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 6 | 0.955 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 184 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/launching/sourcelookup/containers/JavaProjectSourceContainer.java |
2 | 7 | 94 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/TypeFilter.java |
| ||||
for (int i = 0; i < fgJavaExtensions.length; i++) { String ext = fgJavaExtensions[i]; if (name.endsWith(ext)) { return true; } } return false; |
| ||||
for (int i = 0; i < matchers.length; i++) { StringMatcher curr = matchers[i]; if (curr.match(fullTypeName)) { return true; } } return false; |
| |||
for (int i = 0; i < [[#variable62bdb640]].length; i++) { [[#variable62bdb560]] [[#variable62bdb440]]= [[#variable62bdb640]][i]; if ( [[#variable62bdb4a0]]. [[#variable62bdb220]]( [[#variable62bdb500]])) { return true; } } return false; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#62bdb640]] | matchers |
1 | 2 | [[#62bdb640]] | fgJavaExtensions |
2 | 1 | [[#62bdb560]] | StringMatcher |
2 | 2 | [[#62bdb560]] | String |
3 | 1 | [[#62bdb440]] | curr |
3 | 2 | [[#62bdb440]] | ext |
4 | 1 | [[#62bdb4a0]] | curr |
4 | 2 | [[#62bdb4a0]] | name |
5 | 1 | [[#62bdb220]] | match |
5 | 2 | [[#62bdb220]] | endsWith |
6 | 1 | [[#62bdb500]] | fullTypeName |
6 | 2 | [[#62bdb500]] | ext |