Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
15 | 2 | 3 | 0.986 | class_member_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 15 | 112 | components/com_contact/models/category.php |
2 | 15 | 134 | components/com_contact/models/category.php |
| ||||
/** * Gets a list of categories * @param array * @return array */ function getCategories($options=array()) { $query= $this->_getCatgoriesQuery($options); return $this->_getList($query, @$options['limitstart'], @$options['limit']); } /** * Gets the count of the categories for the given options * @param array * @return int */ function getCategoryCount($options=array()) { $query= $this->_getCatgoriesQuery($options); return $this->_getListCount($query); } |
| ||||
/** * Gets a list of categories * @param array * @return array */ function getContacts($options=array()) { $query= $this->_getContactsQuery($options); return $this->_getList($query, @$options['limitstart'], @$options['limit']); } /** * Gets the count of the categories for the given options * @param array * @return int */ function getContactCount($options=array()) { $query= $this->_getContactsQuery($options); return $this->_getListCount($query); } |
| |||
/** * Gets a list of categories * @param array * @return array */ function [[#variable24527360]]($options=array()) { $query=$this-> [[#variable523953e0]]($options); return $this->_getList($query,@$options['limitstart'],@$options['limit']); } /** * Gets the count of the categories for the given options * @param array * @return int */ function [[#variable24527300]]($options=array()) { $query=$this-> [[#variable523953e0]]($options); return $this->_getListCount($query); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#24527360]] | getCategories |
1 | 2 | [[#24527360]] | getContacts |
2 | 1 | [[#523953e0]] | _getCatgoriesQuery |
2 | 2 | [[#523953e0]] | _getContactsQuery |
3 | 1 | [[#24527300]] | getCategoryCount |
3 | 2 | [[#24527300]] | getContactCount |