Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.982 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 139 | libraries/joomla/filesystem/archive/gzip.php |
2 | 4 | 145 | libraries/joomla/filesystem/archive/gzip.php |
| ||||
if ($info['FLG']& $this->_flags['FNAME']) { $filenamePos= strpos($this->_data ,"\000",$position); $filename= substr($this->_data ,$position, $filenamePos- $position); $position= $filenamePos+ 1; } |
| ||||
if ($info['FLG']& $this->_flags['FCOMMENT']) { $commentPos= strpos($this->_data ,"\000",$position); $comment= substr($this->_data ,$position, $commentPos- $position); $position= $commentPos+ 1; } |
| |||
if ($info['FLG']&$this->_flags[ [[#variable3f72a100]]]) { [[#variable3f72a080]]=strpos($this->_data ,"\000",$position); [[#variable3f72a0c0]]=substr($this->_data ,$position, [[#variable3f72a080]]-$position); $position= [[#variable3f72a080]]+1; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#3f72a100]] | 'FCOMMENT' |
1 | 2 | [[#3f72a100]] | 'FNAME' |
2 | 1 | [[#3f72a080]] | $commentPos |
2 | 2 | [[#3f72a080]] | $filenamePos |
3 | 1 | [[#3f72a0c0]] | $comment |
3 | 2 | [[#3f72a0c0]] | $filename |