📝

Code quality metrics

Code quality metrics

Qualitative metrics are subjective measurements that aim to better define what good means.

https://github.com/matacoder/senior#code-quality-metrics

  • Clarity = an indicator of quality that says good code should be unambiguous. If you look at a piece of code and wonder what on earth it does, then that code is ambiguous.
  • This, along with readability and documentation, means any other developer can easily use code written by someone else, without taking a long time to understand how it works.

  • Readability = following indentations and formatting standards
  • Maintainability = easy to make changes, and the risks associated with such changes
  • Extensibility = can be extended in the future without affecting entire system
  • Efficiency = less computing resources needed
  • Well-documented = new developer can understand after years
  • Well-tested = to have higher quality, check if it is functioning as expected, check if all requirements are satisfied

Some negative impacts of not building for efficiency is long build times, difficulty to detect and fix bugs, and performance issues for the user.

SuperMade with Super