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

965 Views Asked by At

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.

1

There are 1 best solutions below

2
On

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.