Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 4 | 0.976 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 151 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/AccessRuleEntryDialog.java |
2 | 9 | 184 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ExclusionInclusionEntryDialog.java |
| ||||
String pattern = fPatternDialog.getText().trim(); if (pattern.length() == 0) { fPatternStatus.setError(NewWizardMessages.TypeRestrictionEntryDialog_error_empty); return; } IPath path = new Path(pattern); if (path.isAbsolute() || path.getDevice() != null) { fPatternStatus.setError(NewWizardMessages.TypeRestrictionEntryDialog_error_notrelative); return; } |
| ||||
String pattern = fExclusionPatternDialog.getText().trim(); if (pattern.length() == 0) { fExclusionPatternStatus.setError(NewWizardMessages.ExclusionInclusionEntryDialog_error_empty); return; } IPath path = new Path(pattern); if (path.isAbsolute() || path.getDevice() != null) { fExclusionPatternStatus.setError(NewWizardMessages.ExclusionInclusionEntryDialog_error_notrelative); return; } |
| |||
String pattern = [[#variablea4f860c0]].getText().trim(); if (pattern.length() == 0) { [[#variablea4f5d080]].setError(NewWizardMessages. [[#variablea4f86080]]); return; } IPath path = new Path(pattern); if (path.isAbsolute() || path.getDevice() != null) { [[#variablea4f5d080]].setError(NewWizardMessages. [[#variablea4f86060]]); return; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a4f860c0]] | fExclusionPatternDialog |
1 | 2 | [[#a4f860c0]] | fPatternDialog |
2 | 1 | [[#a4f5d080]] | fExclusionPatternStatus |
2 | 2 | [[#a4f5d080]] | fPatternStatus |
3 | 1 | [[#a4f86080]] | ExclusionInclusionEntryDialog_error_empty |
3 | 2 | [[#a4f86080]] | TypeRestrictionEntryDialog_error_empty |
4 | 1 | [[#a4f86060]] | ExclusionInclusionEntryDialog_error_notrelative |
4 | 2 | [[#a4f86060]] | TypeRestrictionEntryDialog_error_notrelative |