| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 2 | 3 | 3 | 0.969 | statement_sequence[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 2 | 27 | administrator/components/com_content/controllers/articles.php |
| 2 | 2 | 29 | administrator/components/com_content/controllers/articles.php |
| 3 | 2 | 39 | administrator/components/com_redirect/controllers/link.php |
| ||||
$this->registerTask('unpublish', 'publish');
$this->registerTask('archive', 'publish');
|
| ||||
$this->registerTask('trash', 'publish');
$this->registerTask('unfeatured', 'featured');
|
| ||||
// Map the publishing state tasks.
$this->registerTask('unpublish', 'publish');
$this->registerTask('archive', 'publish');
|
| |||
// Map the publishing state tasks. $this->registerTask( [[#variable20a52d40]],'publish'); $this->registerTask( [[#variable4ad9ba00]], [[#variable4e4fb960]]); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#20a52d40]] | 'trash' |
| 1 | 2 | [[#20a52d40]] | 'unpublish' |
| 1 | 3 | [[#20a52d40]] | 'unpublish' |
| 2 | 1 | [[#4ad9ba00]] | 'unfeatured' |
| 2 | 2 | [[#4ad9ba00]] | 'archive' |
| 2 | 3 | [[#4ad9ba00]] | 'archive' |
| 3 | 1 | [[#4e4fb960]] | 'featured' |
| 3 | 2 | [[#4e4fb960]] | 'publish' |
| 3 | 3 | [[#4e4fb960]] | 'publish' |