Top "Checkstyle" questions

Checkstyle is a static analysis tool for checking compliance of Java code to standards.

SonarQube - how is it used

I have a simple problem, with a simple answer probably, but I can't find what is it. We want to …

sonarqube checkstyle sonar-runner software-quality
How to resolve At-clause should have a non-empty description? - Checkstyle - Java

I am using the google java style in the checkstyle plugin for eclipse luna. Seeing this error all over my …

java checkstyle google-style-guide
Massively refactor - how to add final keyword to Java method argument

This might be a simple question: How can I massively refactor my Java code to make most of the method …

java intellij-idea refactoring checkstyle
How can I suppress specific Checkstyle rules in Eclipse?

I'm trying to use suppression filter but an unexpected error occurs. Following is an error message. "cannot initialize module SuppressionFilter …

checkstyle suppression
JavaScript code checking beyond JSLint

I'm looking for something that works like Checkstyle for JavaScript. I know about JSLint and I'm already using Google's Closure …

javascript checkstyle jslint
How to specify relative path to checkstyle config in root project in gradle 2.2+

I have the following project structure: project checkstyle checkstyle.xml subproject1 ... subproject2 ... build.gradle My configuration for checkstyle in the …

gradle checkstyle
Property does not exist error in checkstyle configuration file

I create an Android project using Android Studio. In the build.gradle of the app add: apply from: '../config/…

gradle checkstyle
Java's checkstyle, MagicNumberCheck

I am using checkstyle to get reportings about my source-code. This question is about the MagicNumberCheck. I am using Date/(…

checkstyle magic-numbers
Default constructor is good or evil? Checkstyle and PMD are opposite here

Checkstyle says: Class should define a constructor. PMD says: Avoid unnecessary constructors - the compiler will generate these for you. …

java checkstyle pmd default-constructor