Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 3 | 4 | 0.966 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 104 | administrator/components/com_categories/models/categories.php |
2 | 9 | 111 | components/com_content/models/categories.php |
3 | 7 | 137 | components/com_content/models/frontpage.php |
| ||||
// Select the required fields from the table. $query->select( $this->getState( 'list.select', 'a.id, a.title, a.alias, a.published, a.access' . ', a.checked_out, a.checked_out_time, a.created_user_id' . ', a.path, a.parent_id, a.level, a.lft, a.rgt')); $query->from('#__categories AS a'); |
| ||||
// Select the required fields from the table. $query->select( $this->getState( 'list.select', 'a.id, a.title, a.alias, a.access, a.published, a.access, a.ordering' . ', a.path, a.parent_id, a.level, a.lft, a.rgt' . ', a.description')); $query->from('#__categories AS a'); |
| ||||
// Select the required fields from the table. $query->select($this->getState( 'list.select', 'a.id, a.title, a.alias, a.title_alias, a.introtext, a.state, a.catid, a.created, a.created_by, a.created_by_alias,' . ' a.modified, a.modified_by,a.publish_up, a.publish_down, a.attribs, a.metadata, a.metakey, a.metadesc, a.access,' . ' LENGTH(a.fulltext) AS readmore')); $query->from('#__content AS a'); |
| |||
// Select the required fields from the table. $query->select($this->getState('list.select', [[#variable248079c0]] . [[#variable24807960]] . [[#variable24807900]])); $query->from( [[#variable24807880]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#248079c0]] | 'a.id, a.title, a.alias, a.title_alias, a.introtext, a.state, a.catid, a.created, a.created_by, a.created_by_alias,' |
1 | 2 | [[#248079c0]] | 'a.id, a.title, a.alias, a.access, a.published, a.access, a.ordering' |
1 | 3 | [[#248079c0]] | 'a.id, a.title, a.alias, a.published, a.access' |
2 | 1 | [[#24807960]] | ' a.modified, a.modified_by,a.publish_up, a.publish_down, a.attribs, a.metadata, a.metakey, a.metadesc, a.access,' |
2 | 2 | [[#24807960]] | ', a.path, a.parent_id, a.level, a.lft, a.rgt' |
2 | 3 | [[#24807960]] | ', a.checked_out, a.checked_out_time, a.created_user_id' |
3 | 1 | [[#24807900]] | ' LENGTH(a.fulltext) AS readmore' |
3 | 2 | [[#24807900]] | ', a.description' |
3 | 3 | [[#24807900]] | ', a.path, a.parent_id, a.level, a.lft, a.rgt' |
4 | 1 | [[#24807880]] | '#__content AS a' |
4 | 2 | [[#24807880]] | '#__categories AS a' |
4 | 3 | [[#24807880]] | '#__categories AS a' |