{"id":33756,"date":"2023-05-04T16:58:11","date_gmt":"2023-05-04T16:58:11","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=33756"},"modified":"2023-05-04T16:58:13","modified_gmt":"2023-05-04T16:58:13","slug":"list-of-sonarqube-sonar-properties-options-with-explanation","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/list-of-sonarqube-sonar-properties-options-with-explanation\/","title":{"rendered":"List of SonarQube sonar.properties options with explanation"},"content":{"rendered":"\n<p>Here is a list of some commonly used SonarQube <code>sonar.properties<\/code> options along with their explanations:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><code>sonar.jdbc.username<\/code> &#8211; Specifies the username to use when connecting to the database.<\/li>\n\n\n\n<li><code>sonar.jdbc.password<\/code> &#8211; Specifies the password to use when connecting to the database.<\/li>\n\n\n\n<li><code>sonar.jdbc.url<\/code> &#8211; Specifies the URL of the database that SonarQube should use.<\/li>\n\n\n\n<li><code>sonar.host.url<\/code> &#8211; Specifies the URL of the SonarQube server.<\/li>\n\n\n\n<li><code>sonar.login<\/code> &#8211; Specifies the authentication token or username and password to use when connecting to the SonarQube server.<\/li>\n\n\n\n<li><code>sonar.projectKey<\/code> &#8211; Specifies the unique identifier for the project being analyzed. This key is used to differentiate between projects in SonarQube.<\/li>\n\n\n\n<li><code>sonar.projectName<\/code> &#8211; Specifies the name of the project being analyzed.<\/li>\n\n\n\n<li><code>sonar.projectVersion<\/code> &#8211; Specifies the version of the project being analyzed.<\/li>\n\n\n\n<li><code>sonar.sources<\/code> &#8211; Specifies the location of the source code that should be analyzed.<\/li>\n\n\n\n<li><code>sonar.exclusions<\/code> &#8211; Specifies a list of files or directories that should be excluded from the analysis.<\/li>\n\n\n\n<li><code>sonar.language<\/code> &#8211; Specifies the primary language of the project being analyzed.<\/li>\n\n\n\n<li><code>sonar.sourceEncoding<\/code> &#8211; Specifies the character encoding used by the source code files.<\/li>\n\n\n\n<li><code>sonar.java.binaries<\/code> &#8211; Specifies the location of the compiled Java bytecode files.<\/li>\n\n\n\n<li><code>sonar.java.libraries<\/code> &#8211; Specifies the location of the external libraries used by the project.<\/li>\n\n\n\n<li><code>sonar.java.source<\/code> &#8211; Specifies the version of the Java source code used by the project.<\/li>\n\n\n\n<li><code>sonar.php.tests.reportPath<\/code> &#8211; Specifies the location of the PHPUnit test report.<\/li>\n\n\n\n<li><code>sonar.php.coverage.reportPath<\/code> &#8211; Specifies the location of the code coverage report.<\/li>\n\n\n\n<li><code>sonar.php.pdepend.reportPath<\/code> &#8211; Specifies the location of the PHP Depend report.<\/li>\n\n\n\n<li><code>sonar.php.codesniffer.reportPath<\/code> &#8211; Specifies the location of the PHP CodeSniffer report.<\/li>\n\n\n\n<li><code>sonar.scm.enabled<\/code> &#8211; Specifies whether or not SonarQube should use source control management information to enrich analysis data.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Here is a list of some commonly used SonarQube sonar.properties options along with their explanations:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[2],"tags":[],"class_list":["post-33756","post","type-post","status-publish","format-standard","hentry","category-uncategorised"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/33756","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=33756"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/33756\/revisions"}],"predecessor-version":[{"id":33757,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/33756\/revisions\/33757"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=33756"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=33756"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=33756"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}