CloneSet1497


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5201.000if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1540
libraries/joomla/filesystem/archive/bzip2.php
25356
libraries/joomla/filesystem/archive/zip.php
Clone Instance
1
Line Count
5
Source Line
40
Source File
libraries/joomla/filesystem/archive/bzip2.php

                // Is bz2 extension loaded?  If not try to load it
                if (!extension_loaded('bz2')) {
                        if (JPATH_ISWIN) {
                                @ dl('php_bz2.dll');
                              }
                        else   {
                                @ dl('bz2.so');
                              }
                      }


Clone Instance
2
Line Count
5
Source Line
356
Source File
libraries/joomla/filesystem/archive/zip.php

                        // Is bz2 extension loaded?  If not try to load it
                        if (!extension_loaded('bz2')) {
                                if (JPATH_ISWIN) {
                                        @ dl('php_bz2.dll');
                                      }
                                else   {
                                        @ dl('bz2.so');
                                      }
                              }


Clone AbstractionParameter Count: 0Parameter Bindings

// Is bz2 extension loaded?  If not try to load it
if (!extension_loaded('bz2')) {
  if (JPATH_ISWIN) {
    @dl('php_bz2.dll');
  }
  else {
    @dl('bz2.so');
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None