CloneSet219


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3820.987if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1357
administrator/components/com_templates/controller.php
2393
administrator/components/com_templates/controller.php
33118
administrator/components/com_templates/controller.php
43148
administrator/components/com_templates/controller.php
53197
administrator/components/com_templates/controller.php
63202
administrator/components/com_templates/controller.php
73266
administrator/components/com_templates/controller.php
83271
administrator/components/com_templates/controller.php
Clone Instance
1
Line Count
3
Source Line
57
Source File
administrator/components/com_templates/controller.php

                if (!$template) {
                        $this->setRedirect('index.php?option='
                                           .                   $option
                                           .                           '&client='
                                           .                                      $client->id ,JText::_('Operation Failed')
                                                                                               .                            ': '
                                                                                               .                                 JText::_('No template specified.'));
                        return;
                      }


Clone Instance
2
Line Count
3
Source Line
93
Source File
administrator/components/com_templates/controller.php

                if (!$template) {
                        $this->setRedirect('index.php?option='
                                           .                   $option
                                           .                           '&client='
                                           .                                      $client->id ,JText::_('Operation Failed')
                                                                                               .                            ': '
                                                                                               .                                 JText::_('No template specified.'));
                        return;
                      }


Clone Instance
3
Line Count
3
Source Line
118
Source File
administrator/components/com_templates/controller.php

                if (!$template) {
                        $this->setRedirect('index.php?option='
                                           .                   $option
                                           .                           '&client='
                                           .                                      $client->id ,JText::_('Operation Failed')
                                                                                               .                            ': '
                                                                                               .                                 JText::_('No template specified.'));
                        return;
                      }


Clone Instance
4
Line Count
3
Source Line
148
Source File
administrator/components/com_templates/controller.php

                if (!$template) {
                        $this->setRedirect('index.php?option='
                                           .                   $option
                                           .                           '&client='
                                           .                                      $client->id ,JText::_('Operation Failed')
                                                                                               .                            ': '
                                                                                               .                                 JText::_('No template specified.'));
                        return;
                      }


Clone Instance
5
Line Count
3
Source Line
197
Source File
administrator/components/com_templates/controller.php

                if (!$template) {
                        $this->setRedirect('index.php?option='
                                           .                   $option
                                           .                           '&client='
                                           .                                      $client->id ,JText::_('Operation Failed')
                                                                                               .                            ': '
                                                                                               .                                 JText::_('No template specified.'));
                        return;
                      }


Clone Instance
6
Line Count
3
Source Line
202
Source File
administrator/components/com_templates/controller.php

                if (!$filecontent) {
                        $this->setRedirect('index.php?option='
                                           .                   $option
                                           .                           '&client='
                                           .                                      $client->id ,JText::_('Operation Failed')
                                                                                               .                            ': '
                                                                                               .                                 JText::_('Content empty.'));
                        return;
                      }


Clone Instance
7
Line Count
3
Source Line
266
Source File
administrator/components/com_templates/controller.php

                if (!$template) {
                        $this->setRedirect('index.php?option='
                                           .                   $option
                                           .                           '&client='
                                           .                                      $client->id ,JText::_('Operation Failed')
                                                                                               .                            ': '
                                                                                               .                                 JText::_('No template specified.'));
                        return;
                      }


Clone Instance
8
Line Count
3
Source Line
271
Source File
administrator/components/com_templates/controller.php

                if (!$filecontent) {
                        $this->setRedirect('index.php?option='
                                           .                   $option
                                           .                           '&client='
                                           .                                      $client->id ,JText::_('Operation Failed')
                                                                                               .                            ': '
                                                                                               .                                 JText::_('Content empty.'));
                        return;
                      }


Clone AbstractionParameter Count: 2Parameter Bindings

if (! [[#variable4664e4e0]]) {
  $this->setRedirect('index.php?option='
                     . $option
                     . '&client='
                     . $client->id ,JText::_('Operation Failed')
                                    . ': '
                                    . JText::_( [[#variable4664eb00]]));
  return;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4664e4e0]]
$template 
12[[#4664e4e0]]
$filecontent 
13[[#4664e4e0]]
$template 
14[[#4664e4e0]]
$template 
15[[#4664e4e0]]
$template 
16[[#4664e4e0]]
$template 
17[[#4664e4e0]]
$template 
18[[#4664e4e0]]
$filecontent 
21[[#4664eb00]]
'No template specified.' 
22[[#4664eb00]]
'Content empty.' 
23[[#4664eb00]]
'No template specified.' 
24[[#4664eb00]]
'No template specified.' 
25[[#4664eb00]]
'No template specified.' 
26[[#4664eb00]]
'No template specified.' 
27[[#4664eb00]]
'No template specified.' 
28[[#4664eb00]]
'Content empty.'