We're happy to announce that our pull request functionality just got even better with the introduction of Context-Aware Gating. Since it's still in beta, we're eager to get your feedback.
Meet CodeScene's Pull Request Integration For Automated Code Health Reviews
Our integration offers an automated Code Health review, ensuring all new and modified code meets your quality standards. This simplifies your team’s code review process, improves the maintainability and readability of the code, and aligns with organizational goals.
We of course support all major Git hosting platforms - review works for GitHub, BitBucket, GitLab and Azure. Gerrit is also supported but only for on-prem.
Key Benefits
-
Automated code health review
CodeScene automatically reviews Pull/Merge Requests, ensuring that both new and modified code is compliant with Code Health standards without manual effort.
-
Adapting to your goals
Choose a code quality profile that fits your organization’s specific context and goals. If you have not yet enabled the PR integration, simply start with a basic safety-net and enhance quality gates as your team becomes familiar with the process.
-
Acts as a quality bar
Enforces Code Health rules to avoid introducing new technical debt, ensuring high-quality code and long-term codebase stability.
-
Flexible and tailored reviews
Customize how reviews are applied, with options for different quality bars for various parts of the codebase, and selective PR reviews for specific teams or projects.
A Sneak Peek From our Founder and CTO Adam Tornhill
An example of CodeScene’s automated code review, illustrating how the PR integration can serve to support reviews and act as quality gates.
Select Your Code Quality Profile That Matches Your Context and Ambition
Profiles align CodeScene with your organization’s context and goals, ensuring that PR gates reflect broader objectives, such as "remediate technical debt" or "maintain code quality. They are not static, so you can start easy and adapt more rules and checks as you adapt.
Select the code quality profile that matches your context and ambitions.
The Bare Minimum:
The recommended starting point, this profile enforces critical Code Health rules like Low Cohesion, Deep Nested Logic, and Brain/God Functions, ensuring new code avoids technical debt and prevents Code Health decline in Hotspots. Learn more about our Code Health Metric.
Clean Code Collective:
Using this profile, you get the most out of CodeScene as our checks will fail for any file where the code health declines.
Pay down on Technical Debt:
This profile enables all checks, including the “Elevate Code Health” category to enforce your specified goals, like “Supervise” or “Refactoring.” It's ideal for optimizing development productivity and investing in technical debt remediation.
Customizable Safeguards:
Choose this option to select checks from multiple categories, such as combining "Minimal Safety Net" with targeted improvements from "Elevate Code Health." Ideal for large PRs with 30+ files.
Successful Adoption Amongst Devs for Maintainable, Healthy Code. How Do You Start?
Picking the use case that matches your organization's maturity will benefit you most. You need your devs to act on findings. Start small, set expectations and grow as you go.
Elevate to Clean Code Collective
Once your team is fully onboarded, it's time to optimize your developer productivity and start investing time in technical debt remediation and guarantee your code stays healthy during product iterations to come.
You can find our docs here.
Are you interested into knowing more or testing it out while it's still in beta? Contact us if you want early access.