CloneSet315


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7340.976statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17169
components/com_contact/router.php
27185
components/com_contact/router.php
37198
components/com_contact/router.php
Clone Instance
1
Line Count
7
Source Line
169
Source File
components/com_contact/router.php

                        // Break up the contact id into numeric and alias values.
                        if ( isset ($segments[1])
                             &&                     strpos($segments[1], ':')) {
                                list ($id, $alias)= explode(':', $segments[1], 2);
                              }
                        // Contact view.
                        $vars['view']=    'contact';
                        $vars['id']=              $id;


Clone Instance
2
Line Count
7
Source Line
185
Source File
components/com_contact/router.php

                        // Break up the contact id into numeric and alias values.
                        if ( isset ($segments[1])
                             &&                     strpos($segments[1], ':')) {
                                list ($id, $alias)= explode(':', $segments[1], 2);
                              }
                        // Contact view.
                        $vars['view']=    'contact';
                        $vars['id']=              $id;


Clone Instance
3
Line Count
7
Source Line
198
Source File
components/com_contact/router.php

                        // Break up the category id into numeric and alias values.
                        if ( isset ($segments[0])
                             &&                     strpos($segments[0], ':')) {
                                list ($catid, $alias)= explode(':', $segments[0], 2);
                              }
                        // Category view.
                        $vars['view']=    'category';
                        $vars['catid']=   $catid;


Clone AbstractionParameter Count: 4Parameter Bindings

// Break up the contact id into numeric and alias values.
// Break up the category id into numeric and alias values.
if ( isset ($segments[ [[#variable233e1fc0]]])
     && strpos($segments[ [[#variable233e1fc0]]],':')) {
  list ( [[#variable233e1ec0]],$alias)=explode(':',$segments[ [[#variable233e1fc0]]],2);
}
// Contact view.
// Category view.
$vars['view']= [[#variable233e1f00]];
$vars[ [[#variable233e1ee0]]]= [[#variable233e1ec0]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#233e1fc0]]
1 
12[[#233e1fc0]]
0 
13[[#233e1fc0]]
1 
21[[#233e1ec0]]
$id 
22[[#233e1ec0]]
$catid 
23[[#233e1ec0]]
$id 
31[[#233e1f00]]
'contact' 
32[[#233e1f00]]
'category' 
33[[#233e1f00]]
'contact' 
41[[#233e1ee0]]
'id' 
42[[#233e1ee0]]
'catid' 
43[[#233e1ee0]]
'id'