Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 4 | 4 | 0.955 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 167 | administrator/components/com_templates/models/source.php |
2 | 2 | 64 | libraries/joomla/form/fields/componentlayouts.php |
3 | 2 | 56 | libraries/joomla/html/parameter/element/componentlayouts.php |
4 | 2 | 287 | libraries/joomla/registry/registry.php |
| ||||
// Read the source file jimport('joomla.filesystem.file'); $content= JFile::read($file); |
| ||||
jimport('joomla.filesystem.file'); $path1= JPath::clean($path1); |
| ||||
jimport('joomla.filesystem.file'); $path1= JPath::clean($path1); |
| ||||
// Get the contents of the file jimport('joomla.filesystem.file'); $data= JFile::read($file); |
| |||
// Get the contents of the file // Read the source file jimport('joomla.filesystem.file'); [[#variable24c90da0]]= [[#variable24c90d00]]:: [[#variable24c90ca0]]( [[#variable24c90cc0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#24c90da0]] | $data |
1 | 2 | [[#24c90da0]] | $path1 |
1 | 3 | [[#24c90da0]] | $content |
1 | 4 | [[#24c90da0]] | $path1 |
2 | 1 | [[#24c90d00]] | JFile |
2 | 2 | [[#24c90d00]] | JPath |
2 | 3 | [[#24c90d00]] | JFile |
2 | 4 | [[#24c90d00]] | JPath |
3 | 1 | [[#24c90ca0]] | read |
3 | 2 | [[#24c90ca0]] | clean |
3 | 3 | [[#24c90ca0]] | read |
3 | 4 | [[#24c90ca0]] | clean |
4 | 1 | [[#24c90cc0]] | $file |
4 | 2 | [[#24c90cc0]] | $path1 |
4 | 3 | [[#24c90cc0]] | $file |
4 | 4 | [[#24c90cc0]] | $path1 |