How to Understand the complexity and maintainability of the code ?

Code Metrics is one of the important software measures that give you an insight of your code maintainability and complexity. No one likes over engineered or too complex code.  As a developer when you are writing your code, you must adhere those boundary values of metrics to ensure your code is well written, understandable and maintainable.