CloneSet628


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.993statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1557
libraries/phpxmlrpc/compat/version_compare.php
2563
libraries/phpxmlrpc/compat/version_compare.php
Clone Instance
1
Line Count
5
Source Line
57
Source File
libraries/phpxmlrpc/compat/version_compare.php

        // Standardise versions
        $v1=  explode('.',
            str_replace('..', '.',
                preg_replace('/([^0-9\\.]+)/','.$1.',
                    str_replace(array( '-', '_', '+'
                                     ),               '.',trim($version1)))));


Clone Instance
2
Line Count
5
Source Line
63
Source File
libraries/phpxmlrpc/compat/version_compare.php

        $v2=  explode('.',
            str_replace('..', '.',
                preg_replace('/([^0-9\\.]+)/','.$1.',
                    str_replace(array( '-', '_', '+'
                                     ),               '.',trim($version2)))));


Clone AbstractionParameter Count: 2Parameter Bindings

 [[#variable3cfb8ae0]]=explode('.',str_replace('..','.',preg_replace('/([^0-9\\.]+)/','.$1.',str_replace(array( '-',
                                                                                                                '_',
                                                                                                                '+'
                                                                                                              ),'.',trim( [[#variable3cfb8ba0]])))));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#3cfb8ae0]]
$v2 
12[[#3cfb8ae0]]
// Standardise versions
$v1 
21[[#3cfb8ba0]]
$version2 
22[[#3cfb8ba0]]
$version1