The Artima Developer Community
Sponsored Link

Java Community News
Checkstyle 4.2 Released

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Bill Venners

Posts: 2284
Nickname: bv
Registered: Jan, 2002

Checkstyle 4.2 Released Posted: Jul 12, 2006 11:14 PM
Reply to this message Reply
Summary
Oliver Burn has released a new version of Checkstyle, an open source tool that can help you write Java code that adheres to a coding style standard. The latest release contains bug fixes and a few minor enhancements.
Advertisement

Oliver Burn described Checkstyle, and its latest release, in this way:

Put simply, Checkstyle is a tool for enforcing coding standards. It has a modular design that allows specific checks to be configured, and Checkstyle is easily extended by writing custom checks. The architecture is geared towards performance, allowing for Checkstyle to run quickly and operates by analysing the source code. There is some overlap with tools like PMD and FindBugs, but these tools focus more on design bugs and run much slower. Personally I recommend running all three tools on any project.

The 4.2 release contains a number of bug fixes and minor enhancements, the most significant being support for suppressing errors at a finer level than the check class name. To explain how this is useful, imagine you configure the GenericIllegalRegexp check twice, once to detect trailing white space (to reduce conflicts on code merges) and another to detect calls to "System.out". Previously it was not possible to just suppress the check to detect calls to "System.out".

You can download Checkstyle 4.2 from SourceForge.

To what extent is the establishment and enforcement of coding style standards a good idea? When is it appropriate, and when not? What's your opinion?

Topic: Checkstyle 4.2 Released Previous Topic   Next Topic Topic: Article: BPEL Service Composition for SOA

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use