Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 5 | 0.974 | class_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 49 | plugins/installer/example/example.php |
2 | 2 | 57 | plugins/installer/example/example.php |
| ||||
function onAfterExtensionInstall($installer, $eid) { JError::raiseWarning(-1, 'plgInstallerExample::onAfterExtensionInstall: ' . ($eid === FALSE ? 'Failed extension install: ' . $installer->getError() : 'Extension install successful') . ($eid ? ' with new extension ID ' . $eid : ' with no extension ID detected or multiple extension IDs assigned')); } |
| ||||
function onAfterExtensionUpdate($installer, $eid) { JError::raiseWarning(-1, 'plgInstallerExample::onAfterExtensionUpdate: ' . ($eid === FALSE ? 'Failed extension update: ' . $installer->getError() : 'Extension update successful') . ($eid ? ' with updated extension ID ' . $eid : ' with no extension ID detected or multiple extension IDs assigned')); } |
| |||
function [[#variable22df4920]]($installer,$eid) { JError::raiseWarning(-1, [[#variable22df4860]] . ($eid === FALSE ? [[#variable22df47e0]] . $installer->getError() : [[#variable22df4740]]) . ($eid ? [[#variable22df46c0]] . $eid : ' with no extension ID detected or multiple extension IDs assigned')); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#22df4920]] | onAfterExtensionUpdate |
1 | 2 | [[#22df4920]] | onAfterExtensionInstall |
2 | 1 | [[#22df4860]] | 'plgInstallerExample::onAfterExtensionUpdate: ' |
2 | 2 | [[#22df4860]] | 'plgInstallerExample::onAfterExtensionInstall: ' |
3 | 1 | [[#22df47e0]] | 'Failed extension update: ' |
3 | 2 | [[#22df47e0]] | 'Failed extension install: ' |
4 | 1 | [[#22df4740]] | 'Extension update successful' |
4 | 2 | [[#22df4740]] | 'Extension install successful' |
5 | 1 | [[#22df46c0]] | ' with updated extension ID ' |
5 | 2 | [[#22df46c0]] | ' with new extension ID ' |