<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SonarQube Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/category/sonarqube/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/category/sonarqube/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Mon, 19 Jun 2023 13:29:48 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>Top 50 SonarQube Interview Questions with Answers</title>
		<link>https://www.scmgalaxy.com/tutorials/top-50-sonarqube-interview-questions-with-answers/</link>
					<comments>https://www.scmgalaxy.com/tutorials/top-50-sonarqube-interview-questions-with-answers/#respond</comments>
		
		<dc:creator><![CDATA[Ashwani Kumar]]></dc:creator>
		<pubDate>Tue, 02 May 2023 07:26:57 +0000</pubDate>
				<category><![CDATA[SonarQube]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=10214</guid>

					<description><![CDATA[<p>1. What is SonarQube? A. A coding toolB. A testing toolC. A code analysis toolD. A project management tool Answer: [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/top-50-sonarqube-interview-questions-with-answers/">Top 50 SonarQube Interview Questions with Answers</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img fetchpriority="high" decoding="async" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2023/05/image-35.png" alt="" class="wp-image-10215" width="701" height="368" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2023/05/image-35.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2023/05/image-35-300x158.png 300w" sizes="(max-width: 701px) 100vw, 701px" /><figcaption class="wp-element-caption"><strong><em>SonarQube Interview Questions with Answers</em></strong></figcaption></figure>
</div>


<h3 class="wp-block-heading">1. What is SonarQube?</h3>



<p class="wp-block-paragraph">A. A coding tool<br>B. A testing tool<br>C. A code analysis tool<br>D. A project management tool</p>



<h4 class="wp-block-heading">Answer: C</h4>



<h3 class="wp-block-heading">2. What language(s) does SonarQube support?</h3>



<p class="wp-block-paragraph">A. Java<br>B. Python<br>C. PHP<br>D. All of the above</p>



<h4 class="wp-block-heading">Answer: D</h4>



<h3 class="wp-block-heading">3. What plugins can you install in SonarQube?</h3>



<p class="wp-block-paragraph">A. Cobertura<br>B. PMD<br>C. FindBugs<br>D. All of the above</p>



<h4 class="wp-block-heading">Answer: D</h4>



<h3 class="wp-block-heading">4. What is a plugin in SonarQube?</h3>



<p class="wp-block-paragraph">A. A collection of rules and metrics for code analysis<br>B. A tool to manage users and permissions in SonarQube<br>C. A module to integrate SonarQube with your code repository<br>D. A visualization tool for code coverage reports</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">5. What types of issues can SonarQube find and report?</h3>



<p class="wp-block-paragraph">A. Security vulnerabilities<br>B. Code smells<br>C. Bugs<br>D. All of the above</p>



<h4 class="wp-block-heading">Answer: D</h4>



<h3 class="wp-block-heading">6. What is a code smell in SonarQube?</h3>



<p class="wp-block-paragraph">A. A violation of good coding practices<br>B. A security vulnerability<br>C. A bug in the code<br>D. A performance bottleneck</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">7. How does SonarQube calculate code coverage?</h3>



<p class="wp-block-paragraph">A. By measuring the number of lines of code executed during testing<br>B. By measuring the number of test cases written<br>C. By analyzing the code and reporting on the percentage of code coverage<br>D. By measuring the number of bugs discovered during testing</p>



<h4 class="wp-block-heading">Answer: C</h4>



<h3 class="wp-block-heading">8. What is the purpose of a quality gate in SonarQube?</h3>



<p class="wp-block-paragraph">A. To set the quality standards for a project<br>B. To track the progress of a project<br>C. To verify that a project meets certain quality criteria<br>D. To generate reports on a project&#8217;s code quality</p>



<h4 class="wp-block-heading">Answer: C</h4>



<h3 class="wp-block-heading">9. Can SonarQube integrate with Jenkins?</h3>



<p class="wp-block-paragraph">A. Yes<br>B. No</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">10. What is the purpose of the SonarLint plugin?</h3>



<p class="wp-block-paragraph">A. To perform code analysis in an IDE<br>B. To generate reports on code coverage<br>C. To manage users and permissions in SonarQube<br>D. To visualize code quality reports</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">11. Can SonarQube analyze code written in C++?</h3>



<p class="wp-block-paragraph">A. Yes<br>B. No</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">12. What is the purpose of the SonarQube Runner?</h3>



<p class="wp-block-paragraph">A. To install SonarQube on a server<br>B. To perform code analysis on a project<br>C. To manage plugins in SonarQube<br>D. To configure quality gates in SonarQube</p>



<h4 class="wp-block-heading">Answer: B</h4>



<h3 class="wp-block-heading">13. What is the purpose of the SonarQube web dashboard?</h3>



<p class="wp-block-paragraph">A. To configure the SonarQube server<br>B. To display project metrics and code quality reports<br>C. To manage user permissions in SonarQube<br>D. To generate code coverage reports</p>



<h4 class="wp-block-heading">Answer: B</h4>



<h3 class="wp-block-heading">14. Can SonarQube analyze code written in Ruby?</h3>



<p class="wp-block-paragraph">A. Yes<br>B. No</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">15. What is the purpose of the SonarQube Scanner?</h3>



<p class="wp-block-paragraph">A. To generate code coverage reports<br>B. To visualize code quality reports<br>C. To perform code analysis on a project<br>D. To manage plugins in SonarQube</p>



<h4 class="wp-block-heading">Answer: C</h4>



<h3 class="wp-block-heading">16. Can SonarQube integrate with Git?</h3>



<p class="wp-block-paragraph">A. Yes<br>B. No</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">17. What is the purpose of the SonarQube API?</h3>



<p class="wp-block-paragraph">A. To configure the SonarQube server<br>B. To perform code analysis on a project<br>C. To manage user permissions in SonarQube<br>D. To integrate SonarQube with external systems</p>



<h4 class="wp-block-heading">Answer: D</h4>



<h3 class="wp-block-heading">18. Can SonarQube analyze code written in .NET languages such as C# and VB.NET?</h3>



<p class="wp-block-paragraph">A. Yes<br>B. No</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">19. What is the purpose of the SonarQube Issues report?</h3>



<p class="wp-block-paragraph">A. To display all issues found during code analysis<br>B. To track the progress of a project<br>C. To manage user permissions in SonarQube<br>D. To configure quality gates in SonarQube</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">20. Can SonarQube analyze code written in JavaScript?</h3>



<p class="wp-block-paragraph">A. Yes<br>B. No</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">21. What is the purpose of the SonarQube portfolio management plugin?</h3>



<p class="wp-block-paragraph">A. To manage users and permissions in SonarQube<br>B. To track the progress of multiple projects<br>C. To visualize code quality reports<br>D. To generate code coverage reports</p>



<h4 class="wp-block-heading">Answer: B</h4>



<h3 class="wp-block-heading">22. Can SonarQube analyze code written in Swift?</h3>



<p class="wp-block-paragraph">A. Yes<br>B. No</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">23. What is the purpose of the SonarQube token authentication plugin?</h3>



<p class="wp-block-paragraph">A. To manage users and permissions in SonarQube<br>B. To configure quality gates in SonarQube<br>C. To integrate SonarQube with external systems<br>D. To perform code analysis on a project</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">24. Can SonarQube integrate with GitHub?</h3>



<p class="wp-block-paragraph">A. Yes<br>B. No</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">25. What is the purpose of the SonarQube Measurer plugin?</h3>



<p class="wp-block-paragraph">A. To perform code analysis on a project<br>B. To track the progress of a project<br>C. To generate code coverage reports<br>D. To visualize code quality reports</p>



<h4 class="wp-block-heading">Answer: C</h4>



<h3 class="wp-block-heading">26. Can SonarQube analyze code written in TypeScript?</h3>



<p class="wp-block-paragraph">A. Yes<br>B. No</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">27. What is the purpose of the SonarQube CI/CD plugin?</h3>



<p class="wp-block-paragraph">A. To generate reports on code coverage<br>B. To configure quality gates in SonarQube<br>C. To perform code analysis in a CI/CD pipeline<br>D. To manage users and permissions in SonarQube</p>



<h4 class="wp-block-heading">Answer: C</h4>



<h3 class="wp-block-heading">28. Can SonarQube integrate with Jenkins Pipeline?</h3>



<p class="wp-block-paragraph">A. Yes<br>B. No</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">29. What is the purpose of the SonarQube Quality model plugin?</h3>



<p class="wp-block-paragraph">A. To manage users and permissions in SonarQube<br>B. To configure quality gates in SonarQube<br>C. To track the progress of a project<br>D. To perform code analysis on a project</p>



<h4 class="wp-block-heading">Answer: B</h4>



<h3 class="wp-block-heading">30. Can SonarQube analyze code written in Kotlin?</h3>



<p class="wp-block-paragraph">A. Yes<br>B. No</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">31. What is the purpose of the SonarQube LDAP plugin?</h3>



<p class="wp-block-paragraph">A. To manage users and permissions in SonarQube<br>B. To track the progress of a project<br>C. To perform code analysis on a project<br>D. To generate code coverage reports</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">32. Can SonarQube integrate with Azure DevOps?</h3>



<p class="wp-block-paragraph">A. Yes<br>B. No</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">33. What is the purpose of the SonarQube Java plugin?</h3>



<p class="wp-block-paragraph">A. To perform code analysis on Java projects<br>B. To visualize code quality reports<br>C. To generate code coverage reports<br>D. To perform code analysis on Python projects</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">34. Can SonarQube analyze code written in Scala?</h3>



<p class="wp-block-paragraph">A. Yes<br>B. No</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">35. What is the purpose of the SonarQube Squid plugin?</h3>



<p class="wp-block-paragraph">A. To perform code analysis on a project<br>B. To generate code coverage reports<br>C. To visualize code quality reports<br>D. To manage users and permissions in SonarQube</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">36. Can SonarQube integrate with Bitbucket?</h3>



<p class="wp-block-paragraph">A. Yes<br>B. No</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">37. What is the purpose of the SonarQube XPath plugin?</h3>



<p class="wp-block-paragraph">A. To perform code analysis on a project<br>B. To generate code coverage reports<br>C. To manage users and permissions in SonarQube<br>D. To visualize code quality reports</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">38. Can SonarQube analyze code written in Go?</h3>



<p class="wp-block-paragraph">A. Yes<br>B. No</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">39. What is the purpose of the SonarQube Jenkins plugin?</h3>



<p class="wp-block-paragraph">A. To configure quality gates in SonarQube<br>B. To manage users and permissions in SonarQube<br>C. To integrate SonarQube with Jenkins<br>D. To perform code analysis on a project</p>



<h4 class="wp-block-heading">Answer: C</h4>



<h3 class="wp-block-heading">40. Can SonarQube analyze code written in Rust?</h3>



<p class="wp-block-paragraph">A. Yes<br>B. No</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">41. What is the purpose of the SonarQube Checkstyle plugin?</h3>



<p class="wp-block-paragraph">A. To track the progress of a project<br>B. To perform code analysis on a project<br>C. To generate code coverage reports<br>D. To manage users and permissions in SonarQube</p>



<h4 class="wp-block-heading">Answer: B</h4>



<h3 class="wp-block-heading">42. Can SonarQube integrate with GitLab?</h3>



<p class="wp-block-paragraph">A. Yes<br>B. No</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">43. What is the purpose of the SonarQube JUnit plugin?</h3>



<p class="wp-block-paragraph">A. To manage users and permissions in SonarQube<br>B. To generate code coverage reports<br>C. To perform code analysis on a project<br>D. To track the progress of a project</p>



<h4 class="wp-block-heading">Answer: B</h4>



<h3 class="wp-block-heading">44. Can SonarQube analyze code written in Groovy?</h3>



<p class="wp-block-paragraph">A. Yes<br>B. No</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">45. What is the purpose of the SonarQube Fortify plugin?</h3>



<p class="wp-block-paragraph"><br>A. To perform code analysis on a project<br>B. To generate code coverage reports<br>C. To manage users and permissions in SonarQube<br>D. To visualize code quality reports</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">46. Can SonarQube integrate with TFS?</h3>



<p class="wp-block-paragraph">A. Yes<br>B. No</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">47. What is the purpose of the SonarQube SwiftLint plugin?</h3>



<p class="wp-block-paragraph">A. To perform code analysis on Swift projects<br>B. To manage users and permissions in SonarQube<br>C. To visualize code quality reports<br>D. To generate code coverage reports</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">48. Can SonarQube analyze code written in Objective-C?</h3>



<p class="wp-block-paragraph">A. Yes<br>B. No</p>



<h4 class="wp-block-heading">Answer: A</h4>



<h3 class="wp-block-heading">49. What is the purpose of the SonarQube JIRA plugin?</h3>



<p class="wp-block-paragraph">A. To manage users and permissions in SonarQube<br>B. To configure quality gates in SonarQube<br>C. To integrate SonarQube with JIRA<br>D. To perform code analysis on a project</p>



<h4 class="wp-block-heading">Answer: C</h4>



<h3 class="wp-block-heading">50. Can SonarQube integrate with Azure Pipelines?</h3>



<p class="wp-block-paragraph">A. Yes<br>B. No</p>



<h4 class="wp-block-heading">Answer: A</h4>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/top-50-sonarqube-interview-questions-with-answers/">Top 50 SonarQube Interview Questions with Answers</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/top-50-sonarqube-interview-questions-with-answers/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How can we do the security analysis using SonarQube?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-can-we-do-the-security-analysys-using-sonarqube/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-can-we-do-the-security-analysys-using-sonarqube/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Fri, 28 Jul 2017 21:08:44 +0000</pubDate>
				<category><![CDATA[SonarQube]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[Security analysis]]></category>
		<category><![CDATA[SonarQube Guide]]></category>
		<category><![CDATA[SonarQube tutorial]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2017/07/28/how-can-we-do-the-security-analysys-using-sonarqube/</guid>

					<description><![CDATA[<h3>How can we do the Security Analysys using SonarQube?</h3>
<div>For Security Analysy purposes, a source code security analyzer</div>
<div>- examines source code to</div>
<div>- detect and report weaknesses that can lead to security vulnerabilities.</div>
<div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-can-we-do-the-security-analysys-using-sonarqube/">How can we do the security analysis using SonarQube?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h3><img decoding="async" class="size-full wp-image-2771 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/security-analysys-using-son.png" alt="security-analysis-using-sonarqube" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/security-analysys-using-son.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/security-analysys-using-son-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></h3>
<h3>How can we do the Security analysis using SonarQube?</h3>
<div>For Security analysis purposes, a source code security analyzer</div>
<div>&#8211; examines source code to</div>
<div>&#8211; detect and report weaknesses that can lead to security vulnerabilities.</div>
<p>&nbsp;</p>
<div></div>
<div>They are one of the last lines of defense to eliminate software vulnerabilities during development or after deployment. A Source Code Security Analysis Tool Functional Specification is available.</div>
<div></div>
<p>&nbsp;</p>
<div>The SonarQube Quality Model has three different types of rules: Reliability (bug), Vulnerability (security), and Maintainability (code smell) rules. But divided another way, there are only two types: security rules, and all the rest.</div>
<p>&nbsp;</p>
<div></div>
<div>To be clear, the standard for most rules implemented in SonarQube language plugins is very strict: no false positives. For normal rules, you should be able to be confident that whatever is reported to you as an issue really is an issue.</div>
<p>&nbsp;</p>
<div></div>
<div>The vast majority of security-related rules originate from established standards: CWE, SANS Top 25, and OWASP Top 10. To find rules that relate to any of these standards, you can search rules either by tag or by text.</div>
<p>&nbsp;</p>
<div></div>
<div><strong>CWE &#8211; Common Weakness Enumeration (CWE<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" />) is a formal list or dictionary of common software weaknesses that can occur in software&#8217;s architecture, design, code or implementation that can lead to exploitable security vulnerabilities.</strong></div>
<div><a href="http://cwe.mitre.org/" target="_blank" rel="noopener"><strong>http://cwe.mitre.org/</strong></a></div>
<p>&nbsp;</p>
<div></div>
<div><strong>SANS Top 25 &#8211; The SANS Top 25 list is a collection of the 25-most dangerous errors listed in the CWE, as compiled by the SANS organization.</strong></div>
<div><a href="http://www.sans.org/top25-software-errors/" target="_blank" rel="noopener"><strong>http://www.sans.org/top25-software-errors/</strong></a></div>
<p>&nbsp;</p>
<div></div>
<div><strong>OWASP Top 10 &#8211; OWASP stands for Open Web Application Security Project.The OWASP Top 10 is a list of broad categories of weaknesses, each of which can map to many individual rules.</strong></div>
<div><a href="https://www.owasp.org/index.php/Top_10_2013-Top_10" target="_blank" rel="noopener"><strong>https://www.owasp.org/index.php/Top_10_2013-Top_10</strong></a></div>
<div></div>
<p>&nbsp;</p>
<div><strong>XANITIZER &#8211; XANITIZER provides an integration with the code quality management platform SonarQube. It transfers all security relevant XANITIZER findings to SonarQube. It is possible to display this data in the SonarQube dashboard and the corresponding drilldown pages and time machines.</strong></div>
<div><a href="http://www.sonarplugins.com/xanitizer" target="_blank" rel="noopener"><strong>http://www.sonarplugins.com/xanitizer</strong></a></div>
<div></div>
<p>&nbsp;</p>
<div><strong>Reference</strong></div>
<div><a href="https://docs.sonarqube.org/display/SONAR/Security-related+rules" target="_blank" rel="noopener">https://docs.sonarqube.org/display/SONAR/Security-related+rules</a></div>
<div><a href="https://blog.sonarsource.com/sonar-to-identify-security-vulnerabilities/" target="_blank" rel="noopener">https://blog.sonarsource.com/sonar-to-identify-security-vulnerabilities/</a></div>
<div><a href="https://samate.nist.gov/index.php/Source_Code_Security_Analyzers.html" target="_blank" rel="noopener">https://samate.nist.gov/index.php/Source_Code_Security_Analyzers.html</a></div>
<div></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-can-we-do-the-security-analysys-using-sonarqube/">How can we do the security analysis using SonarQube?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-can-we-do-the-security-analysys-using-sonarqube/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>SonarQube Upgrade, Backup and Restore Process &#124; SonarQube Tutorial</title>
		<link>https://www.scmgalaxy.com/tutorials/sonarqube-upgrade-backup-and-restore-process/</link>
					<comments>https://www.scmgalaxy.com/tutorials/sonarqube-upgrade-backup-and-restore-process/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Fri, 28 Jul 2017 20:29:57 +0000</pubDate>
				<category><![CDATA[SonarQube]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[How]]></category>
		<category><![CDATA[Process]]></category>
		<category><![CDATA[Restore]]></category>
		<category><![CDATA[SonarQube Guide]]></category>
		<category><![CDATA[SonarQube tutorial]]></category>
		<category><![CDATA[Upgrade]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2017/07/28/sonarqube-upgrade-backup-and-restore-process/</guid>

					<description><![CDATA[<h3>SonarQube Upgrade, Backup and Restore Process</h3>
<div>Today I will share the steps to upgrade from the SonarQube version 5.X to SonarQube version 6.X. We have upgrade guide which can be found http://docs.sonarqube.org/display/SONAR/Upgrading but its not complete guide thus I am sharing the steps as follows which can be followed for the production server as well.  As practice shared on the oficial guide that before upgrading to the next major release, you must upgrade to know LTS e.g</div>
<div></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/sonarqube-upgrade-backup-and-restore-process/">SonarQube Upgrade, Backup and Restore Process | SonarQube Tutorial</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h3><img decoding="async" class="size-full wp-image-2789 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/sonarqube-upgrade-backup-an.png" alt="sonarqube-upgrade-backup-and-restore-process" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/sonarqube-upgrade-backup-an.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/sonarqube-upgrade-backup-an-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></h3>
<p>&nbsp;</p>
<h3>SonarQube Upgrade, Backup and Restore Process</h3>
<p>&nbsp;</p>
<div>Today I will share the steps to upgrade from the SonarQube version 5.X to SonarQube version 6.X. We have upgrade guide which can be found <a href="http://docs.sonarqube.org/display/SONAR/" target="_blank" rel="noopener">http://docs.sonarqube.org/display/SONAR/</a>Upgrading but its not complete guide thus I am sharing the steps as follows which can be followed for the production server as well.  As practice shared on the oficial guide that before upgrading to the next major release, you must upgrade to know LTS e.g</div>
<div></div>
<div>Example 1 : 4.2 -&gt; 6.1, migration path is 4.2 -&gt; 4.5.7 LTS -&gt; 5.6 LTS -&gt; 6.1</div>
<div>Example 2 : 5.1 -&gt; 5.6, migration path is 5.1 -&gt; 5.6</div>
<p>&nbsp;</p>
<div></div>
<div>Upgrading across multiple versions is handled automatically. However, if in your migration path you have an LTS version, you must first migrate to this LTS and then migrate to your target version.</div>
<p>&nbsp;</p>
<div></div>
<div>Remember that SonarQube upgrade procedure does not have a rollback procedure, so it is mandatory that you take a full backup of the system before performing the upgrade.</div>
<p>&nbsp;</p>
<div></div>
<h3>Process 1: Steps to Take a Full Backup of SonarQube Server?</h3>
<div><strong>Step 1 &#8211; Stop the production server</strong></div>
<div>Windows</div>
<div>%SONARQUBE_HOME%/bin/windows-x86-32/StopNTService.bat</div>
<div>Linux</div>
<div>$SONAR_HOME/bin/linux-x86-64/sonar.sh stop</div>
<div></div>
<div><strong>Step 2 &#8211; Backup the production database e.g mysql db</strong></div>
<div>&gt; mysqldump &#8211;opt -Q -h localhost -u username&#8211;password=&#8217;password&#8217; databasename | gzip -9 &gt; databasename.gz</div>
<div>Also, there is one tool which has been available to take the backup of database.</div>
<div><a href="https://docs.sonarqube.org/display/SONAR/Sonar+DB+Copy+Tool" target="_blank" rel="noopener">https://docs.sonarqube.org/display/SONAR/Sonar+DB+Copy+Tool</a></div>
<div></div>
<div><strong>Step 3 &#8211; Backup the $SONAR_HOME directory</strong></div>
<div>&gt; zip -r Sonar_home.zip $SONAR_HOME</div>
<div></div>
<div><strong>Step 4 &#8211; List of plugins installed</strong></div>
<div>Be mindful that $SONAR_HOME/extensions/plugins directory where you can get the list of plugins installed.</div>
<div></div>
<div><strong>Step 5 &#8211; List of custom coding rules installed</strong></div>
<div>Be mindful that $SONAR_HOME/extensions/rules directory where you can get the list of custom coding rules.</div>
<div></div>
<div><strong>Step 6 &#8211; List of configurations used</strong></div>
<div>Be mindful that $SONAR_HOME/config directory where you can get sonar.properties and wrapper.conf file which has all the current configurations and setup.</div>
<div></div>
<div><strong>Step 7 &#8211; Re-start the production server</strong></div>
<div>Windows</div>
<div>%SONARQUBE_HOME%/bin/windows-x86-32/StartSonar.bat</div>
<div>Linux</div>
<div>$SONAR_HOME/bin/linux-x86-64/sonar.sh start</div>
<div></div>
<div><strong>Step 8: Keep the Sonar_home.zip and databasename.gz to the safe location.</strong></div>
<div></div>
<div></div>
<p>&nbsp;</p>
<h3>Process 2: SonarQube server Upgrade process.</h3>
<div>Following are the steps to be followed to upgrade the SonarQube server.</div>
<div></div>
<div><strong>Step 1: Stop your old SonarQube Server.</strong></div>
<div></div>
<div><strong>Step 2: <span style="font-size: 12.16px;">Install/Configure a most latest version of SonarQube </span></strong><br />
Install/Configure a most latest version of SonarQube Server in another location. The instructions is shared here (<a href="https://docs.sonarqube.org/display/SONAR/Installing+the+Server" target="_blank" rel="noopener">https://docs.sonarqube.org/display/SONAR/Installing+the+Server</a>)</div>
<div></div>
<div><strong>Step 3: Install the your required plugins/extensions compatib</strong>le with your version of SonarQube. The Instructions is shared here.(<a href="https://docs.sonarqube.org/display/SONAR/Installing+a+Plugin" target="_blank" rel="noopener">https://docs.sonarqube.org/display/SONAR/Installing+a+Plugin</a>)</div>
<div></div>
<div><strong>Step 4: Update the contents of sonar.properties and wrapper.conf files</strong> (in NEW_SONARQUBE_HOME/conf) with the settings of the related files in the OLD_SONARQUBE_HOME/conf directory (web server URL, database, ldap settings, etc.). Do not copy-paste the old files.</div>
<div>If you are using the Oracle DB, copy its JDBC driver into NEW_SONARQUBE_HOME/extensions/jdbc-driver/oracle</div>
<div></div>
<div><strong>Step 5: Start your new SonarQube Server</strong></div>
<div>Windows</div>
<div>%SONARQUBE_HOME%/bin/windows-x86-32/StartSonar.bat</div>
<div>Linux</div>
<div>$SONAR_HOME/bin/linux-x86-64/sonar.sh start</div>
<div></div>
<div><strong>Step 6: Browse to <a href="http://blog.majcica.com/2016/11/01/upgrading-sonarqube-to-a-newer-version/" target="_blank" rel="noopener">http://yourSonarQubeServerURL/setup and follow the setup instructions</a></strong></div>
<div></div>
<div><strong>Step 7: Verify the SonarQube Upgrade.</strong></div>
<p>&nbsp;</p>
<div></div>
<div><strong>Note &#8211; SonarQube as a Linux or Windows Service</strong></div>
<div>If you use external configuration, such as a script or Windows Service to control your server, you&#8217;ll need to update it to point to NEW_SONARQUBE_HOME.</div>
<div>In case you used the InstallNTService.bat to install SonarQube as a Windows Service, run the OLD_SONARQUBE_HOME/bin/&#8230;/UninstallNTService.bat before running the InstallNTService.bat of the NEW_SONARQUBE_HOME.</div>
<div></div>
<div>If you install SonarQube with Sql Server, it is better to chose Latin1_General_CS_AS as collation to avoid problems.</div>
<div></div>
<p>&nbsp;</p>
<div><strong>Some Well known Troubleshooting after upgrades.</strong></div>
<div>Issues &#8211; Sonarqube upgrade 5.6 to 6.1, test coverage measue is missing</div>
<div>Solution &#8211; You might be missing the sonar.java.binaries. Sonar-5.6 did not need those.</div>
<div></div>
<div>Issues &#8211; Some unknown issues</div>
<div>Solution &#8211; Whenever you have problem with SonarQube do not forget to read the log, because only in the log you can understand the real cause of errors.</div>
<div></div>
<p>&nbsp;</p>
<div><strong>Reference</strong></div>
<div><a href="https://docs.sonarqube.org/display/SONAR/Upgrading" target="_blank" rel="noopener">https://docs.sonarqube.org/display/SONAR/Upgrading</a></div>
<div><a href="http://blog.majcica.com/2016/11/01/upgrading-sonarqube-to-a-newer-version/" target="_blank" rel="noopener">http://blog.majcica.com/2016/11/01/upgrading-sonarqube-to-a-newer-version/</a></div>
<div><a href="http://www.codewrecks.com/blog/index.php/2016/08/11/upgrading-sonarqube-from-5-1-to-6-0/" target="_blank" rel="noopener">http://www.codewrecks.com/blog/index.php/2016/08/11/upgrading-sonarqube-from-5-1-to-6-0/</a></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/sonarqube-upgrade-backup-and-restore-process/">SonarQube Upgrade, Backup and Restore Process | SonarQube Tutorial</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/sonarqube-upgrade-backup-and-restore-process/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>SonarQube Frequently asked questions (FAQ) &#124;  SonarQube FAQs</title>
		<link>https://www.scmgalaxy.com/tutorials/sonarqube-frequently-asked-questions-faq/</link>
					<comments>https://www.scmgalaxy.com/tutorials/sonarqube-frequently-asked-questions-faq/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Fri, 28 Jul 2017 19:15:16 +0000</pubDate>
				<category><![CDATA[SonarQube]]></category>
		<category><![CDATA[FAQs]]></category>
		<category><![CDATA[Frequently asked questions]]></category>
		<category><![CDATA[SonarQube FAQs]]></category>
		<category><![CDATA[SonarQube question and answers]]></category>
		<category><![CDATA[SonarQube questions]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2017/07/28/sonarqube-frequently-asked-questions-faq/</guid>

					<description><![CDATA[<h3>SonarQube Frequently asked questions (FAQ)</h3>
<div> </div>
<div><strong>Is SonarQube Replacement for Checkstyle, PMD, FindBugs?</strong></div>
<div><strong>--------------------------------------------------------------</strong></div>
<div>Answers - YES and NO</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/sonarqube-frequently-asked-questions-faq/">SonarQube Frequently asked questions (FAQ) |  SonarQube FAQs</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h3><img loading="lazy" decoding="async" class="size-full wp-image-2832 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/sonarqube-faqs.png" alt="sonarqube-faqs" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/sonarqube-faqs.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/sonarqube-faqs-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></h3>
<h3></h3>
<p>&nbsp;</p>
<h3>SonarQube Frequently asked questions (FAQ)</h3>
<div></div>
<div><strong>Is SonarQube Replacement for Checkstyle, PMD, FindBugs?</strong></div>
<div><strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</strong></div>
<div>
<p>Answers &#8211; YES and NO</p>
</div>
<div></div>
<div>Why Yes?</div>
<div>Sonar will run CheckStyle, FindBugs and PMD, as well as a few other &#8220;plugins&#8221; such as Cobertura (code coverage) by default for Java projects. The main added value, however, is that it stores the history in a database. You can then see the trend. Are you improving the code base or are you doing the opposite? Only a tool with memory can tell you that.</div>
<div></div>
<div>Why No?</div>
<div>SonarQube is currently on the way to deprecate PMD, Checkstyle and Findbugs and use their own technology to analyze Java code (called SonarJava). They do it, because they don&#8217;t want to spend their time fixing, upgrading (or waiting on it) those libraries (e.g. for Java 8), which for example uses outdated libraries. Well at least since SonarQube 6.3+ it seems to be that Findbugs is (at the moment) no longer supported as a plugin.</div>
<div></div>
<p>&nbsp;</p>
<div><strong>What is the SonarQube Plugins available which can be integrated with Eclipse, IntelliJ IDEA, Visual Studio, Visual Studio Code, and Atom?</strong></div>
<div><strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</strong></div>
<div>Answer &#8211;</div>
<div>SonarLint is an extension to your favorite IDE that provides on-the-fly feedback to developers on new bugs and quality issues injected into their code.</div>
<div>Reference</div>
<div><a href="http://www.sonarlint.org/index.html" target="_blank" rel="noopener">http://www.sonarlint.org/index.html</a></div>
<div></div>
<p>&nbsp;</p>
<div><strong>Where i can get the Support related to SonarQube?</strong></div>
<div><strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</strong></div>
<div>Google Grops</div>
<div><a href="https://groups.google.com/forum/#!forum/sonarqube" target="_blank" rel="noopener">https://groups.google.com/forum/#!forum/sonarqube</a></div>
<div></div>
<div>Facebook Groups</div>
<div><a href="https://www.facebook.com/groups/devopsindia" target="_blank" rel="noopener">https://www.facebook.com/groups/devopsindia</a></div>
<div></div>
<div>Linkedin Groups</div>
<div><a href="https://www.linkedin.com/groups/6727934" target="_blank" rel="noopener">https://www.linkedin.com/groups/6727934</a></div>
<div></div>
<div>Public Forum</div>
<div><a href="https://stackoverflow.com/questions/tagged/sonarqube" target="_blank" rel="noopener">https://stackoverflow.com/questions/tagged/sonarqube</a></div>
<div></div>
<p>&nbsp;</p>
<div><strong>Top 10 Lessons Learned from 2 Years Work with Codehaus Sonar</strong></div>
<div><strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</strong></div>
<div><a href="http://www.sw-engineering-candies.com/blog-1/top-10-lessons-learned-from-2-years-work-with-codehaus-sonar-open-source-quality-management-platform" target="_blank" rel="noopener">http://www.sw-engineering-candies.com/blog-1/top-10-lessons-learned-from-2-years-work-with-codehaus-sonar-open-source-quality-management-platform</a></div>
<div></div>
<div></div>
<p>&nbsp;</p>
<div><strong>Configure Sonar to exclude files from Maven pom.xml</strong></div>
<div><strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<img loading="lazy" decoding="async" class=" size-full wp-image-679" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/Configure-SonarQube-to-excl.jpg" alt="" width="836" height="600" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/Configure-SonarQube-to-excl.jpg 836w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/Configure-SonarQube-to-excl-300x215.jpg 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/Configure-SonarQube-to-excl-768x551.jpg 768w" sizes="auto, (max-width: 836px) 100vw, 836px" /><br />
</strong></div>
<div><a href="http://docs.sonarqube.org/display/SONAR/Narrowing+the+Focus#NarrowingtheFocus-IgnoreFiles" target="_blank" rel="noopener">http://docs.sonarqube.org/display/SONAR/Narrowing+the+Focus#NarrowingtheFocus-IgnoreFiles</a></div>
<div><a href="https://docs.sonarqube.org/display/SONAR/Analysis+Parameters#AnalysisParameters-Exclusions/Inclusions" target="_blank" rel="noopener">https://docs.sonarqube.org/display/SONAR/Analysis+Parameters#AnalysisParameters-Exclusions/Inclusions</a></div>
<div><a href="https://docs.sonarqube.org/display/SONAR/Narrowing+the+Focus#NarrowingtheFocus-IgnoreCodeCoverage" target="_blank" rel="noopener">https://docs.sonarqube.org/display/SONAR/Narrowing+the+Focus#NarrowingtheFocus-IgnoreCodeCoverage</a></div>
<div><a href="https://docs.sonarqube.org/display/SONAR/Analysis+Parameters#AnalysisParameters-Exclusions/Inclusions" target="_blank" rel="noopener">https://docs.sonarqube.org/display/SONAR/Analysis+Parameters#AnalysisParameters-Exclusions/Inclusions</a></div>
<div><a href="https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Maven#AnalyzingwithSonarQubeScannerforMaven-ExcludingamodulefromSonarQubeanalysis" target="_blank" rel="noopener">https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Maven#AnalyzingwithSonarQubeScannerforMaven-ExcludingamodulefromSonarQubeanalysis</a></div>
<div></div>
<p>&nbsp;</p>
<div><strong>Does Sonar support multiple language in same project ex. sonar.language=java,grvy?</strong></div>
<div><strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</strong></div>
<div>Starting with SonarQube 4.2, multi-language projects are supported.</div>
<div></div>
<div>This automatically happens when sonar.language is not set.</div>
<div>See sample project here: <a href="https://github.com/bellingard/multi-language-project" target="_blank" rel="noopener">https://github.com/bellingard/multi-language-project</a></div>
<div></div>
<div></div>
<p>&nbsp;</p>
<div><strong>How to exclude the directory in SonarQube?</strong></div>
<div><strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</strong></div>
<div>try something like this:</div>
<div>sonar.exclusions=src/java/test/**</div>
<div>
<p>sonar.exclusions=system/**, test/**, application/third_party/**, application/logs/**</p>
<div><strong>How to Increase SonarQube Heap Size?</strong></div>
<div><strong>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</strong></div>
<div>Whenever you get a issues like &#8220;SonarQube analysis failed java.lang.OutOfMemoryError: Java heap space&#8221;, you may following options to follow.</div>
<div></div>
<div>Option 1 &#8211; Reduce the analyze scope by either reducing the project size(split your project in smaller sub projects/modules) or reducing the set of rules that are analyzed.</div>
<div></div>
<div>Option 2 – Increase the memory size that can be consumed by the JVM.  This can be done by adding the following Environment Variable:</div>
<div>SONAR_RUNNER_OPTS=&#8221;-Xmx3062m -XX:MaxPermSize=512m -XX:ReservedCodeCacheSize=128m&#8221;</div>
<div></div>
<div>e.g Linux</div>
<div>&gt; export SONAR_SCANNER_OPTS=&#8221;-Xmx3062m -XX:MaxPermSize=512m -XX:ReservedCodeCacheSize=128m&#8221;</div>
<div>e.g Windows</div>
<div>&gt; set SONAR_SCANNER_OPTS=&#8221;-Xmx3062m -XX:MaxPermSize=512m -XX:ReservedCodeCacheSize=128m&#8221;</div>
<div></div>
<p>&nbsp;</p>
<div>Reference</div>
<div><a href="https://docs.sonarqube.org/display/SONAR/Hardware+Recommendations" target="_blank" rel="noopener">https://docs.sonarqube.org/display/SONAR/Hardware+Recommendations</a></div>
<div><a href="https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner" target="_blank" rel="noopener">https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner</a></div>
</div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/sonarqube-frequently-asked-questions-faq/">SonarQube Frequently asked questions (FAQ) |  SonarQube FAQs</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/sonarqube-frequently-asked-questions-faq/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>What are the alternatives of SonarQube for Code Quality Management?</title>
		<link>https://www.scmgalaxy.com/tutorials/alternate-of-sonarqube-for-code-quality-management-tools/</link>
					<comments>https://www.scmgalaxy.com/tutorials/alternate-of-sonarqube-for-code-quality-management-tools/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Fri, 28 Jul 2017 18:57:45 +0000</pubDate>
				<category><![CDATA[SonarQube]]></category>
		<category><![CDATA[Alternate of SonarQube]]></category>
		<category><![CDATA[Code quality management]]></category>
		<category><![CDATA[Coverity]]></category>
		<category><![CDATA[HPE Fortify]]></category>
		<category><![CDATA[JSHint]]></category>
		<category><![CDATA[SonarQube alternatives]]></category>
		<category><![CDATA[Tools]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2017/07/28/alternate-of-sonarqube-for-code-quality-management-tools/</guid>

					<description><![CDATA[<h3>Alternate of Sonarqube for Code Quality Management tools?</h3>
<div>There is not a popular known alternate of Sonarqube and Sonarqube is definitly dominating the Software Quality management domain in terms of open source cateogry. But you may try following tools depends on the use and project requirements.</div>
<div> </div>
<div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/alternate-of-sonarqube-for-code-quality-management-tools/">What are the alternatives of SonarQube for Code Quality Management?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h3><img loading="lazy" decoding="async" class="size-full wp-image-2858 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/sonarqube-alternatives.png" alt="sonarqube-alternatives" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/sonarqube-alternatives.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/sonarqube-alternatives-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></h3>
<p>&nbsp;</p>
<h3>Alternate of SonarQube for Code Quality Management tools?</h3>
<div>There is not a popular known alternate of SonarQube and Reasonable is definitely dominating the Software Quality management domain in terms of open source category. But you may try following tools depends on the use and project requirements.</div>
<div></div>
<div></div>
<p>&nbsp;</p>
<div><strong>JSHint (Java Script Only)</strong></div>
<div>JSHint is a community-driven tool that detects errors and potential problems in JavaScript code. Since JSHint is so flexible, you can easily adjust it in the environment you expect your code to execute. JSHint is open source and will always stay this way. It is a program that flags suspicious usage in programs written in JavaScript. The core project consists of a library itself as well as a CLI program distributed as a Node module. This tool used in software development for checking if JavaScript source code complies with coding rules</div>
<div>More Info can be found here &#8211; <a href="http://jshint.com/about/" target="_blank" rel="noopener">http://jshint.com/about/</a></div>
<div></div>
<p>&nbsp;</p>
<div><strong>HPE Fortify</strong></div>
<div>HPE Fortify Software Security Center enables any organization of any size to automate any or all aspects of a successful SSA program. Part of the family of HPE Enterprise Security Products, HPE Fortify Software Security Center is comprised of industry-leading products, solutions, and features that address the complete spectrum of your application security needs.</div>
<div></div>
<p>&nbsp;</p>
<div>HPE Fortify Software Security Center can help you:</div>
<div>&#8211; Address immediate security issues in software you’ve already deployed.</div>
<div>&#8211; Reduce systemic risk in software you’re developing or acquiring from vendors.</div>
<div>&#8211; Meet compliance goals for internal and external security mandates.</div>
<div>&#8211; HPE WebInspect Real-Time</div>
<div>&#8211; Interactive vulnerability review and management</div>
<div>&#8211; Advanced web services security testing</div>
<div>&#8211; HPE WebInspect Trend Reporting</div>
<div>&#8211; Refined and simple usability</div>
<div>&#8211; Actionable remediation and compliance reports</div>
<div>More Info can be found at &#8211; <a href="https://saas.hpe.com/en-us/software/fortify-on-demand" target="_blank" rel="noopener">https://saas.hpe.com/en-us/software/fortify-on-demand</a></div>
<div></div>
<p>&nbsp;</p>
<div><strong>Coverity</strong></div>
<div>Synopsys Static Analysis (Coverity®) is an accurate and comprehensive static analysis and Static Application Security Testing (SAST) platform that finds critical defects and security weaknesses in code as it’s written before they become vulnerabilities, crashes, or maintenance headaches. It is Static Code Analysis tool. Find critical defects and security weaknesses in code as it&#8217;s written before they become vulnerabilities, crashes, or maintenance headaches.</div>
<div></div>
<p>&nbsp;</p>
<div>More Info can be found at</div>
<div><a href="https://www.synopsys.com/software-integrity/resources/datasheets/coverity.html" target="_blank" rel="noopener">https://www.synopsys.com/software-integrity/resources/datasheets/coverity.html</a></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/alternate-of-sonarqube-for-code-quality-management-tools/">What are the alternatives of SonarQube for Code Quality Management?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/alternate-of-sonarqube-for-code-quality-management-tools/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>What is SonarQube and What is not?</title>
		<link>https://www.scmgalaxy.com/tutorials/what-is-sonarqube-and-what-is-not/</link>
					<comments>https://www.scmgalaxy.com/tutorials/what-is-sonarqube-and-what-is-not/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Fri, 28 Jul 2017 18:15:16 +0000</pubDate>
				<category><![CDATA[SonarQube]]></category>
		<category><![CDATA[Code Analysis Tool]]></category>
		<category><![CDATA[Code analyzer]]></category>
		<category><![CDATA[Code quality management]]></category>
		<category><![CDATA[SonarQube doubts]]></category>
		<category><![CDATA[SonarQube features]]></category>
		<category><![CDATA[SonarQube tutorial]]></category>
		<category><![CDATA[What is SonarQube]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2017/07/28/what-is-sonarqube-and-what-is-not/</guid>

					<description><![CDATA[<h3>What is SonarQube?</h3>
<div>It’s a code quality management platform that allows developer teams to manage, track and eventually improve the quality of the source code.  It’s a web based application that keeps historical data of a variety of metrics and gives trends of leading and lagging indicators for all seven deadly sins of developers.</div>
<div> </div>
<div>Sonar is an open source platform used by development teams to manage source code quality. Sonar has been developed with a main objective in mind: make code quality management accessible to everyone with minimal effort.</div>
<div> </div>
<div>As such, Sonar provides code analyzers, reporting tools, defects hunting modules and TimeMachine as core functionality. But it also embarks a plugin mechanism enabling the community to extend the functionality (more than 35 plugins available), making Sonar the one-stop-shop for source code quality by addressing not only developers but also managers needs.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/what-is-sonarqube-and-what-is-not/">What is SonarQube and What is not?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h3><img loading="lazy" decoding="async" class="size-full wp-image-2853 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/sonarqube.png" alt="what-is-sonarqube" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/sonarqube.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/sonarqube-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></h3>
<p>&nbsp;</p>
<h3>What is SonarQube?</h3>
<div>It’s a code quality management platform that allows developer teams to manage, track and eventually improve the quality of the source code.  It’s a web based application that keeps historical data of a variety of metrics and gives trends of leading and lagging indicators for all seven deadly sins of developers.</div>
<div></div>
<div>Sonar is an open source platform used by development teams to manage source code quality. Sonar has been developed with a main objective in mind: make code quality management accessible to everyone with minimal effort.</div>
<div></div>
<div>
<p>As such, Sonar provides code analyzers, reporting tools, defects hunting modules and TimeMachine as core functionality. But it also embarks a plugin mechanism enabling the community to extend the functionality (more than 35 plugins available), making Sonar the one-stop-shop for source code quality by addressing not only developers but also managers needs.</p>
<p><strong><br />
Main Feature of SonarQube</strong></p>
</div>
<div><strong>Continuous Inspection</strong></div>
<div>SonarQube provides the capability to not only show health of an application but also to highlight issues newly introduced. With a Quality Gate in place, you can fix the leak and therefore improve code quality mechanically.</div>
<div></div>
<div><strong>Detect Tricky Issues</strong></div>
<div>Our code analyzers are equipped powerful path sensitive dataflow engines to detect tricky issues such as null-pointers dereferences, logic errors, resource leaks</div>
<div></div>
<div><strong>Centralize Quality</strong></div>
<div>One place to provide a shared vision of code quality for developers, tech leads, managers and executives in charge of a few to a few thousands projects and also to act as a toll gate for application promotion or release.</div>
<div></div>
<div><strong>DevOps Integration</strong></div>
<div>SonarQube integrates with the entire DevOps toolchain including build systems, CI engines, promotion pipelines&#8230; using webhooks and its comprehensive RestAPI.</div>
<div></div>
<div><strong>20+ Programming Languages</strong></div>
<div>With SonarQube comes a code analyzer for each major programming language. Each analyzer provides numerous rules to spot general and language-specific quality issues.</div>
<div></div>
<div></div>
<p>&nbsp;</p>
<h3>What SonarQube is Not?</h3>
<div><strong>SonarQube is NOT a build tool.</strong> Period. There are several tools out there like Maven, Ant, Gradle etc. that do a perfect job on that field. SonarQube expects that before you analyze a project it has been already compiled and built by your favorite build tool.</div>
<div></div>
<div><strong>SonarQube is NOT (only) a static code analyzer :</strong> It’s not a replacement for FindBugs or CPPCheck or any other similar tool. On the contrary, not only it offers its own static code analysis mechanism that detects coding rules violations but at the same time it’s integrated with external tools like the ones I mentioned. The result is that you can get, homogenized, in a single report all issues detected by a variety of static and dynamic analysis tools.</div>
<div></div>
<div><strong>SonarQube is NOT a code coverage tool :</strong> Clearly NOT. Again it’s integrated with the most popular test coverage tools like JaCoCo, Cobertura, PHPUnit etc. but it doesn’t compute code coverage itself. It reads pre-generated unit test report files and displays them in an extremely convenient dasboard.</div>
<div></div>
<div><strong>SonarQube is NOT a code formatter.</strong> It’s not allowed to modify your code in any way. However you can get formatting suggestions by enabling the CheckStyle, CPPCheck, ScalaStyle rules you want to follow.</div>
<div></div>
<div><strong>SonarQube is NOT a continuous integration system</strong> to run your nightly builds : You can integrate it with the most popular CI Engines to apply Continuous Inspection but it’s not their replacement.</div>
<div></div>
<div>
<p><strong>SonarQube is NOT just another manual code review tool.</strong> Indeed SonarQube offers a very powerful mechanism that facilitates code reviews but this is not a standalone features. It’s tight to the issues detection mechanism so every code review can be easily associated to the exact part of the problematic code and the developer that caused it.</p>
<p><strong>Reference<br />
</strong><a href="https://www.sonarqube.org/" target="_blank" rel="noopener">https://www.sonarqube.org/</a><br />
<a href="http://softwaregarden.io/sonarqube/">http://softwaregarden.io/sonarqube/</a></p>
<p><strong> </strong></p>
</div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/what-is-sonarqube-and-what-is-not/">What is SonarQube and What is not?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/what-is-sonarqube-and-what-is-not/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>What is SonarJava? Is it replacement for Checkstyle, PMD, FindBugs?</title>
		<link>https://www.scmgalaxy.com/tutorials/know-about-sonarjava-is-it-replacement-for-checkstyle-pmd-findbugs/</link>
					<comments>https://www.scmgalaxy.com/tutorials/know-about-sonarjava-is-it-replacement-for-checkstyle-pmd-findbugs/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Fri, 28 Jul 2017 17:38:24 +0000</pubDate>
				<category><![CDATA[SonarQube]]></category>
		<category><![CDATA[Alternatives]]></category>
		<category><![CDATA[Checkstyle]]></category>
		<category><![CDATA[Code analyzer]]></category>
		<category><![CDATA[Code Coverage]]></category>
		<category><![CDATA[FindBugs]]></category>
		<category><![CDATA[PMD]]></category>
		<category><![CDATA[SonarJava]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2017/07/28/know-about-sonarjava-is-it-replacement-for-checkstyle-pmd-findbugs/</guid>

					<description><![CDATA[<div>
<div>
<div><strong>Know About SonarJava! Is it replacement for Checkstyle, PMD, FindBugs?</strong></div>
</p></div>
<p> SonarJava has a great coverage of well-established quality standards. The SonarJava capability is available in Eclipse and IntelliJ for developers (SonarLint) as well as throughout the development chain for automated code review with on-premise SonarQube or on-line SonarCloud.</p></div>
<div> </div>
<div>SonarJava is a code analyzer for Java projects. Information about the SonarJava features is available below;</div>
<div> </div>
<div><strong>Why SonarJava?</strong></div>
<div>SonarQube is currently on the way to deprecate PMD, Checkstyle and Findbugs and use their own technology to analyze Java code (called SonarJava). They do it, because they don't want to spend their time fixing, upgrading (or waiting on it) those libraries (e.g. for Java 8), which for example uses outdated libraries. Well at least since SonarQube 6.3+ it seems to be that Findbugs is (at the moment) no longer supported as a plugin.</div>
<div> </div>
<div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/know-about-sonarjava-is-it-replacement-for-checkstyle-pmd-findbugs/">What is SonarJava? Is it replacement for Checkstyle, PMD, FindBugs?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div>
<p><img loading="lazy" decoding="async" class="size-full wp-image-2850 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/know-about-sonarjava.png" alt="know-about-sonarjava" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/know-about-sonarjava.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2017/07/know-about-sonarjava-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p>SonarJava has a great coverage of well-established quality standards. The SonarJava capability is available in Eclipse and IntelliJ for developers (SonarLint) as well as throughout the development chain for automated code review with on-premise SonarQube or on-line SonarCloud.</p>
</div>
<div></div>
<div>SonarJava is a code analyzer for Java projects. Information about the SonarJava features is available below;</div>
<div></div>
<div><strong>Why SonarJava?</strong></div>
<div>SonarQube is currently on the way to deprecate PMD, Checkstyle and Findbugs and use their own technology to analyze Java code (called SonarJava). They do it, because they don&#8217;t want to spend their time fixing, upgrading (or waiting on it) those libraries (e.g. for Java 8), which for example uses outdated libraries. Well at least since SonarQube 6.3+ it seems to be that Findbugs is (at the moment) no longer supported as a plugin.</div>
<div></div>
<div><strong><br />
Features</strong></div>
<div>409+ rules (including 103+ bug detection, 273 Code Smells, 33 Vulerabilities)</div>
<div>Metrics (complexity, number of lines etc.)</div>
<div>Import of test coverage reports</div>
<div>Custom rules</div>
<div></div>
<div><strong>SonarJava is being used in the following&#8230;</strong></div>
<div>SonarQube</div>
<div>SonarCloud</div>
<div>SonarLint for Eclipse</div>
<div>SonarLint for Intellij IDEA</div>
<div></div>
<div><strong>Supported versions, frameworks and special analyses&#8230;</strong></div>
<div>Java language versions through 8</div>
<div>Frameworks Struts, Spring, Hibernate</div>
<div>Native integration with Maven, Gradle, and Ant</div>
<div></div>
<div><strong>Metrics</strong></div>
<div>Code Coverage by Tests: SonarJava supports the import of JaCoCo and Cobertura test coverage reports.</div>
<div></div>
<div><strong>Custom Rules</strong></div>
<div>SonarJava supports custom rules written in Java.</div>
<div></div>
<div><strong>Reference</strong></div>
<div><a href="https://github.com/SonarSource/sonar-java" target="_blank" rel="noopener">https://github.com/SonarSource/sonar-java</a></div>
<div><a href="https://www.sonarsource.com/products/codeanalyzers/sonarjava.html" target="_blank" rel="noopener">https://www.sonarsource.com/products/codeanalyzers/sonarjava.html</a></div>
<div><a href="https://docs.sonarqube.org/display/PLUG/SonarJava" target="_blank" rel="noopener">https://docs.sonarqube.org/display/PLUG/SonarJava</a></div>
<div></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/know-about-sonarjava-is-it-replacement-for-checkstyle-pmd-findbugs/">What is SonarJava? Is it replacement for Checkstyle, PMD, FindBugs?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/know-about-sonarjava-is-it-replacement-for-checkstyle-pmd-findbugs/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
