SonarQube
  • Preface
  • 1. About SonarQube
  • 2. Get Started in Two minutes
  • 3. Installation of SonarQube
    • 3.0.1 Pre-requisities
    • 3.1 SonarQube - SQL Server configuration
    • 3.2 SonarQube - MySQL Server configuration
    • 3.2.1 SonarQube - PostgreSQL Server Configuration
    • 3.3 Install SonarQube as Standalone Service
    • 3.4 Firewall settings for SonarQube
    • 3.5 Configure ODBC Driver
  • 4. SonarScanner Installation
    • 4.1 Installation of SonarScanner in Windows
    • 4.2 Installation of SonarScanner in Jenkins
  • 5. Analysis using SonarQube
    • 5.1 Simple Analysis using SonarScanner
    • 5.2 Advanced Analysis using SonarQube
  • 6. Understanding the Report
  • 7. Integration with Jenkins
Powered by GitBook
On this page
  • Analyse using SonarQube
  • Unrecognized files
  • During Analysis

Was this helpful?

5. Analysis using SonarQube

Analyse using SonarQube

Unrecognized files

By default, only files that are recognized by a language plugin are loaded into the project during analysis. For example if your SonarQube instance has the Java and JavaScript plugins on board, all .java and .js files will be loaded, but .xml files will be ignored. However, it is possible to import all text files in the analysis encoding in a project by setting Settings > Exclusions > Files > Import unknown files to true.

During Analysis

During analysis, data is requested from the server, the files provided to the analysis are analyzed, and the resulting data is sent back to the server at the end in the form of a report, which is then analyzed asynchronously server-side.

Analysis reports are queued, and processed sequentially, so it is quite possible that for a brief period after your analysis log shows completion, the updated values are not visible in your SonarQube project. However, you will be able to tell what's going on because an icon will be added next to the project name. Mouse over it for more detail (and links if you're logged in with the proper permissions.)

Previous4.2 Installation of SonarScanner in JenkinsNext5.1 Simple Analysis using SonarScanner

Last updated 5 years ago

Was this helpful?