<img src="https://secure.leadforensics.com/794635.png" style="display:none;">
Skip to content
Published at May 24, 2024
Team Dynamics

Luminare prevents developer burnout and improved code quality

Using CodeScene Luminare prevented team burnout, reduced the cognitive load on developers, and simultaneously increased delivery while maintaining high-quality code.

Luminare, a health care startup with patented, award-winning solution helps hospitals better diagnose sepsis and develop treatment plans. Marcus Rydberg, Luminare’s co-founder and CTO shares his thoughts on how CodeScene contributed to their success story.


Challenge - reducing cognitive load and decreasing technical debt

Before CodeScene, working with technical debt and code quality meant a reactive way of working - a reaction to things going wrong, a process being too slow or something being too hard.
As the Luminare team was growing and shipping more code, it became harder to maintain good code quality. As new developers were introduced to the codebase, it was important to find a way to reduce cognitive load and take some load off the senior developers to prevent burnout and save them from drowning in code reviews.
Marcus Rydberg, CTO of Luminare says: 
“I noticed that it became harder to maintain good code quality as we were shipping more code and growing. I felt like I was always trying to get ahead of it, but I was missing a tool that could help me implement a systematic approach to code quality.”
CodeScene enabled Luminare to communicate code quality issues and risks with their development team in a very constructive and proactive way. Explaining and teaching about technical debt can sometimes be very overwhelming, but CodeScene made it easy.


CodeScene helps CTOs manage their software portfolio

As a CTO, Marcus is responsible for both the quality of Luminare's software products and the quality of their codebase. To make sure that their software meets their code quality standards, it was important to have an overview of all of Luminare's products and an easy way to identify projects that were doing really well and those that needed attention.


"For me, the most impressive and most helpful thing with CodeScene is that we were able to get to high code quality without having to do any major rewrites or replace team members. We achieved this just by adapting to CodeScene's rules. So over time, using CodeScene resulted in very big and positive outcomes for our organization, which is a huge win for our team and makes me as CTO, very happy."


Onboarding new developers and building a scalable organization


Minimizing cognitive load 

Finding a way to reduce cognitive load was important for Luminare. They wanted to prevent team burnout and keep the cognitive load light in order to sustainably grow their team. CodeScene helped with this. CodeScene's Code Age analysis provided a powerful and evolutionary view of their system. It helped Luminaire evolve their codebase in a way that also resulted in a more stable and maintainable system.

Luminare could now reduce cognitive load in a systematic way, which is something they haven’t been able to do before. This set the stage for scalable and controlled growth.

For junior and new developers, reducing cognitive load meant there was less code to understand and work with. This not only improved the onboarding experience for new developers but it also boosted their confidence as they could start making contributions to the codebase sooner.

For senior developers, the improved and more efficient onboarding experience, meant less time spent on supporting new and more junior developers. They could now spend more time on building new features.

Marcus adds: 
“CodeScene serves as a team member for our junior developers, helping them write code that will not compromise the code health of our projects.

Once you fix a specific issue, reduce the size and complexity of the file or refactor a key piece of code, it feels so rewarding to pass the controls and know that you are contributing to quality improvement. It’s reshaped our approach where we’re not willing to take shortcuts and want all future features to have a positive impact on the health of our codebase."



Improving Knowledge Distribution 

To mitigate the risk of having situations where everything is in the mind of one key developer, CodeScene points out Knowledge Islands, or areas of code that only one developer is familiar with. It then goes to show which of those Knowledge Islands are in complex code that poses a higher risk in case that key developer leaves the project.

This allows planning ahead and onboarding new developers to get familiar with that code and be able to maintain and evolve it. This approach greatly reduces the risk of knowledge loss for the company.


Improve knowledge distribution



CodeScene enabled Luminare to systematically track code quality of all of their projects and understand how well knowledge is shared within their teams. It helps make the right decisions and grow software development efforts in a way that makes business sense. These decisions take into account cost, risk and complexity of different software projects.

“In an early start-up stage, you often have situations where everything is in the mind of one key developer. However, you get to a point when that is no longer sustainable and becomes a real risk to the growth and potential of the company. You get to that point you need a reliable tool to guide you.”


