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. Unnecessary Code Detector

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.

Unnecessary Code Detector

Unnecessary Code Detector
350
19
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.

2020-03 (4.15)
2019-12 (4.14)
2019-09 (4.13)
2019-06 (4.12)
2019-03 (4.11)
2018-12 (4.10)
2018-09 (4.9)
Photon (4.8)
Oxygen (4.7)
Neon (4.6)
Mars (4.5)
Luna (4.4)
Kepler (4.3)
Juno (4.2, 3.8)
Previous to Juno (<=4.1)
2020-06 (4.16)
2020-09 (4.17)
2020-12 (4.18)
2021-03 (4.19)

https://ucdetector.sourceforge.net/update/

Learn more...

Screenshot 0

Details Group Tabs

Details

UCDetector (Unnecessary Code Detector) is a eclipse PlugIn tool to find unnecessary (dead) public java code. For example public classes, methods or fields which have no references.

Categories:
  • IDE,
  • Source Code Analyzer,
  • Tools
Tags:
  • find unused code,
  • Source Code Analyzer,
  • java,
  • static analysis,
  • fileExtension_java
Additional Details
Eclipse Versions: 
2020-03 (4.15), 2019-12 (4.14), 2019-09 (4.13), 2019-06 (4.12), 2019-03 (4.11), 2018-12 (4.10), 2018-09 (4.9), Photon (4.8), Oxygen (4.7), Neon (4.6), Mars (4.5), Luna (4.4), Kepler (4.3), Juno (4.2, 3.8), Previous to Juno (<=4.1), 2020-06 (4.16), 2020-09 (4.17), 2020-12 (4.18), 2021-03 (4.19)
Platform Support: 
Windows, Mac, Linux/GTK
Organization Name: 
Jörg Spieler
Development Status: 
Production/Stable
Date Created: 
Thu, 2008-03-13 10:12
License: 
EPL
Date Updated: 
Wed, 2022-12-14 09:46
Submitted by: 
Joerg Spieler
Subscribe to Unnecessary Code Detector RSS-feed
Screenshots
Screenshot 0
Metrics
DateRankingInstallsClickthroughs
March 2023112/679403 (0.11%)10
February 2023136/668297 (0.09%)16
January 2023124/677337 (0.1%)13
December 2022127/805347 (0.1%)29
November 2022137/808341 (0.09%)18
October 2022135/811358 (0.09%)20
September 2022131/812380 (0.1%)16
August 2022123/808382 (0.11%)19
July 2022127/816373 (0.1%)27
June 2022126/810383 (0.1%)32
May 2022140/810357 (0.08%)26
April 2022137/817367 (0.09%)19
View Data for all Listings
Errors

Unsuccessful Installs in the last 7 Days: 0

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 Unnecessary Code Detector.

HTML Code:


Markdown Syntax:



Output: Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client
Wednesday, March 29, 2023 - 02:23

Reviews Sign in to post reviews

visualexport's picture

very helpful

Submitted by Leonard Bosco on Sun, 2021-09-26 03:10

found code parts I completly forgot :-)

Thanks

dkimery's picture

Thank you!

Submitted by David Kimery on Fri, 2020-06-26 14:38

This is great!  I am converting a rather large and old Spring 3 project to Spring Boot and there are a ton of unsed classes.  This is going to help weed out the useless crap.

aanka's picture

checks text files in the whole workspace

Submitted by Arne Anka on Wed, 2018-05-16 06:04

thanks for the plugin, but there's an issue that seriously limits its usability for me:

plugin checks also text files (or even more?) in the whole worksprace instead of limiting itself to the current project.

given Eclipse's long-standing an annoying failure to keep its idea of files' states up-to-date, I get a long list of

Resource is out of sync with the file system: ...

