CloneSet327


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10201.000statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110431
libraries/joomla/user/user.php
210468
libraries/joomla/user/user.php
Clone Instance
1
Line Count
10
Source Line
431
Source File
libraries/joomla/user/user.php

                        if ($array['password'] != $array['password2']) {
                                        $this->setError(JText::_('PASSWORD DO NOT MATCH.'));
                                        return FALSE;
                                      }

                        $this->password_clear = JArrayHelper::getValue($array, 'password', '', 'string');

                        $salt=   JUserHelper::genRandomPassword(32);
                        $crypt=  JUserHelper::getCryptedPassword($array['password'], $salt);
                        $array['password']=  $crypt
                                             .      ':'
                                             .          $salt;


Clone Instance
2
Line Count
10
Source Line
468
Source File
libraries/joomla/user/user.php

                                if ($array['password'] != $array['password2']) {
                                        $this->setError(JText::_('PASSWORD DO NOT MATCH.'));
                                        return FALSE;
                                      }

                                $this->password_clear = JArrayHelper::getValue($array, 'password', '', 'string');

                                $salt=  JUserHelper::genRandomPassword(32);
                                $crypt=  JUserHelper::getCryptedPassword($array['password'], $salt);
                                $array['password']=  $crypt
                                                     .      ':'
                                                     .          $salt;


Clone AbstractionParameter Count: 0Parameter Bindings

if ($array['password'] != $array['password2']) {
  $this->setError(JText::_('PASSWORD DO NOT MATCH.'));
  return FALSE;
}
$this->password_clear =JArrayHelper::getValue($array,'password','','string');
$salt=JUserHelper::genRandomPassword(32);
$crypt=JUserHelper::getCryptedPassword($array['password'],$salt);
$array['password']=$crypt
                   . ':'
                   . $salt;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None