CloneSet1058


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13265
libraries/joomla/installer/adapters/library.php
23468
libraries/joomla/installer/adapters/plugin.php
Clone Instance
1
Line Count
3
Source Line
265
Source File
libraries/joomla/installer/adapters/library.php

                                $files=  JFolder::files($this->parent->getPath('extension_root'));
                                if (!count($files)) {
                                        JFolder::delete($this->parent->getPath('extension_root'));
                                      }


Clone Instance
2
Line Count
3
Source Line
468
Source File
libraries/joomla/installer/adapters/plugin.php

                // If the folder is empty, let's delete it
                $files=  JFolder::files($this->parent->getPath('extension_root'));
                if (!count($files)) {
                        JFolder::delete($this->parent->getPath('extension_root'));
                      }


Clone AbstractionParameter Count: 0Parameter Bindings

// If the folder is empty, let's delete it
$files=JFolder::files($this->parent->getPath('extension_root'));
if (!count($files)) {
  JFolder::delete($this->parent->getPath('extension_root'));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None