简体   繁体   English

Java 程序——控制依赖图

[英]Java Program - Control Dependence Graph

Are there any good tools APIs out there for generating a system dependence graph from java source code?是否有任何好的工具 API 可用于从 java 源代码生成系统依赖图? I'm not interested in visual generators.我对视觉生成器不感兴趣。 I would like to toy around with a tool that generates a system dependence graph into memory that can then be acted upon.我想玩弄一个工具,它可以在 memory 中生成系统依赖图,然后可以对其进行操作。

What do you mean with system dependence graph?系统依赖图是什么意思? How classes in your own code depend on each other, or how your system depends on libraries (jars) from other providers (and they depend on other libs), or on the level of architectural layers (how your webserver depends on the database etc)?您自己代码中的类如何相互依赖,或者您的系统如何依赖来自其他提供者的库(jar)(并且它们依赖于其他库),或者依赖于架构层的级别(您的网络服务器如何依赖于数据库等) ?

For the first, look at PMD and other code analyzers, for jars I've seen maven and other dependency management tools come up with interesting data, but for architectural layers I can only advise drawing them up yourselves...首先,查看PMD和其他代码分析器,对于 jars,我已经看到 maven 和其他依赖管理工具提供了有趣的数据,但对于架构层,我只能建议自己绘制它们......

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

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