CyclomaticComplexity

Showing 1 result
EngineeringIcon ChevronBack-end

Write Tests That Matter: Tackle The Most Complex Code First

by Andrey Shalitkin

In today's world, code is expected to change as quickly as requirements do, and tests play an important role in making that possible. Many modern projects boast great test coverage, making them more resilient to regression issues. However, that is not true for all projects - especially some legacy projects which have little in the way of testing. In this article, Toptal Freelance Software Engineer Andrey Shalitkin discusses two metrics, coupling and cyclomatic complexity, that are important in identifying which portions of code to include in test coverage.

8 minute readContinue Reading

Join the Toptal® community.