CloneSet57


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12640.960statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11201
administrator/components/com_banners/views/banner.php
21138
administrator/components/com_banners/views/client.php
31378
administrator/components/com_config/controllers/application.php
4156
administrator/components/com_massmail/admin.massmail.php
5166
administrator/components/com_massmail/admin.massmail.php
6138
administrator/components/com_media/controllers/file.php
7139
administrator/components/com_media/controllers/file.php
81143
administrator/components/com_media/controllers/file.php
9145
administrator/components/com_media/controllers/folder.php
101105
administrator/components/com_media/controllers/folder.php
11132
administrator/components/com_media/models/list.php
12130
administrator/components/com_media/models/manager.php
131300
administrator/components/com_modules/models/module.php
14134
administrator/components/com_modules/views/module/view.html.php
15149
administrator/components/com_templates/controller.php
16187
administrator/components/com_templates/controller.php
171110
administrator/components/com_templates/controller.php
181141
administrator/components/com_templates/controller.php
19165
administrator/components/com_templates/models/cssedit.php
20158
administrator/components/com_templates/models/source.php
21173
administrator/components/com_templates/models/template.php
221148
administrator/components/com_templates/models/template.php
231149
administrator/components/com_templates/models/template.php
24142
administrator/components/com_templates/views/csschoose/view.html.php
25138
administrator/components/com_templates/views/prevuuw/view.html.php
26180
components/com_users/controllers/user.php
Clone Instance
1
Line Count
1
Source Line
201
Source File
administrator/components/com_banners/views/banner.php

                $task=  JRequest::getVar('task', '', 'method', 'string');


Clone Instance
2
Line Count
1
Source Line
138
Source File
administrator/components/com_banners/views/client.php

                $task=  JRequest::getVar('task', '', 'method', 'string');


Clone Instance
3
Line Count
1
Source Line
378
Source File
administrator/components/com_config/controllers/application.php

                // handling of quotes (double and single) and amp characters
                // htmlspecialchars not used to preserve ability to insert other html characters
                $offline_message=         JRequest::getVar('offline_message', '', 'post', 'string');


Clone Instance
4
Line Count
1
Source Line
56
Source File
administrator/components/com_massmail/admin.massmail.php

        $subject=                         JRequest::getVar('mm_subject', '', 'post', 'string');


Clone Instance
5
Line Count
1
Source Line
66
Source File
administrator/components/com_massmail/admin.massmail.php

                // automatically removes html formatting
                $message_body=    JRequest::getVar('mm_message', '', 'post', 'string');


Clone Instance
6
Line Count
1
Source Line
38
Source File
administrator/components/com_media/controllers/file.php

                $file=            JRequest::getVar('Filedata', '', 'files', 'array');


Clone Instance
7
Line Count
1
Source Line
39
Source File
administrator/components/com_media/controllers/file.php

                $folder=          JRequest::getVar('folder', '', '', 'path');


Clone Instance
8
Line Count
1
Source Line
143
Source File
administrator/components/com_media/controllers/file.php

                $folder=  JRequest::getVar('folder', '', '', 'path');


Clone Instance
9
Line Count
1
Source Line
45
Source File
administrator/components/com_media/controllers/folder.php

                $folder=  JRequest::getVar('folder', '', '', 'path');


Clone Instance
10
Line Count
1
Source Line
105
Source File
administrator/components/com_media/controllers/folder.php

                $parent=                  JRequest::getVar('folderbase', '', '', 'path');


Clone Instance
11
Line Count
1
Source Line
32
Source File
administrator/components/com_media/models/list.php

                        $folder=  JRequest::getVar('folder', '', '', 'path');


Clone Instance
12
Line Count
1
Source Line
30
Source File
administrator/components/com_media/models/manager.php

                        $folder=  JRequest::getVar('folder', '', '', 'path');


Clone Instance
13
Line Count
1
Source Line
300
Source File
administrator/components/com_modules/models/module.php

                $menus=  JRequest::getVar('menus', '', 'post', 'word');


