Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 1 | 0.969 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 241 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/NLSHint.java |
2 | 8 | 255 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/nls/NLSHint.java |
| ||||
for (int i = 0; i < lines.length; i++) { NLSElement[] elements = lines[i].getElements(); for (int j = 0; j < elements.length; j++) { NLSElement nlsElement = elements[j]; if (nlsElement.hasTag()) { AccessorClassReference accessorClassReference = NLSHintHelper.getAccessorClassReference(astRoot, nlsElement); if (accessorClassReference != null) { return accessorClassReference; } } } } |
| ||||
// try to find a access with missing //non-nls tag (bug 75155) for (int i = 0; i < lines.length; i++) { NLSElement[] elements = lines[i].getElements(); for (int j = 0; j < elements.length; j++) { NLSElement nlsElement = elements[j]; if ( !nlsElement.hasTag()) { AccessorClassReference accessorClassReference = NLSHintHelper.getAccessorClassReference(astRoot, nlsElement); if (accessorClassReference != null) { return accessorClassReference; } } } } |
| |||
// try to find a access with missing //non-nls tag (bug 75155) for (int i = 0; i < lines.length; i++) { NLSElement[] elements = lines[i].getElements(); for (int j = 0; j < elements.length; j++) { NLSElement nlsElement = elements[j]; if ( [[#variableb4477800]]) { AccessorClassReference accessorClassReference = NLSHintHelper.getAccessorClassReference(astRoot, nlsElement); if (accessorClassReference != null) { return accessorClassReference; } } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b4477800]] | !nlsElement.hasTag() |
1 | 2 | [[#b4477800]] | nlsElement.hasTag() |