Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 5 | 2 | 0.973 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 582 | libraries/joomla/installer/installer.php |
2 | 10 | 815 | libraries/joomla/installer/installer.php |
3 | 10 | 923 | libraries/joomla/installer/installer.php |
4 | 10 | 1003 | libraries/joomla/installer/installer.php |
5 | 10 | 1148 | 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; } |
| ||||
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; } |
| ||||
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; } |
| ||||
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; } |
| ||||
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; } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#21f19c60]] | 0 |
1 | 2 | [[#21f19c60]] | 0 |
1 | 3 | [[#21f19c60]] | TRUE |
1 | 4 | [[#21f19c60]] | NULL |
1 | 5 | [[#21f19c60]] | 0 |
2 | 1 | [[#21f19a60]] | // Get the array of query nodes to process $queries |
2 | 2 | [[#21f19a60]] | // Get the array of file nodes to process $files |
2 | 3 | [[#21f19a60]] | // Get the array of file nodes to process $files |
2 | 4 | [[#21f19a60]] | // Get the array of parameter nodes to process $params |
2 | 5 | [[#21f19a60]] | // Get the array of file nodes to process $files |