Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.970 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 277 | libraries/joomla/user/user.php |
2 | 6 | 298 | libraries/joomla/user/user.php |
| ||||
if (! isset ($this->_authActions[$action])) { $acl= JFactory::getACL(); $this->_authActions[$action]= $acl->check($this->id ,$action); } return $this->_authActions[$action]; |
| ||||
if (! isset ($this->_authLevels[$action])) { $acs= JFactory::getACL(); $this->_authLevels[$action]= $acs->getAuthorisedAccessLevels($this->id ,$action); } return $this->_authLevels[$action]; |
| |||
if (! isset ($this-> [[#variable48c0b340]][$action])) { [[#variable48c0b260]]=JFactory::getACL(); $this-> [[#variable48c0b340]][$action]= [[#variable48c0b260]]-> [[#variable48c0b220]]($this->id ,$action); } return $this-> [[#variable48c0b340]][$action]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#48c0b340]] | _authLevels |
1 | 2 | [[#48c0b340]] | _authActions |
2 | 1 | [[#48c0b260]] | $acs |
2 | 2 | [[#48c0b260]] | $acl |
3 | 1 | [[#48c0b220]] | getAuthorisedAccessLevels |
3 | 2 | [[#48c0b220]] | check |