concept day in category sonarqube

appears as: days, day, day
SonarQube in Action

This is an excerpt from Manning's book SonarQube in Action.

From a developer’s standpoint, SonarQube is worth the effort because it helps you grow as a coder. From language-specific subtleties to thread safety and resource management, SonarQube can show you what you’re getting wrong—or doing sub-optimally—and point you in the right direction for fixing it. That guidance isn’t just for the folks fresh out of school. Experienced programmers can learn from SonarQube, too, even if it’s only that their super-elegant code will be unreadable to the new guy. Plus, let’s face it; everyone has off days, and SonarQube helps coders find their goofs and fix them quickly.

Once you’ve automated your analysis, you’ll want to dig in to some of SonarQube’s star features: differential views and version comparisons. In chapter 1, we touted SonarQube’s ability to help you see not just a project’s current state, but its quality evolution over time. Now it’s time to make good on that promise with differentials, which we believe to be one of SonarQube’s most valuable features. You’ll see how to check your projects’ progress—from day to day or version to version—and how to configure differentials to meet your needs.

  • Set an integer number of days before the current analysis. Note that this can yield approximate results. SonarQube finds the first available snapshot analysis inside the date range. So if there’s not a snapshot that’s exactly five days old, you’ll get a comparison against a four-day-old or three-day-old snapshot.