What Does Good Code Look Like?
Good code is readable, simple, and testable. Does your code fit the bill?
Stay updated with breaking news from Cyclomatic Complexity. Get real-time updates on events, politics, business, and more. Visit us for reliable news and exclusive interviews.
Good code is readable, simple, and testable. Does your code fit the bill?
The productive path to establishing and maintaining effective test automation is not easy. In this post, explore well-intentioned yet harmful anti-patterns.
Mutation testing and property-based testing are two relatively niche technologies in the Java tester's toolkit. Broad adoption is not recommended: they can make well-tested code even more robust but are a waste of time in projects with poor test maturity.
Do we need to measure complexity? With what metrics? What benefits can it brings? This is the questions we'll answer in this article.
How to Write Self-Documented Code With Low Cognitive Complexity Cognitive and Cyclomatic complexity metrics let developers measure code quality, establish a dialogue with business, and put measurable goals in refactoring. by In this article, I will share practical and straightforward advice on how to stop ( holy wars) arguing about code quality and find measurable arguments about the necessity of refactoring, simplification, adding comments or documentation for the code. While I’m going to refer to exact commercial tools in the second half of the article, I should say that I’m not affili...