Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 784731
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T20:45:36+00:00 2026-05-14T20:45:36+00:00

I have experimented with several different static analyzers for Java, notably Findbugs and PMD.

  • 0

I have experimented with several different static analyzers for Java, notably Findbugs and PMD.

I am looking for examples of other static analyzers that may be worth running on Java code.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T20:45:37+00:00Added an answer on May 14, 2026 at 8:45 pm

    Next to FindBugs and PMD, there are also Bandera, ESC/Java and JLint. You can find a comparision of them here (PDF). Here’s an extract of relevance:

    Bug Category - Example                            | ESC | FindBugs | JLint | PMD
    --------------------------------------------------+-----+----------+-------+-----
    General - Null dereference                        |  V  |    V     |   V   |  V
    Concurrency - Possible deadlock                   |  V  |    V     |   V   |  V
    Exceptions - Possible unexpexted exception        |  V  |          |       |
    Array - Length may be less than zero              |  V  |          |   V   |   
    Mathematics - Division by zero                    |  V  |          |   V   |  
    Conditional, loop - Unreachable code              |     |    V     |       |  V 
    String - Checking equality using == or !=         |     |    V     |   V   |  V
    Object overriding - Equal objects/equal hashcodes |     |    V     |   V   |  V
    I/O stream - Stream not closed on all paths       |     |    V     |       |  
    Unused or duplicate statement - Unused local      |     |    V     |       |  V
    Design - Should be a static inner class           |     |    V     |       |  
    Unnecessary statement - Unnecessary return        |     |          |       |  V
    

    Note: The article is from 2004. The tools may have been improved in the meanwhile.

    As you see, FindBugs and PMD finds pretty much and are also the most popular static analyser tools. However, some points are also covered by a smart IDE nowadays, like null deference, unused locals and unreachable code. Eclipse for example can warn on them.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Unit tests have different requirements than production code. For example, unit tests may not
Since a few days, I have noticed on several, not related pages that a
I have a lot of different servers that I connect to. Each time I
I have tried on two different machines, and tried the download several times, but
We have several ASP.NET applications that use a sitemap which is populated via a
I have a database table that holds customer data with several million rows in
I have experienced Zend Framework 1 and I've build some apps with that framework.
I have a bit of code that fits theoretical prediction to experimental data, and
I am a .net web developer. I have several years of experience in this
I think I may have found a bug in PHP's crypt() function under Windows.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.