Are there universal tools or methods to calculate these metrics? Can a program have low quality code but be high-quality for its users? Does quality of the source code depend on the programming language it's written in?
Can you recommend something to read on the subject?