Skip to content
Product

Announcing Code Health support for the Rust Programming Language

The Rust programming language has grown in popularity. At CodeScene, we’re proud to announce that we have added full support for analyzing Rust codebases.

The Rust programming language has grown in popularity since its initial release back in 2010. Rust keeps showing up as the most loved programming language in StackOverflow’s annual survey, it has a rich ecosystem and active support by several large companies. It’s here to stay.

At CodeScene, we’re proud to announce that we have added full support for analyzing Rust codebases. Our Rust support is available in the free community edition for open source projects, as well as in all our paid plans. Let’s look at some of the key features of CodeScene’s Rust support.

 

 

Visualize Code Health in a Rust codebase

Code quality issues cost time, money, and missed deadlines. Hence, it’s vital for to know when you can safely move ahead and implement new features as well as when you might have to take a step back and improve what’s already there. This is a hard balance in any development project. Let’s see how the code health concept helps.

Virtual-code-review-codesceneInspecting trends in the Virtual Code Review

Code health is an aggregated metric based on 25+ factors scanned from the source code. The code health factors are known – from research – to correlate with lower developer productivity and an increased risk for bugs. With CodeScene, you automatically visualize the code health of any codebase. This lets you identify areas with green and healthy code – the parts that are predictable to work in and low risk for future development – as well as areas of the code that require more attention (yellow and red code).

The code health support for Rust also comes with a virtual code reviewer that highlights all issues, including explanations on what they mean accompanied by recommendations on how to fix them.

 

Prioritize refactoring based on the X-Ray analysis

With the code health metric covered, it’s also important to point out that just because some code lacks in quality that doesn’t mean it's technical debt that has to be fixed immediately. In fact, the main danger in prioritizing improvements, redesigns, etc. based on code quality issues alone is that we miss the most important decision point: impact.

And this is where CodeScene differs the most from static analysis: CodeScene’s behavioral code analysis perspective prioritizes based on how the code evolves and how the development teams interact with the code. We call this perspective Hotspots. 

Hotspots-codesceneHotspots lets you prioritize code health issues

Development hotspots introduce a time perspective into your codebase. This perspective lets you reason about code health issues within the context of how your team works with the code. However, occasionally you will come across these large and overly complex files that seem to have accumulated tons of code. In situations like that the X-Ray analysis comes in handy by letting you prioritize hotspots at the function level. That way, you get a clear and actionable starting point even in the most complex hotspots.

 

Make it actionable: integrate with pull requests

Finally, all CodeScene plans – community edition included lets you integrate these analyses into pull requests. It’s been a popular integration that helps development teams and OS maintainers by serving as a quality gate and early feedback loop. Read all about CodeScene’s pull request integration.

It's easy to create a free account or a paid plan for closed-source projects. CodeScene is free for all open source repositories and (very) affordable for closed source projects. In addition to Rust programming language, CodeScene supports a total of 28 programming languages (Java, C#, C++, Python, JavaScript, etc.).

Check it out – this is your code like you haven’t seen it before!

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!