Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
20 | 2 | 1 | 0.991 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 20 | 71 | E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/spam/command/LearnMessageAsHamCommand.java |
2 | 20 | 66 | E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/spam/command/LearnMessageAsSpamCommand.java |
| |||||
for (int j = 0; j < uids.length; j++) { if (worker.cancelled()) { break; } try { // train message as ham SpamController.getInstance().trainMessageAsHam(srcFolder, uids[j]); if (uids.length > 1) { worker.setProgressBarValue(j); } } catch (Exception e) { if (Logging.DEBUG) { e.printStackTrace(); } } } |
| |||||
for (int j = 0; j < uids.length; j++) { if (worker.cancelled()) { break; } try { // train message as spam SpamController.getInstance().trainMessageAsSpam(srcFolder, uids[j]); if (uids.length > 1) { worker.setProgressBarValue(j); } } catch (Exception e) { if (Logging.DEBUG) { e.printStackTrace(); } } } |
| |||
for (int j = 0; j < uids.length; j++) { if (worker.cancelled()) { break; } try { // train message as spam // train message as ham SpamController.getInstance(). [[#variable132bd280]](srcFolder, uids[j]); if (uids.length > 1) { worker.setProgressBarValue(j); } } catch (Exception e) { if (Logging.DEBUG) { e.printStackTrace(); } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#132bd280]] | trainMessageAsHam |
1 | 2 | [[#132bd280]] | trainMessageAsSpam |