CloneSet1256


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8230.972statement_block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17121
libraries/joomla/application/component/model.php
28116
libraries/joomla/database/table.php
Clone Instance
1
Line Count
7
Source Line
121
Source File
libraries/joomla/application/component/model.php

                        {
                                require_once $path;

                                if (!class_exists($modelClass))
                                {
                                        JError::raiseWarning(0, 'Model class '
                                                                .                $modelClass
                                                                .                              ' not found in file.');
                                        return $result;
                                      }
                              }


Clone Instance
2
Line Count
8
Source Line
116
Source File
libraries/joomla/database/table.php

                        {
                                // Import the class file.
                                require_once $path;

                                // If we were unable to load the proper class, raise a warning and return false.
                                if (!class_exists($tableClass)) {
                                        JError::raiseWarning(0, 'Table class '
                                                                .                $tableClass
                                                                .                              ' not found in file.');
                                        return $false;
                                      }
                              }


Clone AbstractionParameter Count: 3Parameter Bindings

{
  // Import the class file.
  require_once $path;
  // If we were unable to load the proper class, raise a warning and return false.
  if (!class_exists( [[#variable20e46da0]])) {
    JError::raiseWarning(0, [[#variable20e46ce0]]
                           .  [[#variable20e46da0]]
                           . ' not found in file.');
    return [[#variable20e46c40]];
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#20e46da0]]
$tableClass 
12[[#20e46da0]]
$modelClass 
21[[#20e46ce0]]
'Table class ' 
22[[#20e46ce0]]
'Model class ' 
31[[#20e46c40]]
$false 
32[[#20e46c40]]
$result