CodeAnalysis

Showing 1-2 of 2 results
EngineeringIcon ChevronTechnology

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
EngineeringIcon ChevronTechnology

Hunting and Analyzing High CPU Usage in .NET Applications

by Juan Pablo Scida

Software performance in production is hard to analyze. Things can go wrong at any time, and code can start executing in ways that weren’t planned for. In these cases, what do we do? In this article, Toptal engineer Juan Pablo Scida analyzes a real scenario of high CPU usage of a web application. He covers all the processes and .NET code analysis involved to identify the problem, explains how the problem was solved, and most importantly, explores why this problem happened in the first place.

9 minute readContinue Reading

Join the Toptal® community.