Checkstyle 6.0

43 views
Skip to first unread message

Roman Ivanov

unread,
Oct 23, 2014, 3:49:14 PM10/23/14
to checkstyl...@googlegroups.com

Checkstyle Release 6.0

http://checkstyle.sourceforge.net/releasenotes.html#Release_6.0

New features that extend API:
Support of single-line and block comments in parse tree. ANTLR4 grammar for parsing Javadoc comments.

New features:
AnnotationLocationCheck.
AtclauseOrderCheck.
JavadocParagraph.
JavadocTagContinuationIndentation.
SingleLineJavadocCheck.
NonEmptyAtclauseDescriptionCheck.
Update for existing JavadocMethodCheck to satisfy Google's style requirements.

Notes:
Google style is now covered to maximum of Checkstyle ability - http://checkstyle.sourceforge.net/google_style.html.
All binaries are now compiled by Jdk6. Jdk5 is not supported any more.

Roman Ivanov

unread,
Oct 29, 2014, 1:22:11 AM10/29/14
to checkstyl...@googlegroups.com
Hi All,

You might notice serious performance degradation on latest version of Google style config.

That is due to JavaDoc validation Checks. 
To avoid performance problems you can disable all JavaDoc related Checks that use new API, or use them in less frequent validation phase (ones a week build) :
SingleLineJavadoc
JavaDocParagraph
AtclauseOrder 
JavaDocTagContinuationIndentation 
NonEmptyAtclauseDescription
SummaryJavadoc

We will resolve that problem in future releases by caching parsed trees between all Checks.

thanks,
Roman Ivanov
Reply all
Reply to author
Forward
0 new messages