CloneSet286


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10520.973statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110582
libraries/joomla/installer/installer.php
210815
libraries/joomla/installer/installer.php
310923
libraries/joomla/installer/installer.php
4101003
libraries/joomla/installer/installer.php
5101148
libraries/joomla/installer/installer.php
Clone Instance
1
Line Count
10
Source Line
582
Source File
libraries/joomla/installer/installer.php

                if (!($element instanceof JSimpleXMLElement)
                    ||                                          !count($element->children())) {
                        // Either the tag does not exist or has no children therefore we return zero files processed.
                        return 0;
                      }
                // Get the array of query nodes to process
                $queries=  $element->children();
                if (count($queries) == 0) {
                        // No queries to process
                        return 0;
                      }


Clone Instance
2
Line Count
10
Source Line
815
Source File
libraries/joomla/installer/installer.php

                if (!($element instanceof JSimpleXMLElement)
                    ||                                          !count($element->children())) {
                        // Either the tag does not exist or has no children therefore we return zero files processed.
                        return 0;
                      }
                // Get the array of file nodes to process
                $files=  $element->children();
                if (count($files) == 0) {
                        // No files to process
                        return 0;
                      }


Clone Instance
3
Line Count
10
Source Line
923
Source File
libraries/joomla/installer/installer.php

                if (!($element instanceof JSimpleXMLElement)
                    ||                                          !count($element->children())) {
                        // Either the tag does not exist or has no children therefore we return zero files processed.
                        return 0;
                      }
                // Get the array of file nodes to process
                $files=  $element->children();
                if (count($files) == 0) {
                        // No files to process
                        return 0;
                      }


Clone Instance
4
Line Count
10
Source Line
1003
Source File
libraries/joomla/installer/installer.php

                if (!($element instanceof JSimpleXMLElement)
                    ||                                          !count($element->children())) {
                        // Either the tag does not exist or has no children therefore we return zero files processed.
                        return NULL;
                      }
                // Get the array of parameter nodes to process
                $params=  $element->children();
                if (count($params) == 0) {
                        // No params to process
                        return NULL;
                      }


Clone Instance
5
Line Count
10
Source Line
1148
Source File
libraries/joomla/installer/installer.php

                if (!($element instanceof JSimpleXMLElement)
                    ||                                          !count($element->children())) {
                        // Either the tag does not exist or has no children therefore we return zero files processed.
                        return TRUE;
                      }
                // Get the array of file nodes to process
                $files=  $element->children();
                if (count($files) == 0) {
                        // No files to process
                        return TRUE;
                      }


Clone AbstractionParameter Count: 2Parameter Bindings

if (!($element instanceof JSimpleXMLElement)
    || !count($element->children())) {
  // Either the tag does not exist or has no children therefore we return zero files processed.
  return [[#variable21f19c60]];
}
 [[#variable21f19a60]]=$element->children();
if (count( [[#variable21f19a60]]) == 0) {
  // No queries to process
  // No files to process
  // No params to process
  return [[#variable21f19c60]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#21f19c60]]
0 
12[[#21f19c60]]
0 
13[[#21f19c60]]
TRUE 
14[[#21f19c60]]
NULL 
15[[#21f19c60]]
0 
21[[#21f19a60]]
// Get the array of query nodes to process
$queries 
22[[#21f19a60]]
// Get the array of file nodes to process
$files 
23[[#21f19a60]]
// Get the array of file nodes to process
$files 
24[[#21f19a60]]
// Get the array of parameter nodes to process
$params 
25[[#21f19a60]]
// Get the array of file nodes to process
$files