CloneSet331


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3410.995class_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13800
libraries/bitfolge/feedcreator.php
231543
libraries/bitfolge/feedcreator.php
331747
libraries/bitfolge/feedcreator.php
431786
libraries/bitfolge/feedcreator.php
Clone Instance
1
Line Count
3
Source Line
800
Source File
libraries/bitfolge/feedcreator.php

        /**
         * Generate a filename for the feed cache file. The result will be $_SERVER["PHP_SELF"] with the extension changed to .xml.
         * For example:
         *
         * echo $_SERVER["PHP_SELF"]."\n";
         * echo FeedCreator::_generateFilename();
         *
         * would produce:
         *
         * /rss/latestnews.php
         * latestnews.xml
         *
         * @return string the feed cache filename
         * @since 1.4
         * @access private
         */
        function _generateFilename() {
                $fileInfo=  pathinfo($_SERVER["PHP_SELF"]);
                return substr($fileInfo["basename"],0,-(strlen($fileInfo["extension"])+1))
                       .                                                                   ".xml";
              }


Clone Instance
2
Line Count
3
Source Line
1543
Source File
libraries/bitfolge/feedcreator.php

        /**
         * Generate a filename for the feed cache file. Overridden from FeedCreator to prevent XML data types.
         * @return string the feed cache filename
         * @since 1.4
         * @access private
         */
        function _generateFilename() {
                $fileInfo=  pathinfo($_SERVER["PHP_SELF"]);
                return substr($fileInfo["basename"],0,-(strlen($fileInfo["extension"])+1))
                       .                                                                   ".mbox";
              }


Clone Instance
3
Line Count
3
Source Line
1747
Source File
libraries/bitfolge/feedcreator.php

        /**
         * Overrrides parent to produce .html extensions
         *
         * @return string the feed cache filename
         * @since 1.4
         * @access private
         */
        function _generateFilename() {
                $fileInfo=  pathinfo($_SERVER["PHP_SELF"]);
                return substr($fileInfo["basename"],0,-(strlen($fileInfo["extension"])+1))
                       .                                                                   ".html";
              }


Clone Instance
4
Line Count
3
Source Line
1786
Source File
libraries/bitfolge/feedcreator.php

        /**
         * Overrrides parent to produce .js extensions
         *
         * @return string the feed cache filename
         * @since 1.4
         * @access private
         */
        function _generateFilename() {
                $fileInfo=  pathinfo($_SERVER["PHP_SELF"]);
                return substr($fileInfo["basename"],0,-(strlen($fileInfo["extension"])+1))
                       .                                                                   ".js";
              }


Clone AbstractionParameter Count: 1Parameter Bindings

/**
         * Overrrides parent to produce .js extensions
         *
         * @return string the feed cache filename
         * @since 1.4
         * @access private
         */
/**
         * Overrrides parent to produce .html extensions
         *
         * @return string the feed cache filename
         * @since 1.4
         * @access private
         */
/**
         * Generate a filename for the feed cache file. Overridden from FeedCreator to prevent XML data types.
         * @return string the feed cache filename
         * @since 1.4
         * @access private
         */
/**
         * Generate a filename for the feed cache file. The result will be $_SERVER["PHP_SELF"] with the extension changed to .xml.
         * For example:
         *
         * echo $_SERVER["PHP_SELF"]."\n";
         * echo FeedCreator::_generateFilename();
         *
         * would produce:
         *
         * /rss/latestnews.php
         * latestnews.xml
         *
         * @return string the feed cache filename
         * @since 1.4
         * @access private
         */
function _generateFilename() {
  $fileInfo=pathinfo($_SERVER["PHP_SELF"]);
  return substr($fileInfo["basename"],0,-(strlen($fileInfo["extension"])+1))
         .  [[#variable4a2ad040]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4a2ad040]]
".js" 
12[[#4a2ad040]]
".html" 
13[[#4a2ad040]]
".mbox" 
14[[#4a2ad040]]
".xml"