Skip to main content
  • Log in
  • Manage Cookies
Eclipse Plugins, Bundles and Products - Eclipse Marketplace
  • My Marketplace
  • Add Content
  • More
      • Community

      • Marketplace
      • Events
      • Planet Eclipse
      • Newsletter
      • Videos
      • Blogs
      • Participate

      • Report a Bug
      • Forums
      • Mailing Lists
      • Wiki
      • IRC
      • Research
      • Eclipse IDE

      • Download
      • Learn More
      • Documentation
      • Getting Started / Support
      • How to Contribute
      • IDE and Tools
      • Newcomer Forum
    • Search

  1. Home
  2. Marketplace
  3. Tools
  4. SpotBugs Eclipse plugin

Please be aware that some listings have been temporarily delisted from our marketplace in order to improve the security of the platform. We apologize for any inconvenience this may caused.

For more information on this matter, please visit #1.

If you are a listing owner and would like to have your listing(s) reinstated, please open a ticket at https://gitlab.eclipse.org/eclipsefdn/it/websites/marketplace.eclipse.org/-/issues.

Thank you for your understanding and cooperation.

SpotBugs Eclipse plugin

SpotBugs Eclipse plugin
884
8
Install

Drag to Install!

Drag to your running Eclipse* workspace.
*Requires Eclipse Marketplace Client

Add this URL to your Eclipse Installation to reach this solution's update site.

Photon (4.8)
Oxygen (4.7)
Neon (4.6)
2018-09 (4.9)
2018-12 (4.10)
2019-03 (4.11)
2019-06 (4.12)
2019-09 (4.13)
2019-12 (4.14)
2020-03 (4.15)
2020-06 (4.16)
2020-09 (4.17)
2020-12 (4.18)
2021-03 (4.19)

https://spotbugs.github.io/eclipse/

Learn more...

Details Group Tabs

Details

SpotBugs is a program which uses static analysis to look for bugs in Java code. SpotBugs is open source (LGPL).

SpotBugs checks for more than 400 bug patterns, such as null pointer dereferences, infinite recursive loops, bad uses of the Java libraries and deadlocks. Bug descriptions can be found here.

SpotBugs Eclipse Plugin integrates SpotBugs seamlessly with the most popular Java IDE and allows to run SpotBugs analysis incrementally on changed files or on demand per project. A quick plugin introduction is available at https://spotbugs.readthedocs.io/en/latest/eclipse.html and a short video demo is available on YouTube.

SpotBugs is the spiritual successor of FindBugs, carrying on from the point where FindBugs left off with support of its community. SpotBugs is developed by an open source community and depends on the help from community. Please consider to help the project with patches, testing or simply improving documentation - your help is highly appreciated.

Submit your issue or suggestion at github and start contributing to the project!

Update sites:

  • https://spotbugs.github.io/eclipse/ - provides official releases of SpotBugs Eclipse plugin.
  • https://spotbugs.github.io/eclipse-candidate/ - provides official releases and release candidates of SpotBugs Eclipse plugin.
  • https://spotbugs.github.io/eclipse-latest/ - provides latest SpotBugs Eclipse plugin built from master branch.
Categories:
  • IDE,
  • Source Code Analyzer,
  • Tools
Tags:
  • java,
  • quality,
  • bugs,
  • analysis,
  • defects,
  • findbugs,
  • spotbugs,
  • static analysis,
  • test
