In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
What this article shares with you is about the usage and limitations of the useless code scanning tool UCDetector. The editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.
Projects that deposit or take over development often encounter a pile of useless code, but a class search is quite time-consuming. Here is an introduction to an eclipse plug-in to scan unreferenced classes, methods, and constants.
The plug-in is called UCDetector and the introduction address is http://www.ucdetector.org/index.html
Eclipse update site is: http://ucdetector.sourceforge.net/update
How to use it is to right-click on the project (you can select multiple modules by shift) and select UCDetector- > Detect unnecessary code
After the scan is completed, the html report is generated in the ucdetector_reports folder of the eclipse installation directory, and you can view it.
Plug-in limitations: the following code references cannot be scanned by UCDetector and need to be judged manually:
1. Reflection
2. Configure injection method in xml similar to spring
3. Third party call
4. Call jar
These are the usage and limitations of the useless code scanning tool UCDetector. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.