prominent multinational retailer

Tesco dunnhumby

Tesco acquired dunnhumby and chose SonarQube to establish enterprise-wide clean code standards

Key Results

  • ROI in less than 1 month
  • 5-10 hours per developer per week saved
  • Improved developer experience
  • Maintained stable applications by reducing technical debt
  • Code quality standardization across the organization
  • Reinforceable coding best practices
Download Case Study

About Tesco/dunnhumby

Tesco, a prominent multinational retailer headquartered in the UK, has strategically leveraged acquisitions and technology adoption to strengthen its market position and operational efficiency. In 2004, Tesco acquired dunnhumby, a renowned data analytics company specializing in consumer insights and loyalty programs. Leveraging insights generated by dunnhumby's analytics empowered Tesco to optimize product assortments, pricing strategies, and promotional campaigns, thereby improving operational efficiency and profitability.

the challenge:

With dunnhumby and other strategic acquisitions, Tesco recognized the need for a comprehensive solution to streamline its software development processes and ensure the highest code quality and code security across its development projects. This led to dunnhumby’s launch of an organizational initiative to establish enterprise-wide clean code standards. 


Prior to adopting SonarQube, dunnhumby faced several challenges related to maintaining code quality and security:


  • Inconsistent Coding Standards: Maintaining consistent code quality standards was challenging for such a large and diverse development organization consisting of multiple teams and projects. Variations in coding practices and the presence of technical debt hindered efficiency and posed risks to application stability.


  • Security Concerns: As dunnhumby expanded its digital footprint, ensuring code security became increasingly critical. The need to detect and mitigate vulnerabilities early in the development lifecycle was paramount.


  • Scalability: As the number of projects and developers grew, manually managing code quality at scale became increasingly complex and time-consuming.


the solution: 

To address the rapidly growing needs of the organization, dunnhumby selected SonarQube as its preferred solution based on:


  • Speed of Analysis: SonarQube provided rapid feedback on code quality issues, significantly reducing the time spent on code reviews


  • Detecting Issues: The tool effectively identified bugs, security vulnerabilities, and code smells, allowing developers to address them proactively during development.


  • Contextual Guidance: Integration of SonarQube into the development workflow provided contextual guidance to developers, helping them improve code quality as they write code.


  • Language and Framework Support: SonarQube supported a wide range of programming languages, frameworks, and infrastructure technologies used by dunnhumby, ensuring comprehensive coverage across their development stack.


  • Administration of Code Quality Standards: Quality gates in SonarQube allowed dunnhumby to enforce code quality standards consistently across projects. With clear go/nogo indicators, developers could meet dunnnhumby’s predefined clean code standards before committing new code and ensure their main branch was always clean and production-ready.


results:

After implementing SonarQube, the benefits were immediately apparent. dunnhumby realized a return on investment (ROI) within the first month. By automating code analysis and improving the speed and accuracy of issue detection, developers saved an estimated 5 – 10 hours per developer per week or more. This efficiency gain allowed the development teams to focus on writing more code and cleaner code from the outset rather than spending time addressing software problems later in the SDLC.


The implementation of SonarQube at dunnhumby has been instrumental in achieving its clean code goals predictably and systematically. By integrating automated code quality checks and adopting a proactive Clean as You Code approach, dunnhumby has not only improved the overall quality of its software but also enhanced developer productivity and satisfaction. 


SonarQube continues to play a crucial role in dunnhumby’s ongoing commitment to continuous improvement in code quality, positioning it well for future growth and innovation in the competitive landscape of customer data science and analytics.


Tesco dunnhumby logo gray

"One of the main reasons we use Sonar is for vulnerability management."

Shivan Sharma, IT/System Administrator @ Dunnhumby

ready to start writing Clean Code?

Request a DemoExplore Pricing