which is plain nonsense (files have not changed for a long time _and_ I've run refresh several times) and on top of it about files that have nothing to do with the project to be checked.

additionally, a check run takes unnecessarily long.

 

eahnell's picture

Re: checks text files in the whole workspace

Submitted by Eric Ahnell on Tue, 2020-01-28 17:17

This is annoying for sure, but that's ultimately due to the defaults not being a good fit for your needs. I run into this myself, so I change them... but I REALLY wish the UCDetector settings supported import/export. That would make both my life and yours a lot easier!

fnavarroanb's picture

problems to install plugin

Submitted by Felipe Navarro on Sat, 2018-02-17 18:52

 

jspieler's picture

Re: problems to install plugin

Submitted by Joerg Spieler on Wed, 2018-02-21 19:11

The update site works now: http://ucdetector.sourceforge.net/update/

It seems SourceForge has still trouble. See: https://twitter.com/sfnet_ops/

eahnell's picture

Invalid repository error!

Submitted by Eric Ahnell on Wed, 2018-02-14 19:35

I have created a bug for this on the Sourceforge tracker - suffice to say, it won't install.

jspieler's picture

Re: Invalid repository error!

Submitted by Joerg Spieler on Sun, 2018-02-18 12:31

The temporary Sourceforge Problem ist fixed. See https://twitter.com/sfnet_ops/status/965055907557269504

jsomers's picture

Breaks eclipse

Submitted by John Somers on Wed, 2017-09-20 06:38

After installing, my Eclipse Mars installation no longer identifies classes with compiler errors in Project Explorer view and no longer rebuilds automatically

jspieler's picture

Re: Breaks eclipse

Submitted by Joerg Spieler on Fri, 2017-09-29 18:56

Hi John,

nobody else reported this problem.

If you have any stack traces from:
WORKSPACE/.metadata/.log
or
Eclipse Error Log View
please add a bug here: https://sourceforge.net/p/ucdetector/bugs/

Thanks
Jörg

bbollisetty's picture

Problem while using

Submitted by Bharath Bollisetty on Fri, 2016-09-16 03:20

After successfully installation i am not able to see any "UCDetector" link in my context menu after right click on the package.

tletien's picture

Useful

Submitted by Tai Le Tien on Sun, 2015-10-04 17:59

I have to work on a Eclipse RCP project which contains full of copy-paste, dead code. This plugin helps me a lot during refactoring time.

troberts1hx's picture

Breaks my workspace

Submitted by Tharpa Roberts on Tue, 2015-08-04 11:48

After I install it, all I can see in Eclipse is a blank screen. Even uninstalling it does not restore the work space. I cannot even see my code. The only way to fix it is to go to Window, Reset Perspective. I have confirmed that this plug-in is the problem. I have uninstalled it and reinstalled it, and the same thing happens.

jspieler's picture

Hi Tharpa,

Submitted by Joerg Spieler on Mon, 2015-08-10 16:44

Hi Tharpa,

if you have any stack traces from:
WORKSPACE/.metadata/.log
or
Eclipse Error Log View
please add a bug here: https://sourceforge.net/p/ucdetector/bugs/

Thanks
Jörg

mmisingname3um's picture

Excellent tool! Highly recommended!

Submitted by Jean-Noël Rouvignac on Thu, 2015-05-21 15:02

I cannot work without this tool anymore.
It helps you tidy up the code and removing methods/fields/classes that are never called anywhere.
It also suggests reducing methods/fields/classes visibility which is key to maintain the code.
Lastly it suggests fields that could be final. It sometimes takes a of work to get there, but you won't regret it.
Be careful when applying the changes if your code uses reflection.

I give it a 5/5 mark and wished it could do even more!
Thanks Jörg Spieler for this very useful tool!

irodriguez7i8's picture

Recommended

Submitted by Igor Rodriguez on Thu, 2014-05-22 12:05

This plugin helps you get rid of the dead code in your project. This means that your code-base will be reduced and the maintenance will be easier. Thanks to this plugin I removed 20.000 lines of code from a project of 130.000 without changing any behavior.

Anyway it is not perfect, and you'll find that you have more dead code than the one this plugin detects, but it will mark about 70-80% of it, so it is a great option.

nwaisbrot128's picture

Great for large projects

Submitted by Nathaniel Waisbrot on Mon, 2012-10-15 22:46

I've found this very useful with the large code-base at my office. It does a great job of finding the dead code. Nice extras are that it will mark things as only used in unit tests and it finds when the access specifier is too general.

mmarinato's picture

Great plugin

Submitted by Mario Marinato on Tue, 2012-01-03 14:22

After a few hours trying out different solutions, you may end up having methods from your first tries forgotten throughout your code. UCDetector helps spotting them.

smisingnameop8's picture

Very useful

Submitted by Sergey Mising name on Fri, 2010-03-26 23:59

Good work - thank you very much

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
  • Design and Verification Tools (DVT) IDE for e, SystemVerilog, VHDL, and PSS
  • Optimize Java 8 Streams Refactoring
  • jSparrow- Java Refactoring and Java Code Analyzer
  • Snyk Security- Code,​ Open Source,​ IaC Configurations

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