CloneSet925


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3430.969if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13242
administrator/components/com_users/models/user.php
23127
administrator/components/com_weblinks/models/weblink.php
3353
installation/models/filesystem.php
43108
installation/models/filesystem.php
Clone Instance
1
Line Count
3
Source Line
242
Source File
administrator/components/com_users/models/user.php

                // Check if the row is checked-out by someone else.
                if ($return === NULL) {
                        $this->setError(JText::_('USERS_MEMBER_CHECKED_OUT'));
                        return FALSE;
                      }


Clone Instance
2
Line Count
3
Source Line
127
Source File
administrator/components/com_weblinks/models/weblink.php

                // Check if the row is checked-out by someone else.
                if ($return === NULL) {
                        $this->setError(JText::_('JCommon_Item_is_checked_out'));
                        return FALSE;
                      }


Clone Instance
3
Line Count
3
Source Line
53
Source File
installation/models/filesystem.php

                if ($cwd === FALSE) {
                        $this->setError(JText::_('NOPWD'));
                        return FALSE;
                      }


Clone Instance
4
Line Count
3
Source Line
108
Source File
installation/models/filesystem.php

                // Return an error if no root path was found.
                if ($rootPath === FALSE) {
                        $this->setError(JText::_('Unable to autodetect the FTP root folder.'));
                        return FALSE;
                      }


Clone AbstractionParameter Count: 3Parameter Bindings

// Return an error if no root path was found.
// Check if the row is checked-out by someone else.
if ( [[#variable41444b20]]=== [[#variable41444aa0]]) {
  $this->setError(JText::_( [[#variable414449e0]]));
  return FALSE;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#41444b20]]
$cwd 
12[[#41444b20]]
$rootPath 
13[[#41444b20]]
$return 
14[[#41444b20]]
$return 
21[[#41444aa0]]
FALSE 
22[[#41444aa0]]
FALSE 
23[[#41444aa0]]
NULL 
24[[#41444aa0]]
NULL 
31[[#414449e0]]
'NOPWD' 
32[[#414449e0]]
'Unable to autodetect the FTP root folder.' 
33[[#414449e0]]
'JCommon_Item_is_checked_out' 
34[[#414449e0]]
'USERS_MEMBER_CHECKED_OUT'