Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 5 | 4 | 0.977 | statement_block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 597 | libraries/joomla/utilities/string.php |
2 | 6 | 603 | libraries/joomla/utilities/string.php |
3 | 6 | 609 | libraries/joomla/utilities/string.php |
4 | 13 | 615 | libraries/joomla/utilities/string.php |
5 | 6 | 628 | libraries/joomla/utilities/string.php |
| ||||
{ // First octet of 2 octet sequence $mUcs4= ($in); $mUcs4= ($mUcs4& 0x1f)<< 6; $mState= 1; $mBytes= 2; } |
| ||||
{ // First octet of 3 octet sequence $mUcs4= ($in); $mUcs4= ($mUcs4& 0x0f)<< 12; $mState= 2; $mBytes= 3; } |
| ||||
{ // First octet of 4 octet sequence $mUcs4= ($in); $mUcs4= ($mUcs4& 0x07)<< 18; $mState= 3; $mBytes= 4; } |
| ||||
{ /* First octet of 5 octet sequence. * * This is illegal because the encoded codepoint must be either * (a) not the shortest form or * (b) outside the Unicode range of 0-0x10FFFF. * Rather than trying to resynchronize, we will carry on until the end * of the sequence and let the later error handling code catch it. */ $mUcs4= ($in); $mUcs4= ($mUcs4& 0x03)<< 24; $mState= 4; $mBytes= 5; } |
| ||||
{ // First octet of 6 octet sequence, see comments for 5 octet sequence. $mUcs4= ($in); $mUcs4= ($mUcs4& 1)<< 30; $mState= 5; $mBytes= 6; } |
| |||
{ // First octet of 2 octet sequence // First octet of 3 octet sequence // First octet of 4 octet sequence /* First octet of 5 octet sequence. * * This is illegal because the encoded codepoint must be either * (a) not the shortest form or * (b) outside the Unicode range of 0-0x10FFFF. * Rather than trying to resynchronize, we will carry on until the end * of the sequence and let the later error handling code catch it. */ // First octet of 6 octet sequence, see comments for 5 octet sequence. $mUcs4=($in); $mUcs4=($mUcs4& [[#variable3eb3ff00]])<< [[#variable3eb3fec0]]; $mState= [[#variable3eb3fe60]]; $mBytes= [[#variable3eb3fe80]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3eb3ff00]] | 0x1f |
1 | 2 | [[#3eb3ff00]] | 0x0f |
1 | 3 | [[#3eb3ff00]] | 0x07 |
1 | 4 | [[#3eb3ff00]] | 0x03 |
1 | 5 | [[#3eb3ff00]] | 1 |
2 | 1 | [[#3eb3fec0]] | 6 |
2 | 2 | [[#3eb3fec0]] | 12 |
2 | 3 | [[#3eb3fec0]] | 18 |
2 | 4 | [[#3eb3fec0]] | 24 |
2 | 5 | [[#3eb3fec0]] | 30 |
3 | 1 | [[#3eb3fe60]] | 1 |
3 | 2 | [[#3eb3fe60]] | 2 |
3 | 3 | [[#3eb3fe60]] | 3 |
3 | 4 | [[#3eb3fe60]] | 4 |
3 | 5 | [[#3eb3fe60]] | 5 |
4 | 1 | [[#3eb3fe80]] | 2 |
4 | 2 | [[#3eb3fe80]] | 3 |
4 | 3 | [[#3eb3fe80]] | 4 |
4 | 4 | [[#3eb3fe80]] | 5 |
4 | 5 | [[#3eb3fe80]] | 6 |