The Password strength procedure is working as the follow: We have many cases to care about to know a password strength , so we will present a global variable score , and each case will add some points to score. At the end of the algorithm we will decide the password strength according to the score value. The cases we have are :
Now according to score we are going to decide the password strength