Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.960 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 449 | libraries/joomla/user/user.php |
2 | 4 | 457 | libraries/joomla/user/user.php |
| ||||
if (strlen($username)> 150) { $username= substr($username, 0, 150); $this->set('username', $username); } |
| ||||
if (strlen($password)> 100) { $password= substr($password, 0, 100); $this->set('password', $password); } |
| |||
if (strlen( [[#variable22435620]])> [[#variable22435680]]) { [[#variable22435620]]=substr( [[#variable22435620]],0, [[#variable22435680]]); $this->set( [[#variable224356a0]], [[#variable22435620]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#22435620]] | $username |
1 | 2 | [[#22435620]] | $password |
2 | 1 | [[#22435680]] | 150 |
2 | 2 | [[#22435680]] | 100 |
3 | 1 | [[#224356a0]] | 'username' |
3 | 2 | [[#224356a0]] | 'password' |