Balancing Automation and Human Review
Explore the role of static code analysis tools, their limitations, and the effectiveness of human reviews in ensuring robust code quality.
This lesson reviews another area surprisingly resistant to automation: checking code quality.
Static code analysis tools for code quality
As we’ve seen throughout this course, TDD is primarily concerned with the design of our code. As we build up a unit test, we define how our code will be used by its consumers. The implementation of that design is of no concern to our test, but it does concern us as software engineers. We want that implementation to perform well and to be easy for the next reader to understand. Code is read many more times than it is written over its life cycle.
Some automated tools exist to help with checking code quality. These are known as ...