The quality of the code tells whether the code is good or bad. The code quality matters for software quality. A software or an application with good quality of code will be easy to maintain. But on the other side, if the quality of the code is bad it will be difficult to maintain. Bad code quality can also lead to security risks.