<?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>Checkstyle Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/checkstyle/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/checkstyle/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 09:49:35 +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>Checkstyle reports different issues on different r</title>
		<link>https://www.scmgalaxy.com/tutorials/checkstyle-reports-different-issues-on-different-r/</link>
					<comments>https://www.scmgalaxy.com/tutorials/checkstyle-reports-different-issues-on-different-r/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 09 Dec 2017 09:47:17 +0000</pubDate>
				<category><![CDATA[source code analysis tools]]></category>
		<category><![CDATA[Checkstyle]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2660</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: Checkstyle reports different issues on different r Checkstyle reports different issues on different runs I&#8217;m seeing [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/checkstyle-reports-different-issues-on-different-r/">Checkstyle reports different issues on different r</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: Checkstyle reports different issues on different r</strong></p>
<p>Checkstyle reports different issues on different runs</p>
<p>I&#8217;m seeing something strange with the checkstyle plugin.</p>
<p>We are using Checkstyle plugin 2.5 and configure it using a checkstyle<br />
file in a jar that is an extension of our pom.</p>
<p>Thus:</p>
<pre class="brush: css; title: ; notranslate">
&lt;project&gt;
&lt;properties&gt;
&lt;checkstyle-maven-plugin.version&gt;2.5&lt;/checkstyle-maven-plugin.version&gt;
&lt;/properties&gt;
&lt;build&gt;

&lt;plugins&gt;
&lt;plugin&gt;
&lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
&lt;artifactId&gt;maven-checkstyle-plugin&lt;/artifactId&gt;
&lt;version&gt;${checkstyle-maven-plugin.version}&lt;/version&gt;
&lt;configuration&gt;
&lt;includeTestSourceDirectory&gt;true&lt;/includeTestSourceDirectory&gt;
&lt;configLocation&gt;iris_checks.xml&lt;/configLocation&gt;
&lt;/configuration&gt;
&lt;/plugin&gt;
&lt;/plugins&gt;
&lt;extensions&gt;
&lt;extension&gt;
&lt;groupId&gt;org.example&lt;/groupId&gt;
&lt;artifactId&gt;build-resources&lt;/artifactId&gt;
&lt;version&gt;1.0.4&lt;/version&gt;
&lt;/extension&gt;
&lt;/extensions&gt;
&lt;/build&gt;
&lt;/project&gt;
</pre>
<p>When I run the following command line:<br />
mvn clean checkstyle:checkstyle &#038;&#038; cp target/checkstyle-result.xml .<br />
&#038;&#038; mvn clean checkstyle:checkstyle &#038;&#038; diff checkstyle-result.xml<br />
target/checkstyle-result.xml</p>
<p>I sometimes see differences like:</p>
<pre class="brush: css; title: ; notranslate">
&gt; &lt;error line=&quot;12&quot; column=&quot;5&quot; severity=&quot;warning&quot; message=&quot;Missing a Javadoc
&gt; comment.&quot;
&gt; source=&quot;com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck&quot;/&gt;
279a281,286
&gt; &lt;error line=&quot;122&quot; column=&quot;9&quot; severity=&quot;warning&quot; message=&quot;Missing a Javadoc
&gt; comment.&quot;
&gt; source=&quot;com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck&quot;/&gt;
&gt; &lt;error line=&quot;123&quot; column=&quot;9&quot; severity=&quot;warning&quot; message=&quot;Missing a Javadoc
&gt; comment.&quot;
&gt; source=&quot;com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck&quot;/&gt;
&gt; &lt;error line=&quot;124&quot; column=&quot;9&quot; severity=&quot;warning&quot; message=&quot;Missing a Javadoc
&gt; comment.&quot;
&gt; source=&quot;com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck&quot;/&gt;
&gt; &lt;error line=&quot;125&quot; column=&quot;9&quot; severity=&quot;warning&quot; message=&quot;Missing a Javadoc
&gt; comment.&quot;
&gt; source=&quot;com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck&quot;/&gt;
&gt; &lt;error line=&quot;126&quot; column=&quot;9&quot; severity=&quot;warning&quot; message=&quot;Missing a Javadoc
&gt; comment.&quot;
&gt; source=&quot;com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck&quot;/&gt;
&gt; &lt;error line=&quot;127&quot; column=&quot;9&quot; severity=&quot;warning&quot; message=&quot;Missing a Javadoc
&gt; comment.&quot;
&gt; source=&quot;com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck&quot;/&gt;
</pre>
<p>I don&#8217;t change code between runs, so I assume this may never happen.<br />
What could cause this?</p>
<p>With regards,<br />
Regards,<br />
Rajesh Kumar<br />
Twitt me @ twitter.com/RajeshKumarIn</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/checkstyle-reports-different-issues-on-different-r/">Checkstyle reports different issues on different r</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/checkstyle-reports-different-issues-on-different-r/feed/</wfw:commentRss>
			<slash:comments>0</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 fetchpriority="high" 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="(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>
