Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 1 | 0.986 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 191 | administrator/components/com_content/controllers/article.php |
2 | 3 | 196 | administrator/components/com_content/controllers/article.php |
3 | 3 | 201 | administrator/components/com_content/controllers/article.php |
| ||||
if (intval(JArrayHelper::getValue($data, 'created'))) { $date= & JFactory::getDate($data['created'], $offset); $data['created']= $date->toMySQL(); } |
| ||||
if (intval(JArrayHelper::getValue($data, 'publish_up'))) { $date= & JFactory::getDate($data['publish_up'], $offset); $data['publish_up']= $date->toMySQL(); } |
| ||||
if (intval(JArrayHelper::getValue($data, 'publish_down'))) { $date= & JFactory::getDate($data['publish_down'], $offset); $data['publish_down']= $date->toMySQL(); } |
| |||
if (intval(JArrayHelper::getValue($data, [[#variable3eaca9e0]]))) { $date= &JFactory::getDate($data[ [[#variable3eaca9e0]]],$offset); $data[ [[#variable3eaca9e0]]]=$date->toMySQL(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3eaca9e0]] | 'publish_down' |
1 | 2 | [[#3eaca9e0]] | 'publish_up' |
1 | 3 | [[#3eaca9e0]] | 'created' |