CloneSet445


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3730.960if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14209
administrator/components/com_content/models/article.php
24178
administrator/components/com_menus/models/menu.php
33360
administrator/components/com_redirect/models/link.php
43172
administrator/components/com_users/models/group.php
53291
administrator/components/com_users/models/user.php
63385
administrator/components/com_weblinks/models/weblink.php
73180
components/com_users/models/profile.php
Clone Instance
1
Line Count
4
Source Line
209
Source File
administrator/components/com_content/models/article.php

                        if (!$table->delete($itemId))
                        {
                                $this->setError($table->getError());
                                return FALSE;
                              }


Clone Instance
2
Line Count
4
Source Line
178
Source File
administrator/components/com_menus/models/menu.php

                        // TODO: Delete the menu associations - Menu items and Modules

                        if (!$table->delete($itemId))
                        {
                                $this->setError($table->getError());
                                return FALSE;
                              }


Clone Instance
3
Line Count
3
Source Line
360
Source File
administrator/components/com_redirect/models/link.php

                // Bind the data.
                if (!$table->bind($data)) {
                        $this->setError($table->getError());
                        return FALSE;
                      }


Clone Instance
4
Line Count
3
Source Line
172
Source File
administrator/components/com_users/models/group.php

                // Bind the data.
                if (!$table->bind($data)) {
                        $this->setError($table->getError());
                        return FALSE;
                      }


Clone Instance
5
Line Count
3
Source Line
291
Source File
administrator/components/com_users/models/user.php

                // Bind the data.
                if (!$user->bind($data)) {
                        $this->setError($user->getError());
                        return FALSE;
                      }


Clone Instance
6
Line Count
3
Source Line
385
Source File
administrator/components/com_weblinks/models/weblink.php

                // Load the row.
                if (!$table->load($weblinkId)) {
                        $this->setError($table->getError());
                        return FALSE;
                      }


Clone Instance
7
Line Count
3
Source Line
180
Source File
components/com_users/models/profile.php

                        // Attempt to check the row in.
                        if (!$table->checkin($memberId)) {
                                $this->setError($table->getError());
                                return FALSE;
                              }


Clone AbstractionParameter Count: 3Parameter Bindings

// Bind the data.
// Load the row.
// Attempt to check the row in.
// TODO: Delete the menu associations - Menu items and Modules
if (! [[#variable21bfd800]]-> [[#variable21bfd700]]( [[#variable21bfd720]])) {
  $this->setError( [[#variable21bfd800]]->getError());
  return FALSE;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#21bfd800]]
$user 
12[[#21bfd800]]
$table 
13[[#21bfd800]]
$table 
14[[#21bfd800]]
$table 
15[[#21bfd800]]
$table 
16[[#21bfd800]]
$table 
17[[#21bfd800]]
$table 
21[[#21bfd700]]
bind 
22[[#21bfd700]]
bind 
23[[#21bfd700]]
load 
24[[#21bfd700]]
checkin 
25[[#21bfd700]]
delete 
26[[#21bfd700]]
bind 
27[[#21bfd700]]
delete 
31[[#21bfd720]]
$data 
32[[#21bfd720]]
$data 
33[[#21bfd720]]
$weblinkId 
34[[#21bfd720]]
$memberId 
35[[#21bfd720]]
$itemId 
36[[#21bfd720]]
$data 
37[[#21bfd720]]
$itemId