CloneSet520


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9260.967switch_statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19159
libraries/joomla/application/helper.php
210169
libraries/joomla/application/helper.php
Clone Instance
1
Line Count
9
Source Line
159
Source File
libraries/joomla/application/helper.php

                        case 'helper':
                                $path=    DS
                                          .  'components'
                                          .               DS
                                          .                   $user_option
                                          .                                 DS
                                          .                                     $name
                                          .                                            '.helper.php';
                                $result=  JApplicationHelper::_checkPath($path);
                                break;
                        case 'com_xml':
                                $path=    DS
                                          .  'components'
                                          .               DS
                                          .                   $user_option
                                          .                                 DS
                                          .                                     $name
                                          .                                            '.xml';
                                $result=  JApplicationHelper::_checkPath($path, 1);
                                break;


Clone Instance
2
Line Count
10
Source Line
169
Source File
libraries/joomla/application/helper.php

                        case 'mod0_xml':
                                $path=  DS
                                        .  'modules'
                                        .            DS
                                        .                $user_option
                                        .                              DS
                                        .                                  $user_option
                                        .                                                '.xml';
                                $result=  JApplicationHelper::_checkPath($path);
                                break;
                        case 'mod1_xml':
                                // admin modules
                                $path=  DS
                                        .  'modules'
                                        .            DS
                                        .                $user_option
                                        .                              DS
                                        .                                  $user_option
                                        .                                                '.xml';
                                $result=  JApplicationHelper::_checkPath($path, -1);
                                break;


Clone AbstractionParameter Count: 6Parameter Bindings

case [[#variable52505080]]:
  $path=DS
        .  [[#variable52505000]]
        . DS
        . $user_option
        . DS
        .  [[#variable52504f80]]
        .  [[#variable52504ee0]];
  $result=JApplicationHelper::_checkPath($path);
  break;
case [[#variable52504ea0]]:
  // admin modules
  $path=DS
        .  [[#variable52505000]]
        . DS
        . $user_option
        . DS
        .  [[#variable52504f80]]
        . '.xml';
  $result=JApplicationHelper::_checkPath($path, [[#variable52504ec0]]);
  break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#52505080]]
'helper' 
12[[#52505080]]
'mod0_xml' 
21[[#52505000]]
'components' 
22[[#52505000]]
'modules' 
31[[#52504f80]]
$name 
32[[#52504f80]]
$user_option 
41[[#52504ee0]]
'.helper.php' 
42[[#52504ee0]]
'.xml' 
51[[#52504ea0]]
'com_xml' 
52[[#52504ea0]]
'mod1_xml' 
61[[#52504ec0]]
1 
62[[#52504ec0]]
-1