| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 2 | 2 | 0.985 | executable_statement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 191 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/CodeFormatterApplication.java |
| 2 | 6 | 377 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/CodeFormatterApplication.java |
| ||||
{
File file = files[i];
if (file.isDirectory()) {
formatDirTree(file, codeFormatter);
}
else if (Util.isJavaLikeFileName(file.getPath())) {
formatFile(file, codeFormatter);
}
}
|
| ||||
{
final File file = filesToFormat[i];
if (file.isDirectory()) {
formatDirTree(file, codeFormatter);
}
else if (Util.isJavaLikeFileName(file.getPath())) {
formatFile(file, codeFormatter);
}
}
|
| |||
{
[[#variablea1931da0]]File file = [[#variablea1931d40]][i];
if (file.isDirectory()) {
formatDirTree(file, codeFormatter);
}
else
if (Util.isJavaLikeFileName(file.getPath())) {
formatFile(file, codeFormatter);
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#a1931da0]] | |
| 1 | 2 | [[#a1931da0]] | final |
| 2 | 1 | [[#a1931d40]] | files |
| 2 | 2 | [[#a1931d40]] | filesToFormat |