Manage Technical Debt With Augmented Code Analysis
The CodeScene code analysis tool introduces the concept of augmented analysis, which lets you add contextual information to the analysis data as intelligent notes. This is a new type of code analysis that provides a complete framework for managing technical debt.
Many organizations spend significant parts of their development budgets in parts of the code that are more expensive to extend and maintain than they have to be.
That’s why abehavioral code analysis toollikeCodeSceneidentifies and prioritizes technical debt based on how you, as an organization, works with the code. This is a powerful first step, but like all code analysis tools, a crucial component is missing: your context.
Context matters. What features do you plan to implement next and what parts of the system will they affect? How much can you spend on re-work and improvements? And when is a piece of code good enough? That’s why CodeScene introduces the concept of augmented code analysis that lets you specify contextual information, which is then processed as part of the analysis. This means that the analyses are aware of your goals and can measure the progress towards them. Let’s see how this technique lets us manage technical debt.
Managing Technical Debt Is About Trade-Offs
There’s always a trade-off between improving existing code versus adding new features. Improvements cost time and money, and when we refactor or even re-design a piece of code we are placing a bet that our investment will pay-off in the future. As such, larger and more significant improvements have to be balanced against the short-term goals of the product. Maybe it’s just more important to get that critical feature out than to clean-up those nestedif-statements that are so hard to understand?
Over the years I’ve seen several products canceled. Not due to lack of code quality, but due to lack of delivery. Fascinatingly enough, there’s a lot of horrendous code out there that keeps making money that funds entire organizations, sometimes for decades. That doesn’t mean we should accept code with severe quality issues. It just means that we need to prioritize what and when we invest in larger improvements, and we need to do it based on data that can assess the likely return on investment.
CodeScene provides those priorities through itshotspot analysis. A hotspot is code that the developers have to work with frequently. If that code is hard to understand and extend, your development is likely to be more expensive than it has to. Let’s look at an example from the Linux Kernel:
Adam Tornhill is a programmer who combines degrees in engineering and psychology. He’s the founder and CTO of CodeScene where he designs tools for code analysis. Adam is also a recognized international speaker and the author of multiple technical books, including the best selling Your Code as a Crime Scene and Software Design X-Rays. Adam’s other interests include modern history, music, retro computing, and martial arts.
Subscribe to our newsletter
Lorem ipsum dolor sit amet, consectetur
adipiscing elit. Semper neque enim rhoncus vestibulum at maecenas.
Ut sociis dignissim.
Latest Articles
From Tech Debt to Triumph: How Refactoring Speeds Development by 43%
In this article, we’ll use a statistical model that translates Code Health scores into tangible business value – faster development and few...
CodeScene Now Available on AWS Marketplace
CodeScene is now on AWS Marketplace, offering engineering leaders and developers tools to prioritize improvements and reduce development ri...
Conflux and CodeScene Announce Strategic Partnership
An exciting partnership between Conflux and CodeScene is set to change how enterprises address workflow inefficiencies and improve team ali...