简体   繁体   English

如何使用JDepend来识别Java Spring Maven应用程序中使用的库

[英]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. 我想使用JDepend ,看看如何识别直接在应用程序中使用的库,并想编写一个示例应用程序来识别在我的应用程序中使用的库。 How it can be achieved. 如何实现。 I read article http://clarkware.com/software/JDepend.html , but I need still better knowledge to accomplish this task. 我阅读了http://clarkware.com/software/JDepend.html文章,但是我仍然需要更好的知识来完成此任务。 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. 根据我在JDepend页面上的了解,它提供了质量指标,这些指标是表示给定包质量的数值。 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. 由于代码中的import语句将引用库中的类,因此解析应用程序代码和处理import语句可能会有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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