@Override
public void analyze(PasswordResults pass)
throws Exception
{
CharSequence chars = pass.getCharSequence();
RandomClasses previousType = null;
int typeCount = 0;
for(int i=0, len = chars.length(); i<len; i++){
char ch = chars.charAt(i);
RandomClasses type = RandomClasses.getRandomClass(ch);
if (type == previousType){
typeCount++;
reportPattern(pass, i, typeCount, type);
} else {
typeCount = 1;