Start
Preferences
More
Releases
FAQ
Custom
License
Contact & Links

UCDetector UCDetector: Unnecessary Code Detector

FAQ

Why does the problems view doesn't show ucdetector problems?
Check problems view filters:
  • Click the small triangle in Problems View
  • Configure Contents...
  • Use "Group by type"
  • Preferences/marker limit
How do I get rid of all this UCDetector warnings?
  • Run UCDetector/clean markers
  • Group warnings by type
  • Filter UCDetector warnings: Configure Contents.../Types

How do I fix a OutOfMemoryError?
Increase java heap space by declaring VM parameter in ECLIPSE_HOME/eclipse.ini:
-vmargs
-Xmx500m
-XX:MaxPermSize=256m

Does UCDetector find unnecessary private code?
No. Use eclipse compiler settings to find this kind of code.

Can I trust 100% UCDetector warnings?
No. Check reflection, do a full text search, ask your architect, apply changes carefully.

Is there a UCDetector version for other IDE's?
No. UCDetector is limited to Eclipse IDE.

I need UCDetector to check name conventions. Can you extend UCDetector?
No. Use other tools like PMD, Checkstyle, Finbugs. Or check out org.ucdetector.additional and write your own detection.

Is there a ANT task to create UCDetector reports?
Yes. Unzip folder org.ucdetector.source_x.y.z.zip/ant, check README.txt

Why did you create UCDetector?
UCDetector is a private project. I started it to find unused code. Especially before and after refactoring.

How can I see UCDetector traces?
Add a new line '-debug' to ECLIPSE_HOME/eclipse.ini. Unzip file org.ucdetector_x.y.z.jar/.options file to ECLIPSE_HOME

Where can I find UCDetector Exceptions?
Check the eclipse error log view and the eclipse log file at: ECLIPSE_WORKSPACE/.metadata/.log

Why is UCDetector so slow?
When you man manually try to find unused code, you search for references, which is slow. UCDetector searches for references all the time and it checks inheritance.

How can I make UCDetector faster?
Changing preferences can improve speed of UCDetector slightly.

Why does UCDetector not work at all?
When UCDetector was installed by update site, this is a way to add ucdetector.jar to dropins directory.
  • Uninstall ucdetector using "Help/install new software"
  • Exit eclipse
  • Put ucdetector.jar in ECLIPSE_HOME/dropins directory
  • Start eclipse
See also discussion The choosen operation is not available


Last Update: 2010-08-20Copyright © 2010, by Jörg Spieler

Page views since 2008-03-01: Page views since 2008-03-01 Hosted by: SourceForge.net Logo