<img src="https://secure.leadforensics.com/794635.png" style="display:none;">
Skip to content
Published at December 17, 2020
Product

Visualize the impact of (automated) code reviews

CodeScene provides an automated code review that serves as a quality gate for pull requests. New CodeScene release presents statistics on the code health impact due to pull request actions.

Graphs that show the impact and actions on the automated pull request reviews.

CodeScene integrates with pull requests to provide feedback and detect code quality issues via an automated code review

 

It’s been a popular integration that helps development teams by serving as a quality gate and early feedback loop.

Our new CodeScene release comes with several improvements that support development teams with building high quality software:

  • New virtual code review that includes a detailed description of the issue, motivates why it’s a problem, and provides recommendations on how to fix it.
  • A rich view presenting the pull request delta review.
  • Visualize the trends with respect to impact and actions on pull requests.

We have been using these features internally over the past month, and are excited to make them publicly available in both CodeScene On-premise and CodeScene Cloud!



Pull Requests and Quality Gates: What’s the Impact?

No matter what baseline we start from, we never want our code to become worse. Why make it harder to read, understand, or maintain? No one wants that, but it’s challenging to track given the scale of modern software systems. CodeScene’s pull request integration lets you stay on top of it so that you can prioritize and act upon any negative trends to take your codebase in the desired direction:

View the impact and actions on the 
automated pull request reviews..svg.svgView the impact and actions on the automated pull request reviews.


The statistics show the total number of pull request analyses run by CodeScene as well as the number of issues detected, acted upon and mitigated. Finally, the statistics highlight the number of detected issues that were merged as-is, without remediation, to the main branch.

CodeScene also calculates the total code health impact and presents it as monthly trends. These trends let you visualize and communicate improvements, as well as act upon a larger decline:

View the code health impact of the pull request integration.View the code health impact of the pull request integration.

So what do those trends mean? Well, in the preceding example, we see that Codebase A took on a significant amount of technical debt during November. This should be the basis of a conversation, and something the whole team wants to be aware of. A recommended action in this case could be to plan goals to manage the growing tech debt.

As a contrast, Codebase B shows a positive trend where smaller code improvements are delivered continuously. That’s a nice place to be.



Automated Code Review

You can of course dig into the details of each reviewed PR, and we developers get a summary of the automated review as a PR comment. However, we’re limited to what we can present using safe markdown on GitHub/BitBucket/GitLab/Azure comments. Hence, the automated PR comment now includes a link to a richer presentation inside CodeScene itself:

Get a detailed automated code review
 on each Pull Request..svg.svg
Get a detailed, automated code review on each Pull Request.

The virtual code review is of course also available on any file in your codebase via the CodeScene UI.

We hope you enjoy these new features – we know that we do – and as always we are looking forward to your feedback!



New user? Get started in less than a minute!

It is easy to create and set up a a free trial, and try out CodeScene. 

Adam Tornhill

Adam Tornhill

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.

Elements Image

Subscribe to our newsletter

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Semper neque enim rhoncus vestibulum at maecenas. Ut sociis dignissim.

Latest Articles

AI Coding Assistants: Introducing CodeScene AI Generated Code Refactoring

AI Coding Assistants: Introducing CodeScene AI Generated Code Refactoring

AI Coding Assistants: Let's introduce you to AI generated code refactoring. Read more and join the Beta testing program.

Change coupling: visualize the cost of change

Change coupling: visualize the cost of change

Code can be hard to understand due to excess accidental complexity. Or, it can look simple, yet its behavior is anything but due to complex...

CodeScene's IDE Extension brings CodeHealth™ Analysis directly into your editor

CodeScene's IDE Extension brings CodeHealth™ Analysis directly into your...

We've just launched an IDE Extension for VS Code, helping developers tackle code complexity within the editor. Read more and try it out!