assesses special character count . here special characters are non-word and non-space ones . level 0 0 points : no special characters level 1 5 points : one special character exists level 2 10 points : more than one special character exists concode_field_sep int TOTAL_POINTS concode_field_sep int assessLetters concode_elem_sep int countMatches concode_elem_sep int assessPassword concode_elem_sep int assessLength concode_elem_sep boolean matches concode_elem_sep int assessNumbers
int function ( String arg0 ) { int loc0 = countMatches ( arg0 , "srini_string" ) ; if ( loc0 < 1 ) return 0 ; else if ( loc0 <= 1 && loc0 < 2 ) return 5 ; return 10 ; }