Additional Details
Eclipse Versions: 
Photon (4.8), Oxygen (4.7), Neon (4.6), 2018-09 (4.9), 2018-12 (4.10), 2019-03 (4.11), 2019-06 (4.12), 2019-09 (4.13), 2019-12 (4.14), 2020-03 (4.15), 2020-06 (4.16), 2020-09 (4.17), 2020-12 (4.18), 2021-03 (4.19)
Platform Support: 
Windows, Mac, Linux/GTK
Organization Name: 
SpotBugs Team
Development Status: 
Production/Stable
Date Created: 
Thu, 2017-06-29 23:59
License: 
LGPL
Date Updated: 
Wed, 2021-09-22 06:21
Submitted by: 
Kengo TODA
Metrics
DateRankingInstallsClickthroughs
February 202347/515146 (0.35%)1
January 202326/6771822 (0.53%)20
December 202245/8051128 (0.33%)47
November 202245/8081381 (0.35%)23
October 202238/8111515 (0.4%)26
September 202241/8121508 (0.38%)20
August 202228/8081725 (0.48%)28
July 202252/8161144 (0.31%)24
June 202252/8101261 (0.32%)28
May 202252/8101321 (0.3%)29
April 202249/8171423 (0.34%)33
March 202244/8201598 (0.34%)31
View Data for all Listings
Errors

Unsuccessful Installs in the last 7 Days: 3

CountError Message
2Cannot complete the install because one or more required items could not be found....
1Cannot continue the operation. There is another install operation in progress.
Download last 500 errors (CSV)
External Install Button

Marketplace Drag to Install button

By adding the following code below to your website you will be able to add an install button for SpotBugs Eclipse plugin.

HTML Code:


Markdown Syntax:



Output: Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client
Saturday, February 4, 2023 - 11:49

Reviews Sign in to post reviews

elie's picture

No repository found

Submitted by Claude Chauvin on Tue, 2022-12-20 04:40

Hi,

I use eclipse ide (4.8 photon) and I would like to install the spotbug plugin.
but I get this error message "No repository found at url spotbugs.github.io/eclipse"

and this another message : This is Eclipse Plugin Update Site for SpotBugs Eclipse Plugin. Use this URL  to install plugin with the Eclipse Update Manager.
Plugin ID  com.github.spotbugs.plugin.eclipse
Version    4.7.3.r202210170504-fa9e53a

I didn't manage to install the plugin. I also tried without success with Eclipse 4.16 (2020-06),
I don't understand how others do it.
Please, could you help me,

aloskutov's picture

Re: No repository found

Submitted by Andrey Loskutov on Tue, 2022-12-20 10:56

Same procedure like with any other update site / plugin.

Help -> Install New Software ... -> Work with -> https://spotbugs.github.io/eclipse/ -> Check "SpotBugs" -> Next -> Next -> Accept License -> Finish.

elie's picture

Re: Re: No repository found

Submitted by Claude Chauvin on Fri, 2022-12-30 09:47

Thank you for your help Andrey,
It works very well on my personal pc (my difficulty to install at work must be due to a special configuration),
Wishing you a great year ahead !

pshankardrn's picture

M2E-Connector for SpotBugs plugin?

Submitted by Prem Shankar on Sun, 2017-10-29 03:51

Is there a m2e connector for Spotbugs plugin like we have m2e connector for Findbugs plugin? As I am using Eclipse Oxygen, I can't install FindBugs plugin.

mzajc's picture

Great plug-in, a must have for every Java dev!!

Submitted by Marko Zajc on Mon, 2017-10-02 09:14

This plug-in helped me solve many known and unknown bugs. It tells you exactly in what conditions the bug occurs, on which line it occurs and how to fix it. Just great!

mzajc's picture

A great tool, support for Eclipse Photon?

Submitted by Marko Zajc on Mon, 2017-10-02 07:22

This tool worked just great in Oxygen 1, but the RV_RETURN_VALUE_IGNORED_INFERRED detector does no longer work in Eclipse Photon. Is there a way to solve it other than using Oxygen instead?

mzajc's picture

Solved

Submitted by Marko Zajc on Mon, 2017-10-02 09:15

I solved the issue, it was a detector configuration mistake!

aloskutov's picture

A "must have" tool for every Java developer

Submitted by Andrey Loskutov on Sun, 2017-07-02 03:51

You use JUnit to test your code? You perform code reviews?

If yes, then here is the tool which will find test failures and review issues even before you build your application - just as you type. If not, here is the tool which (in few minutes) will give you the proof, that your code is not worth to be deployed at all, and a good reason to start testing your application and to review your code.

