CloneSet859


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10201.000if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110115
libraries/joomla/document/error/error.php
210312
libraries/joomla/document/html/html.php
Clone Instance
1
Line Count
10
Source Line
115
Source File
libraries/joomla/document/error/error.php

                //Check to see if we have a valid template file
                if (file_exists($directory
                                .          DS
                                .             $filename)) {
                        //store the file path
                        $this->_file = $directory
                                       .          DS
                                       .             $filename;
                        //get the file content
                        ob_start();
                        require_once $directory
                                     .          DS
                                     .             $filename;
                        $contents=  ob_get_contents();
                        ob_end_clean();
                      }


Clone Instance
2
Line Count
10
Source Line
312
Source File
libraries/joomla/document/html/html.php

                //Check to see if we have a valid template file
                if (file_exists($directory
                                .          DS
                                .             $filename)) {
                        //store the file path
                        $this->_file = $directory
                                       .          DS
                                       .             $filename;
                        //get the file content
                        ob_start();
                        require_once $directory
                                     .          DS
                                     .             $filename;
                        $contents=  ob_get_contents();
                        ob_end_clean();
                      }


Clone AbstractionParameter Count: 0Parameter Bindings

//Check to see if we have a valid template file
if (file_exists($directory
                . DS
                . $filename)) {
  //store the file path
  $this->_file =$directory
                . DS
                . $filename;
  //get the file content
  ob_start();
  require_once $directory
               . DS
               . $filename;
  $contents=ob_get_contents();
  ob_end_clean();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None