CloneSet1241


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2330.969statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1227
administrator/components/com_content/controllers/articles.php
2229
administrator/components/com_content/controllers/articles.php
3239
administrator/components/com_redirect/controllers/link.php
Clone Instance
1
Line Count
2
Source Line
27
Source File
administrator/components/com_content/controllers/articles.php

                $this->registerTask('unpublish',        'publish');
                $this->registerTask('archive',          'publish');


Clone Instance
2
Line Count
2
Source Line
29
Source File
administrator/components/com_content/controllers/articles.php

                $this->registerTask('trash',            'publish');
                $this->registerTask('unfeatured',       'featured');


Clone Instance
3
Line Count
2
Source Line
39
Source File
administrator/components/com_redirect/controllers/link.php

                // Map the publishing state tasks.
                $this->registerTask('unpublish',        'publish');
                $this->registerTask('archive',          'publish');


Clone AbstractionParameter Count: 3Parameter Bindings

// Map the publishing state tasks.
$this->registerTask( [[#variable20a52d40]],'publish');
$this->registerTask( [[#variable4ad9ba00]], [[#variable4e4fb960]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#20a52d40]]
'trash' 
12[[#20a52d40]]
'unpublish' 
13[[#20a52d40]]
'unpublish' 
21[[#4ad9ba00]]
'unfeatured' 
22[[#4ad9ba00]]
'archive' 
23[[#4ad9ba00]]
'archive' 
31[[#4e4fb960]]
'featured' 
32[[#4e4fb960]]
'publish' 
33[[#4e4fb960]]
'publish'