Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 3 | 4 | 0.976 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 169 | components/com_contact/router.php |
2 | 7 | 185 | components/com_contact/router.php |
3 | 7 | 198 | 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; |
| ||||
// 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; |
| ||||
// 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; |
| |||
// 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#233e1fc0]] | 1 |
1 | 2 | [[#233e1fc0]] | 0 |
1 | 3 | [[#233e1fc0]] | 1 |
2 | 1 | [[#233e1ec0]] | $id |
2 | 2 | [[#233e1ec0]] | $catid |
2 | 3 | [[#233e1ec0]] | $id |
3 | 1 | [[#233e1f00]] | 'contact' |
3 | 2 | [[#233e1f00]] | 'category' |
3 | 3 | [[#233e1f00]] | 'contact' |
4 | 1 | [[#233e1ee0]] | 'id' |
4 | 2 | [[#233e1ee0]] | 'catid' |
4 | 3 | [[#233e1ee0]] | 'id' |