Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
21 | 3 | 0 | 1.000 | statement_sequence[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 21 | 314 | administrator/components/com_redirect/models/link.php |
2 | 21 | 301 | installation/models/setup.php |
3 | 21 | 119 | 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; |
| ||||
// 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; |
| ||||
// 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; |
| |||
// 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |