Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.965 | function_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 444 | libraries/joomla/application/component/controller.php |
2 | 4 | 279 | libraries/joomla/application/component/model.php |
| ||||
/** * Adds to the stack of model paths in LIFO order. * * @static * @param string|array The directory (string), or list of directories * (array) to add. * @return void */ function addModelPath($path) { jimport('joomla.application.component.model'); JModel::addIncludePath($path); } |
| ||||
function addTablePath($path) { jimport('joomla.database.table'); JTable::addIncludePath($path); } |
| |||
/** * Adds to the stack of model paths in LIFO order. * * @static * @param string|array The directory (string), or list of directories * (array) to add. * @return void */ function [[#variable44b02c00]]($path) { jimport( [[#variable44b02b80]]); [[#variable44b02b00]]::addIncludePath($path); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#44b02c00]] | addModelPath |
1 | 2 | [[#44b02c00]] | addTablePath |
2 | 1 | [[#44b02b80]] | 'joomla.application.component.model' |
2 | 2 | [[#44b02b80]] | 'joomla.database.table' |
3 | 1 | [[#44b02b00]] | JModel |
3 | 2 | [[#44b02b00]] | JTable |