CloneSet263


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
21301.000statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
121314
administrator/components/com_redirect/models/link.php
221301
installation/models/setup.php
321119
libraries/joomla/application/component/modelform.php
Clone Instance
1
Line Count
21
Source Line
314
Source File
administrator/components/com_redirect/models/link.php

                // Filter and validate the form data.
                $data=    $form->filter($data);
                $return=  $form->validate($data);

                // Check for an error.
                if (JError::isError($return)) {
                        $this->setError($return->getMessage());
                        return FALSE;
                      }

                // Check the validation results.
                if ($return === FALSE)
                {
                        // Get the validation messages from the form.
                        foreach ($form->getErrors() as $message) {
                                $this->setError($message);
                              }

                        return FALSE;
                      }

                return $data;


Clone Instance
2
Line Count
21
Source Line
301
Source File
installation/models/setup.php

                // Filter and validate the form data.
                $data=  $form->filter($data);
                $return=  $form->validate($data);

                // Check for an error.
                if (JError::isError($return)) {
                        $this->setError($return->getMessage());
                        return FALSE;
                      }

                // Check the validation results.
                if ($return === FALSE)
                {
                        // Get the validation messages from the form.
                        foreach ($form->getErrors() as $message) {
                                $this->setError($message);
                              }

                        return FALSE;
                      }

                return $data;


Clone Instance
3
Line Count
21
Source Line
119
Source File
libraries/joomla/application/component/modelform.php

                // Filter and validate the form data.
                $data=    $form->filter($data);
                $return=  $form->validate($data);

                // Check for an error.
                if (JError::isError($return)) {
                        $this->setError($return->getMessage());
                        return FALSE;
                      }

                // Check the validation results.
                if ($return === FALSE)
                {
                        // Get the validation messages from the form.
                        foreach ($form->getErrors() as $message) {
                                $this->setError($message);
                              }

                        return FALSE;
                      }

                return $data;


Clone AbstractionParameter Count: 0Parameter Bindings

// Filter and validate the form data.
$data=$form->filter($data);
$return=$form->validate($data);
// Check for an error.
if (JError::isError($return)) {
  $this->setError($return->getMessage());
  return FALSE;
}
// Check the validation results.
if ($return === FALSE) {
  // Get the validation messages from the form.
  foreach ($form->getErrors() as $message) {
    $this->setError($message);
  }
  return FALSE;
}
return $data;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None