Using CodeScene metrics to frame code quality discussions

CodeScene enabled Marcus to have a holistic overview, look at the metrics, and have relevant discussions with his team about technical debt and what needs to be prioritized. 

Code quality and refactoring discussions were no longer based on feelings or opinions, but real and objective metrics and indicators.

 CodeScene became a common, shared ground, enabling everybody in the team to work towards the same goal.

“Talking about code quality has become a more natural part of our journey and strategy, since we now actually have a tool that enables that process.”


Now, Senior Engineers can easily follow up with their teams and with the help of the tool, show the exact lines of code that need to be refactored.

This saves time and improves the experience for everyone, since CodeScene both points out the issues and also gives suggestions and refactoring examples. 


Saving time with automated code reviews

With CodeScene’s Automated Code Reviews, senior developers are able to redirect time they were spending on code reviews to actually building new features. 

When you enable CodeScene’s Quality Gates, you ensure that only code that is in line with your company code health goals is approved and merged. CodeScene acts as a first line review and indicates whether a certain pull request passes or fails Quality Gates. It also indicates the recommended review level to let the reviewer know if a PR requires a detailed review or just a simple sanity check. This input prioritizes code reviews and takes the load off of the reviewer.

CodeScene serves as a virtual teammate, both educating junior developers and helping them fix code quality issues before merging to the main branch and also preventing senior engineers from drowning in code reviews.  

When it comes to code quality, Luminare is no longer willing to take any shortcuts and want all future features to improve the quality of their product.

In line with this strategy, Luminare would rather spend a little extra time fixing an issue if Quality Gates fail, instead of having to do rework later when the feature is released. Accruing technical debt is costly as the interest on that poor code quality is also accrued. 

Automate code reviews


The importance of understanding the state of your software

Marcus suggests that more organizations should start analyzing the state of their software and commit to quality. In the end, it is good for business and saves money in the long run.

Marcus points out that this is really important if you are investing in a software company. As an investor, you need to understand what you are investing in and what it will take to actually maintain and scale that software.

I highly recommend CodeScene, especially to other CTOs and especially for products and tech companies with fast growth. Fast growth requires finding a way to understand, identify and manage technical debt to ensure the software we’re building is both maintainable and easy to scale.
 “We all know software can be horrible or perfectly designed. The spread is enormous between these two, and you need to know what you are getting. You would do this when buying a car, so why not do it when investing in software? You can quickly check the health with CodeScene.

There is a big difference between a codebase that has been massively neglected and sprinted upon for many years compared to a codebase where good code quality has been the leading star.“

Summary of the results 

Number one teal Improving Code Health and Code Quality 

Luminare’s most difficult project, which was written quickly and grew too fast, went from having poor quality and a lot of instability to an average Code Health of 9.3.

Number two teal Saving Time in Code Reviews and Reducing Cognitive Load

With CodeScene’s Automated Code Reviews, senior developers were able to redirect time they used to spend on code reviews to actually building new features.

Number three teal Mitigate Knowledge Gaps 

CodeScene enabled Luminare to systematically track code quality of all of their projects and understand how well knowledge is shared within their teams.


About Luminare

Luminare is the leading solution that integrates with hospital’s existing sepsis protocol to reduce nurse workload and stop unnecessary death in hospitals.


CodeScene Team

CodeScene Team

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

Use Guardrails for AI-Assisted Coding

Use Guardrails for AI-Assisted Coding

AI-assisted coding is still in its early stages. This article explores the immediate and future impacts of integrating AI assistants into t...

CodeScene is a proud partner of Lund University and Vinnova's NextG2Com Competence Center

CodeScene is a proud partner of Lund University and Vinnova's NextG2Com...

The NextG2Com center at Lund University, part of Vinnova's Advanced Digitalization Program, is now up and running. CodeScene is a proud par...

University of Antwerp uses CodeScene in Re-engineering Course

University of Antwerp uses CodeScene in Re-engineering Course

Master-level Software Re-engineering course uses CodeScene to restructure existing software. Interview with Dr. Henrique Rocha, University ...