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.967 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 1381 | libraries/joomla/database/tablenested.php |
2 | 6 | 1412 | libraries/joomla/database/tablenested.php |
| ||||
$data->left_where = 'lft > ' . $referenceNode->lft; $data->right_where = 'lft >= ' . $referenceNode->lft; $data->new_lft = $referenceNode->lft + 1; $data->new_rgt = $referenceNode->lft + $nodeWidth; $data->new_parent_id = $referenceNode->$k; |
| ||||
$data->left_where = 'lft > ' . $referenceNode->lft; $data->right_where = 'rgt > ' . $referenceNode->rgt; $data->new_lft = $referenceNode->rgt + 1; $data->new_rgt = $referenceNode->rgt + $nodeWidth; $data->new_parent_id = $referenceNode->parent_id; |
| |||
$data->left_where ='lft > ' . $referenceNode->lft; $data->right_where = [[#variable2518b1c0]] . $referenceNode-> [[#variable2518a000]]; $data->new_lft =$referenceNode-> [[#variable2518a000]]+1; $data->new_rgt =$referenceNode-> [[#variable2518a000]]+$nodeWidth; $data->new_parent_id =$referenceNode-> [[#variable2518b200]]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2518b1c0]] | 'lft >= ' |
1 | 2 | [[#2518b1c0]] | 'rgt > ' |
2 | 1 | [[#2518a000]] | lft |
2 | 2 | [[#2518a000]] | rgt |
3 | 1 | [[#2518b200]] | $k |
3 | 2 | [[#2518b200]] | parent_id |