简体   繁体   中英

How to use JDepend to identify the libraries used in java spring maven application

I want to use JDepend and see how we can identify the libraries directly used in an application And want to Write a sample application to identify the libraries used in my application. How it can be achieved. I read article http://clarkware.com/software/JDepend.html , but I need still better knowledge to accomplish this task. Please any one can guide me better reference that I can use.

From what I can understand from the JDepend page, it provides with quality metrics which are numerical values indicating quality of a given package. May be it is useful to measure the quality of a library but not helpful in identifying the libraries used in the application.

Since the import statements in the code will have the reference to the classes in the libraries, parsing the application code and processing the import statements might help.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM