DEV Community

Cover image for How do code reviews help you reduce your technical debt? πŸ€“
leslysandra for Codiga

Posted on

How do code reviews help you reduce your technical debt? πŸ€“

The process of developing a coding project includes not only an IDE, the code and the coder but also... bugsπŸͺ², extra timingπŸ•°οΈ and other delays, and probably... a technical debt πŸ€‘.

Technical debt (code debt) is a concept in software development that reflects the implied cost of additional rework caused by choosing an easy (limited) solution now instead of using a better approach that would take longer ref wikipedia

Also, not reviewing your code can lead to terrible disasters, just to mention along history:

Therefore, how code reviews can help to reduce your technical debt?

  • The earlier the code review, the better.
    Imaging finding bugs in production (and being reported by end-user 😱), this will have a high cost due to the need to backtrack to review the issue, and to have ready all again for deployment.
    This can take minutes or days.
    Imaging finding bugs πŸͺ² in the requirements phase. The costs might be minimal.

  • Testing is important, you can significantly reduce any tech debt if you're assigning high priority to testing.
    Being really conscious about testing, and really spreading that urgency to your team and adding it to your pipeline, for sure will save lots of money πŸ€‘ πŸ€‘ πŸ€‘

  • Review the architecture, different 'good coding practices' guides help to also review the architecture of the system. This is very important since this can directly affect to performance metrics, robustness, etc

Overall, no need for "code reviewing by hand" all the time, remember there are automated tools. Code Inspector an automated code review, not only shows the quality code and possible issues according to international standards, but also estimates the technical debt in $ money you might have in some project.

See below, the result of analyzing on of my toy projects:
Code Inspector Analyzer

And getting into detail about Tech Debt
Tech Debt detail

You can also can get started analyzing any project from your GitHub or GitLab or BitBucket repo for free, go to
Code better, faster πŸ€“

Discussion (0)