Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 6 | 0.967 | switch_statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 159 | libraries/joomla/application/helper.php |
2 | 10 | 169 | 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; |
| ||||
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; |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#52505080]] | 'helper' |
1 | 2 | [[#52505080]] | 'mod0_xml' |
2 | 1 | [[#52505000]] | 'components' |
2 | 2 | [[#52505000]] | 'modules' |
3 | 1 | [[#52504f80]] | $name |
3 | 2 | [[#52504f80]] | $user_option |
4 | 1 | [[#52504ee0]] | '.helper.php' |
4 | 2 | [[#52504ee0]] | '.xml' |
5 | 1 | [[#52504ea0]] | 'com_xml' |
5 | 2 | [[#52504ea0]] | 'mod1_xml' |
6 | 1 | [[#52504ec0]] | 1 |
6 | 2 | [[#52504ec0]] | -1 |