It's a simple test to apply to any new code or any code you are changing:
If I have to come back to this code in six months without having seen it in between, how easy will it be for me to start working with it?The answer to that question is a good, fast approximation of the health of the code you are writing/changing.
If you aren't satisfied with the answer you get, there's a follow-on question:
Why?Whatever it is that's going to make it hard to work with the code in the future, try to make it a little easier.