Cloud Release Notes

Release Notes May 2023

Written by Bilel Hamadi | Jun 27, 2024 5:54:31 PM

Several improvements to the Code Health metric:

  • Expand the code review with detection of Complex Conditionals: complex conditional expressions make code hard to read, and contribute to the Complex Method code smell. It's a common issue, so we decided to add direct support for it. Complex Conditionals will be reported in the Virtual Code Review, the X-Ray, as well as our PR and IDE integrations.
  • By default, any conditional expression with two or more logical operators (&&, ||) is flagged. You can change that default using the custom code health mechanism.
  • Open range code health score to capture trends in complex hotspots: In previous versions, really complex code could hit the `1.0` code health floor. That meant there wasn't any further trend warnings in case the code got worse. Starting with this release, we introduce a new code health algorithm with an open bottom range. That way, you can discover trends — both negative and positive — no matter how low the code health score is.
  • New Code Health trend on the dashboard: For this release we're changing what's shown in the code health trend graph to be the Average Code Health straight off.  More intuitive. The scale of the y-axis adapts to the actual changes during the selected time span, making it easy to spot even small changes in the average code health trend regardless of the size of your code base.

The 6.1 release also contains all the features we released iteratively. Some key highlights:

  • Software Portfolio overviewThe Software Portfolio gives a high-level overview of all your projects in terms of CodeScene’s four factors. It is designed to make it easy to see trends impacting your entire organization and to make high-level prioritizations. 
  • New presentation page for PR reviews: the result page for a specific PR  has been re-designed to provide a clearer presentation of the issues, including documentation and motivation for each rule.