Improving Code Quality with SonarQube

Download

  • SonarQube: the platform.
  • SonarQube Scanners: scan and analyze code.
  • SonarQube Plugins: code analyzers, integration, SCM engines, visualization and etc.
  • SonarLint: extension for IntelliJ IDEA, Eclipse, Visual Studio, VS Code and Atom.

SonarQube License

Analyzing Code Quality with SonarQube

Run SonarQube

Install plugins

Check the code on the fly

SonarQube Example: analyze an Android projects

# must be unique in a given SonarQube instancesonar.projectKey=dynamsoft:barcode# this is the name and version displayed in the SonarQube UI. Was mandatory prior to SonarQube 6.1.sonar.projectName=Barcodesonar.projectVersion=4.2# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.# This property is optional if sonar.modules is set.sonar.sources=.# Encoding of the source code. Default is default system encoding#sonar.sourceEncoding=UTF-8sonar.java.binaries=.

--

--

--

Manager of Dynamsoft Open Source Projects | Tech Lover

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to implement Android Accessibility | Part 1 General

Demonstrate many kinds of accessibility

docker tutorial to build docker + mysql

Time Complexity || DSA

Bringing security in FitRadar solution

How to Help Your Development Team Meet The Deadline

Swift 4 in a Bad Mood, 1

The Story of Nothing

Twilio Authy 2-Factor Authentication

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Xiao Ling

Xiao Ling

Manager of Dynamsoft Open Source Projects | Tech Lover

More from Medium

SonarQube Pull Request Decoration with GitLab

JavaDoc • Selenium • TestNG • Spring Cloud Gateway

Api Micro-service (HTTP) Contract Test

Callback in Java