Clone Instance
14
Line Count
1
Source Line
34
Source File
administrator/components/com_modules/views/module/view.html.php

                $module=  JRequest::getVar('module', '', '', 'cmd');


Clone Instance
15
Line Count
1
Source Line
49
Source File
administrator/components/com_templates/controller.php

                $option=          JRequest::getVar('option', '', '', 'cmd');


Clone Instance
16
Line Count
1
Source Line
87
Source File
administrator/components/com_templates/controller.php

                $option=          JRequest::getVar('option', '', '', 'cmd');


Clone Instance
17
Line Count
1
Source Line
110
Source File
administrator/components/com_templates/controller.php

                $option=          JRequest::getVar('option', '', '', 'cmd');


Clone Instance
18
Line Count
1
Source Line
141
Source File
administrator/components/com_templates/controller.php

                // Check for request forgeries
//TODO: FIX TOKEN
                //JRequest::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
                $option=          JRequest::getVar('option', '', '', 'cmd');


Clone Instance
19
Line Count
1
Source Line
65
Source File
administrator/components/com_templates/models/cssedit.php

                $id=      JRequest::getVar('id', '', 'method', 'cmd');


Clone Instance
20
Line Count
1
Source Line
58
Source File
administrator/components/com_templates/models/source.php

                $id=      JRequest::getVar('id', '', 'method', 'cmd');


Clone Instance
21
Line Count
1
Source Line
73
Source File
administrator/components/com_templates/models/template.php

                $id=                      JRequest::getVar('id', '', 'method', 'int');


Clone Instance
22
Line Count
1
Source Line
148
Source File
administrator/components/com_templates/models/template.php

                $menutype=                JRequest::getVar('menus', '', 'post', 'string');


Clone Instance
23
Line Count
1
Source Line
149
Source File
administrator/components/com_templates/models/template.php

                $description=  JRequest::getVar('description', '', 'post', 'string');


Clone Instance
24
Line Count
1
Source Line
42
Source File
administrator/components/com_templates/views/csschoose/view.html.php

                $id=              JRequest::getVar('id', '', 'method', 'int');


Clone Instance
25
Line Count
1
Source Line
38
Source File
administrator/components/com_templates/views/prevuuw/view.html.php

                $id=              JRequest::getVar('id', '', 'method', 'int');


Clone Instance
26
Line Count
1
Source Line
80
Source File
components/com_users/controllers/user.php

                        // Get the return url from the request and validate that it is internal.
                        $return=  JRequest::getVar('return', '', 'method', 'base64');


