Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.986 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 26 | administrator/components/com_contact/elements/contact.php |
2 | 9 | 34 | administrator/components/com_newsfeeds/elements/newsfeed.php |
| ||||
$query= 'SELECT a.id, CONCAT(a.name, " - ",a.con_position) AS text, a.catid ' . ' FROM #__contact_details AS a' . ' INNER JOIN #__categories AS c ON a.catid = c.id' . ' WHERE a.published = 1' . ' AND c.published = 1' . ' ORDER BY a.catid, a.name'; $db->setQuery($query); $options= $db->loadObjectList(); |
| ||||
$query= 'SELECT a.id, c.title, a.name' . ' FROM #__newsfeeds AS a' . ' INNER JOIN #__categories AS c ON a.catid = c.id' . ' WHERE a.published = 1' . ' AND c.published = 1' . ' ORDER BY a.catid, a.name'; $db->setQuery($query); $options= $db->loadObjectList(); |
| |||
$query= [[#variable21496960]] . [[#variable1effa4a0]] . ' INNER JOIN #__categories AS c ON a.catid = c.id' . ' WHERE a.published = 1' . ' AND c.published = 1' . ' ORDER BY a.catid, a.name'; $db->setQuery($query); $options=$db->loadObjectList(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#21496960]] | 'SELECT a.id, CONCAT(a.name, " - ",a.con_position) AS text, a.catid ' |
1 | 2 | [[#21496960]] | 'SELECT a.id, c.title, a.name' |
2 | 1 | [[#1effa4a0]] | ' FROM #__contact_details AS a' |
2 | 2 | [[#1effa4a0]] | ' FROM #__newsfeeds AS a' |