Silverpeas has been able to implement new features and improve product performance, which has led to winning more and bigger customers.
Silverpeas is a platform for collaborative knowledge and content management. Written in Java, Silverpeas was born in 1999, in the dark ages of J2EE. It was a time before the age of frameworks, when heroes coded without tests or documentation. The result was a working product backed by a jumble of custom frameworks that had been based on good ideas, but executed imperfectly. As the years passed, it became increasingly difficult to evolve and maintain the code because of short-sighted design decisions made early in the product’s life, and because there was no clear vision of its global architecture.
Technical Debt = Liability
This situation made it extremely difficult to keep up with the pace of innovation and stay competitive in the market. Compounding the problem, the high cost of performing basic maintenance and implementing new features made it difficult to acquire new customers. The technical debt represented a liability that was just too big. Enough was enough. In 2009, the Silverpeas team made a drastic decision: it was time to modernize the architecture and improve Silverpeas’ code quality. But they needed to know precisely how, what, and where to refactor before they could proceed.
“We needed a tool to support our changes,” Silverpeas Software Architect Miguel Moquillon said. “SonarQube (Sonar at that time) was chosen to help us obtain the right answers to these questions. Through its quality analytical tools and its unified and customizable interface, we have the information to identify the tasks we have to perform in order to reduce the technical debt and improve the quality of the code. It is our GPS on the road to improving Silverpeas.”
SonarQube keeps technical debt under control
The Silverpeas team chose SonarQube for this critical role in Silverpeas’ modernization in part because it is open source, like Silverpeas, and easily extensible, but SonarQube also offered several features Moquillon said the team found compelling:
- Unified and centralized dashboard
- “A unified and centralized dashboard in which are rendered the code’s main quality metrics: it easy to see with a glance what went wrong, and what was improved.”
- Simple navigation – “An easy way to navigate into the different indicators of a metric down to the relevant code: it’s easy to find the parts of the code that require action.”
- Strong Reporting – “The indication of the evolution of the metrics over the time: we can estimate the effort of our code improvement.”
Better software quality has led to winning more and bigger customers
The SonarSource solutions contribute to Silverpeas’s success by delivering continuous and rapid feedback on the key issues together with suggestions on how to tackle them. Working from the solid base its code quality improvements give it, the Silverpeas team has been able to implement new features, and improve product robustness and performance, which has led to winning more and bigger customers. Today, the Silverpeas team is committed to keeping its software quality on track with SonarQube. Moqillon says the Silverpeas team has confidence in SonarQube because “it is an open source project like Silverpeas, and as such, we are ensured of its evolution and of its quality.” He praises SonarQube’s regular release schedule, ease of use, ease of installation and ease of integration with existing development infrastructure, such as the continuous integration server Jenkins, and the build system Maven.
Now, SonarQube analysis runs every night on Silverpeas’ 351,000 lines of code, triggered by Jenkins as a post-build action. Developers and managers check the results regularly, and take action to resolve issues in a collective effort to maintain and further improve Silverpeas’ software quality.