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:
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!
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:
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:
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.
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.
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!
It is easy to create and set up a a free trial, and try out CodeScene.