Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
19 | 3 | 1 | 0.983 | class_body_declarations[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 19 | 26 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/StatusInfo.java |
2 | 19 | 23 | plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/util/JUnitStatus.java |
3 | 19 | 28 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/StatusInfo.java |
| ||||
private String fStatusMessage; private int fSeverity; /** * Creates a status set to OK (no message) */ public StatusInfo() { this(OK, null); } /** * Creates a status . * @param severity The status severity: ERROR, WARNING, INFO and OK. * @param message The message of the status. Applies only for ERROR, * WARNING and INFO. */ public StatusInfo(int severity, String message) { fStatusMessage = message; fSeverity = severity; } |
| ||||
private String fStatusMessage; private int fSeverity; /** * Creates a status set to OK (no message) */ public JUnitStatus() { this(OK, null); } /** * Creates a status . * @param severity The status severity: ERROR, WARNING, INFO and OK. * @param message The message of the status. Applies only for ERROR, * WARNING and INFO. */ public JUnitStatus(int severity, String message) { fStatusMessage = message; fSeverity = severity; } |
| ||||
private String fStatusMessage; private int fSeverity; /** * Creates a status set to OK (no message) */ public StatusInfo() { this(OK, null); } /** * Creates a status . * @param severity The status severity: ERROR, WARNING, INFO and OK. * @param message The message of the status. Applies only for ERROR, * WARNING and INFO. */ public StatusInfo(int severity, String message) { fStatusMessage = message; fSeverity = severity; } |
| |||
private String fStatusMessage; private int fSeverity; /** * Creates a status set to OK (no message) */ public [[#variable56f5fce0]]() { this(OK, null); } /** * Creates a status . * @param severity The status severity: ERROR, WARNING, INFO and OK. * @param message The message of the status. Applies only for ERROR, * WARNING and INFO. */ public [[#variable56f5fce0]](int severity, String message) { fStatusMessage = message; fSeverity = severity; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#56f5fce0]] | StatusInfo |
1 | 2 | [[#56f5fce0]] | JUnitStatus |
1 | 3 | [[#56f5fce0]] | StatusInfo |