Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 6 | 0.950 | class_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 72 | libraries/joomla/database/table/session.php |
2 | 7 | 115 | libraries/joomla/database/table/user.php |
| ||||
/** * Constructor * @param database A database connector object */ function __construct( &$db) { parent:: __construct('#__session', 'session_id', $db); $this->guest = 1; $this->username = ''; } |
| ||||
/** * @param database A database connector object */ function __construct( &$db) { parent:: __construct('#__users', 'id', $db); //initialise $this->id = 0; $this->sendEmail = 0; } |
| |||
/** * Constructor * @param database A database connector object */ /** * @param database A database connector object */ function __construct( &$db) { parent:: __construct( [[#variable21496860]], [[#variable214967e0]],$db); //initialise $this-> [[#variable21496720]]= [[#variable21496680]]; $this-> [[#variable21496640]]= [[#variable214966e0]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#21496860]] | '#__session' |
1 | 2 | [[#21496860]] | '#__users' |
2 | 1 | [[#214967e0]] | 'session_id' |
2 | 2 | [[#214967e0]] | 'id' |
3 | 1 | [[#21496720]] | guest |
3 | 2 | [[#21496720]] | id |
4 | 1 | [[#21496680]] | 1 |
4 | 2 | [[#21496680]] | 0 |
5 | 1 | [[#21496640]] | username |
5 | 2 | [[#21496640]] | sendEmail |
6 | 1 | [[#214966e0]] | '' |
6 | 2 | [[#214966e0]] | 0 |