Top "Checkstyle" questions

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

Checkstyle, Unable to create Root Module

I'm trying to configure Checkstyle in the project. I've added: apply plugin: 'checkstyle' checkstyle { // assign the latest checkstyle version explicitly // …

android checkstyle
How fix all check style issues with Intellij Idea?

I have an xml configuration file for maven checkstyle plugin. I have installed Intellij Idea plugin and see all checkstyle …

maven plugins intellij-idea checkstyle
How to remove Checkstyle info (wrong order for import org.apache.log4j.Logger)

I can see a Checkstyle info which says - Wrong order for import, org.apache.log4j.Logger. I could …

java eclipse checkstyle
Where can I find the OFFICIAL Java Coding/Style Standards?

I use CheckStyle plugin for Eclipse and it does a wonderful job. I would like to know if there an …

java coding-style standards checkstyle
Maven check style as a part of the build

Is there a possibility to somehow force maven to fail the build if there are some checkstyle errors? Now I …

java maven checkstyle
Java - Checkstyle - Redundant Throws

I'm using STS and installed checkstyle plugin. Using install new software with this URL http://eclipse-cs.sourceforge.net/update. I …

java checkstyle
Disable all checkstyle checks for a specific java package

I have two packages namely com/mydomain/abc/delegate/xyz/jaxws/managed and com/mydomain/abc/xyz/jaxws/managed I …

java xml regex checkstyle
Checkstyle - Exclude folder

I want to ignore a specific folder (named generated-sources) from my checkstyle reports, because they are generated. I'm using eclipse-cs …

eclipse checkstyle
Where can I find checkstyle config for Android Coding Style?

There are Coding Conventions for Android. They include some stuff like naming conventions that can be checked using checkstyle. I've …

android coding-style checkstyle
Allowed HTML tags in Javadoc

The Checkstyle rule JavadocStyle does not allow the tag <u>. According to the docs, the checks were patterned …

html javadoc checkstyle