Analyzing concurrent code with FindBugs

The static code analysis tools are a set of tools that analyze the source code of an application looking for potential errors. These tools, such as Checkstyle, PMD, or FindBugs have a set of predefined rules of good practices and parse the source code looking for violations of those rules. The objective is to find errors or places causing poor performance early, before it will be executed in production. Programming languages usually offer such tools and Java is not an exception. One of these tools to analyze Java code is FindBugs. It's an open source tool that includes a series of rules to analyze Java-concurrent code.

In this recipe, you will learn how to use this tool to analyze your Java-concurrent applications. ...

Get Java 7 Concurrency Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.