Clone AbstractionParameter Count: 4Parameter Bindings

 [[#variable4c6af5a0]]=JRequest::getVar( [[#variable4c6af500]],'', [[#variable4c6af4a0]], [[#variable4c6af440]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4c6af5a0]]
$task 
12[[#4c6af5a0]]
$id 
13[[#4c6af5a0]]
$folder 
14[[#4c6af5a0]]
$option 
15[[#4c6af5a0]]
$id 
16[[#4c6af5a0]]
// automatically removes html formatting
$message_body 
17[[#4c6af5a0]]
$menus 
18[[#4c6af5a0]]
// handling of quotes (double and single) and amp characters
// htmlspecialchars not used to preserve ability to insert other html characters
$offline_message 
19[[#4c6af5a0]]
$subject 
110[[#4c6af5a0]]
$file 
111[[#4c6af5a0]]
$parent 
112[[#4c6af5a0]]
$module 
113[[#4c6af5a0]]
$description 
114[[#4c6af5a0]]
// Get the return url from the request and validate that it is internal.
$return 
115[[#4c6af5a0]]
$menutype 
116[[#4c6af5a0]]
$folder 
117[[#4c6af5a0]]
$folder 
118[[#4c6af5a0]]
$option 
119[[#4c6af5a0]]
$id 
120[[#4c6af5a0]]
// Check for request forgeries
//TODO: FIX TOKEN
//JRequest::checkToken() or jexit(JText::_('JINVALID_TOKEN'));
$option 
121[[#4c6af5a0]]
$folder 
122[[#4c6af5a0]]
$task 
123[[#4c6af5a0]]
$id 
124[[#4c6af5a0]]
$id 
125[[#4c6af5a0]]
$folder 
126[[#4c6af5a0]]
$option 
21[[#4c6af500]]
'task' 
22[[#4c6af500]]
'id' 
23[[#4c6af500]]
'folder' 
24[[#4c6af500]]
'option' 
25[[#4c6af500]]
'id' 
26[[#4c6af500]]
'mm_message' 
27[[#4c6af500]]
'menus' 
28[[#4c6af500]]
'offline_message' 
29[[#4c6af500]]
'mm_subject' 
210[[#4c6af500]]
'Filedata' 
211[[#4c6af500]]
'folderbase' 
212[[#4c6af500]]
'module' 
213[[#4c6af500]]
'description' 
214[[#4c6af500]]
'return' 
215[[#4c6af500]]
'menus' 
216[[#4c6af500]]
'folder' 
217[[#4c6af500]]
'folder' 
218[[#4c6af500]]
'option' 
219[[#4c6af500]]
'id' 
220[[#4c6af500]]
'option' 
221[[#4c6af500]]
'folder' 
222[[#4c6af500]]
'task' 
223[[#4c6af500]]
'id' 
224[[#4c6af500]]
'id' 
225[[#4c6af500]]
'folder' 
226[[#4c6af500]]
'option' 
31[[#4c6af4a0]]
'method' 
32[[#4c6af4a0]]
'method' 
33[[#4c6af4a0]]
'' 
34[[#4c6af4a0]]
'' 
35[[#4c6af4a0]]
'method' 
36[[#4c6af4a0]]
'post' 
37[[#4c6af4a0]]
'post' 
38[[#4c6af4a0]]
'post' 
39[[#4c6af4a0]]
'post' 
310[[#4c6af4a0]]
'files' 
311[[#4c6af4a0]]
'' 
312[[#4c6af4a0]]
'' 
313[[#4c6af4a0]]
'post' 
314[[#4c6af4a0]]
'method' 
315[[#4c6af4a0]]
'post' 
316[[#4c6af4a0]]
'' 
317[[#4c6af4a0]]
'' 
318[[#4c6af4a0]]
'' 
319[[#4c6af4a0]]
'method' 
320[[#4c6af4a0]]
'' 
321[[#4c6af4a0]]
'' 
322[[#4c6af4a0]]
'method' 
323[[#4c6af4a0]]
'method' 
324[[#4c6af4a0]]
'method' 
325[[#4c6af4a0]]
'' 
326[[#4c6af4a0]]
'' 
41[[#4c6af440]]
'string' 
42[[#4c6af440]]
'int' 
43[[#4c6af440]]
'path' 
44[[#4c6af440]]
'cmd' 
45[[#4c6af440]]
'cmd' 
46[[#4c6af440]]
'string' 
47[[#4c6af440]]
'word' 
48[[#4c6af440]]
'string' 
49[[#4c6af440]]
'string' 
410[[#4c6af440]]
'array' 
411[[#4c6af440]]
'path' 
412[[#4c6af440]]
'cmd' 
413[[#4c6af440]]
'string' 
414[[#4c6af440]]
'base64' 
415[[#4c6af440]]
'string' 
416[[#4c6af440]]
'path' 
417[[#4c6af440]]
'path' 
418[[#4c6af440]]
'cmd' 
419[[#4c6af440]]
'int' 
420[[#4c6af440]]
'cmd' 
421[[#4c6af440]]
'path' 
422[[#4c6af440]]
'string' 
423[[#4c6af440]]
'cmd' 
424[[#4c6af440]]
'int' 
425[[#4c6af440]]
'path' 
426[[#4c6af440]]
'cmd'