Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 3 | 4 | 0.974 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 296 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/VerboseWriter.java |
2 | 6 | 307 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/VerboseWriter.java |
3 | 6 | 318 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/VerboseWriter.java |
| ||||
/** * Prints hex representation of an int. */ public void printHex(short s) { char buffer[] = new char[VERBOSE_HEX_WIDTH]; for (int i = 1; i >= 0; i--) appendHexByte((byte) (s >>> i * 8), buffer, 1 - i); appendHexSpaces(buffer, 2); print(buffer); } |
| ||||
/** * Prints hex representation of an int. */ public void printHex(int integer) { char buffer[] = new char[VERBOSE_HEX_WIDTH]; for (int i = 3; i >= 0; i--) appendHexByte((byte) (integer >>> i * 8), buffer, 3 - i); appendHexSpaces(buffer, 4); print(buffer); } |
| ||||
/** * Prints hex representation of a long. */ public void printHex(long l) { char buffer[] = new char[VERBOSE_HEX_WIDTH]; for (int i = 7; i >= 0; i--) appendHexByte((byte) (l >>> i * 8), buffer, 7 - i); appendHexSpaces(buffer, 8); print(buffer); } |
| |||
/** * Prints hex representation of an int. */ /** * Prints hex representation of a long. */ public void printHex( [[#variable94d5c5c0]] [[#variable94d5dd60]]) { char buffer[] = new char[VERBOSE_HEX_WIDTH]; for (int i = [[#variable94d5ce80]]; i >= 0; i--) appendHexByte((byte) ( [[#variable94d5dd60]] >>> i * 8), buffer, [[#variable94d5ce80]] - i); appendHexSpaces(buffer, [[#variable94d5de00]]); print(buffer); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#94d5c5c0]] | short |
1 | 2 | [[#94d5c5c0]] | int |
1 | 3 | [[#94d5c5c0]] | long |
2 | 1 | [[#94d5dd60]] | s |
2 | 2 | [[#94d5dd60]] | integer |
2 | 3 | [[#94d5dd60]] | l |
3 | 1 | [[#94d5ce80]] | 1 |
3 | 2 | [[#94d5ce80]] | 3 |
3 | 3 | [[#94d5ce80]] | 7 |
4 | 1 | [[#94d5de00]] | 2 |
4 | 2 | [[#94d5de00]] | 4 |
4 | 3 | [[#94d5de00]] | 8 |