Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 6 | 0.968 | statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 37 | modules/mod_latestnews/helper.php |
2 | 3 | 100 | plugins/content/pagenavigation.php |
| ||||
$where= 'a.state = 1' . ' AND (a.publish_up = ' . $db->Quote($nullDate) . ' OR a.publish_up <= ' . $db->Quote($now) . ')' . ' AND (a.publish_down = ' . $db->Quote($nullDate) . ' OR a.publish_down >= ' . $db->Quote($now) . ')'; |
| ||||
$xwhere= ' AND (a.state = 1 OR a.state = -1)' . ' AND (publish_up = ' . $db->Quote($nullDate) . ' OR publish_up <= ' . $db->Quote($now) . ')' . ' AND (publish_down = ' . $db->Quote($nullDate) . ' OR publish_down >= ' . $db->Quote($now) . ')'; |
| |||
[[#variable241b6540]]= [[#variable241b6480]] . [[#variable241b6380]] . $db->Quote($nullDate) . [[#variable241b6340]] . $db->Quote($now) . ')' . [[#variable241b62e0]] . $db->Quote($nullDate) . [[#variable241b6320]] . $db->Quote($now) . ')'; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#241b6540]] | $xwhere |
1 | 2 | [[#241b6540]] | $where |
2 | 1 | [[#241b6480]] | ' AND (a.state = 1 OR a.state = -1)' |
2 | 2 | [[#241b6480]] | 'a.state = 1' |
3 | 1 | [[#241b6380]] | ' AND (publish_up = ' |
3 | 2 | [[#241b6380]] | ' AND (a.publish_up = ' |
4 | 1 | [[#241b6340]] | ' OR publish_up <= ' |
4 | 2 | [[#241b6340]] | ' OR a.publish_up <= ' |
5 | 1 | [[#241b62e0]] | ' AND (publish_down = ' |
5 | 2 | [[#241b62e0]] | ' AND (a.publish_down = ' |
6 | 1 | [[#241b6320]] | ' OR publish_down >= ' |
6 | 2 | [[#241b6320]] | ' OR a.publish_down >= ' |