Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 3 | 2 | 0.966 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 154 | libraries/joomla/registry/format/ini.php |
2 | 5 | 185 | libraries/joomla/registry/format/ini.php |
3 | 5 | 225 | libraries/joomla/registry/format/ini.php |
| ||||
// property is assumed to be ascii if ($property && $property{ 0} == '"') { $propLen= strlen($property); if ($property{$propLen-1} == '"') { $property= stripcslashes(substr($property, 1, $propLen- 2)); } } |
| ||||
if ($value && $value{ 0} == '"') { $valueLen= strlen($value); if ($value{$valueLen-1} == '"') { $value= stripcslashes(substr($value, 1, $valueLen- 2)); } } |
| ||||
if ($value && $value{ 0} == '"') { $valueLen= strlen($value); if ($value{$valueLen-1} == '"') { $value= stripcslashes(substr($value, 1, $valueLen- 2)); } } |
| |||
// property is assumed to be ascii if ( [[#variable25487e40]] && [[#variable25487e40]]{ 0} == '"') { [[#variable25487e60]]=strlen( [[#variable25487e40]]); if ( [[#variable25487e40]]{ [[#variable25487e60]]-1} == '"') { [[#variable25487e40]]=stripcslashes(substr( [[#variable25487e40]],1, [[#variable25487e60]]-2)); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#25487e40]] | $value |
1 | 2 | [[#25487e40]] | $property |
1 | 3 | [[#25487e40]] | $value |
2 | 1 | [[#25487e60]] | $valueLen |
2 | 2 | [[#25487e60]] | $propLen |
2 | 3 | [[#25487e60]] | $valueLen |