SpotBugs works similar to the Java compiler: as soon as you hit CTRL+S, Eclipse will compile the code and start incremental bug analysis. SpotBugs can find an amazing number of different bug patterns, which are sometimes hard to debug or to reproduce. SpotBugs has a very small number of false positives. Even if you think that the code will never run in the highlighted issue, in many cases the tool open your eyes on "dirty" places in your code.

SpotBugs is valuable for both beginner and experienced programmers. If you just start to write Java applications, the tool will help you to learn better programming practices by explaining you the reasons why the code should be written in a different way. SpotBugs helps experienced developers to keep the code clean and to review other's code by simply running the analysis over the Java projects.

SpotBugs uses unique bytecode scanning techniques to analyze compiled Java code. In most cases the critical and medium severity bugs found by SpotBugs are real, serious programming errors, and not just coding style issues. This is the main differentiator to other similar tools like PMD and Checkstyle (both are source-code analyzer).

I cannot imagine to seriously develop Java software without SpotBugs Eclipse plugin anymore. For those who knows Ant , Maven, Hudson or Jenkins: of course, they also have plugins for SpotBugs, so that you can use same tool as in your IDE to analyze your software during automated tests.

Markets

  • Eclipse Project (4)
  • Tools (1342)
    • Application Development Frameworks (171)
    • Application Management (32)
    • Application Server (31)
    • BIRT (10)
    • Build and Deploy (104)
    • Business Intelligence, Reporting and Charting (14)
    • Code Management (117)
    • Collaboration (37)
    • Database (44)
    • Database Development (34)
    • Database Persistence (17)
    • Documentation (60)
    • Eclipse Kura (122)
    • Eclipse SmartHome (46)
    • EclipseRT Target Platform Components (10)
    • Editor (339)
    • Entertainment (14)
    • General Purpose Tools (124)
    • Graphics (34)
    • IDE (344)
    • Internet of Things (IoT) (35)
    • J2EE Development Platform (44)
    • J2ME (5)
    • Languages (155)
    • Linux Tools (19)
    • Logging (22)
    • Mobile and Device Development (49)
    • Modeling (90)
    • Modeling Tools (146)
    • Mylyn Connectors (20)
    • Network (14)
    • Other (74)
    • Process (18)
    • Profiling (22)
    • Programming Languages (100)
    • Reporting (32)
    • Rich Client Applications (39)
    • Science (4)
    • SCM (20)
    • Search (42)
    • SOA Development (15)
    • Source Code Analyzer (99)
    • Systems Development (59)
    • Team Development (54)
    • Testing (90)
    • Tools (568)
    • UI (97)
    • UML (40)
    • Web (90)
    • Web Services (31)
    • Web, XML, Java EE and OSGi Enterprise Development (32)
    • XML (29)
  • IoT (172)
    • Eclipse Kura (122)
    • Eclipse SmartHome (46)
  • RCP Applications (79)
  • Training & Consulting (53)
  • Long Term Support (11)

Search

Advanced Search

More like this

  • FindBugs Eclipse Plugin
  • Snyk Security- Code,​ Open Source,​ IaC Configurations
  • SonarLint
  • Codetrails Developer Assistance Tools
  • HCL AppScan on Cloud

Favorited by

Eclipse Foundation

  • About Us
  • Contact Us
  • Sponsor
  • Members
  • Governance
  • Code of Conduct
  • Logo and Artwork
  • Board of Directors
  • Careers

Legal

  • Publishing Guidelines
  • Privacy Policy
  • Terms of Use
  • Copyright Agent
  • Eclipse Public License
  • Legal Resources

Useful Links

  • Welcome to Marketplace
  • Report a Bug
  • Documentation
  • How to Contribute
  • Mailing Lists
  • Forums
  • Marketplace

Other

  • IDE and Tools
  • Projects
  • Working Groups
  • Research@Eclipse
  • Report a Vulnerability
  • Service Status

Copyright © Eclipse Foundation. All Rights Reserved.

Back to the top