• <i id='96RdX'><tr id='96RdX'><dt id='96RdX'><q id='96RdX'><span id='96RdX'><b id='96RdX'><form id='96RdX'><ins id='96RdX'></ins><ul id='96RdX'></ul><sub id='96RdX'></sub></form><legend id='96RdX'></legend><bdo id='96RdX'><pre id='96RdX'><center id='96RdX'></center></pre></bdo></b><th id='96RdX'></th></span></q></dt></tr></i><div id='96RdX'><tfoot id='96RdX'></tfoot><dl id='96RdX'><fieldset id='96RdX'></fieldset></dl></div>
      1. <legend id='96RdX'><style id='96RdX'><dir id='96RdX'><q id='96RdX'></q></dir></style></legend>

        <small id='96RdX'></small><noframes id='96RdX'>

      2. <tfoot id='96RdX'></tfoot>

          <bdo id='96RdX'></bdo><ul id='96RdX'></ul>
      3. Java 类和方法的依赖关系图

        时间:2023-07-14
      4. <small id='XE0u5'></small><noframes id='XE0u5'>

            <tbody id='XE0u5'></tbody>
            <legend id='XE0u5'><style id='XE0u5'><dir id='XE0u5'><q id='XE0u5'></q></dir></style></legend>

              <tfoot id='XE0u5'></tfoot>

              • <i id='XE0u5'><tr id='XE0u5'><dt id='XE0u5'><q id='XE0u5'><span id='XE0u5'><b id='XE0u5'><form id='XE0u5'><ins id='XE0u5'></ins><ul id='XE0u5'></ul><sub id='XE0u5'></sub></form><legend id='XE0u5'></legend><bdo id='XE0u5'><pre id='XE0u5'><center id='XE0u5'></center></pre></bdo></b><th id='XE0u5'></th></span></q></dt></tr></i><div id='XE0u5'><tfoot id='XE0u5'></tfoot><dl id='XE0u5'><fieldset id='XE0u5'></fieldset></dl></div>

                  <bdo id='XE0u5'></bdo><ul id='XE0u5'></ul>
                  本文介绍了Java 类和方法的依赖关系图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有一个 Java 项目,我已经从事了一段时间.设计开始时还不错,但随着更改的进行而逐渐退化.我正在寻找某种可以分析项目的工具.拥有一张不同类/方法的依赖关系图真是太好了.我觉得某些方法只是为了实现一个非常具体的目标.我想消除不必要的代码,让我的设计更好.

                  I have a Java project that I've been working on for a while. The design started out pretty good but slowly degraded as changes were made. I'm looking for some sort of tool that will analyze the project. It'd be really nice to have a map of the dependencies of different classes/methods. I feel like certain methods are only in there to fulfill a very specific goal. I'd like to eliminate unnecessary code and make my design better.

                  任何建议都会很棒!谢谢!

                  Any suggestions would be great! Thanks!

                  推荐答案

                  您可能需要查看 JDepend.它是专门为解决您面临的问题而开发的.

                  You may want to check out JDepend. It was specifically developed to solve the problem you are facing.

                  作为一名顾问,我很容易陷入庞大的遗留代码库中.通常,我做的第一件事是在其上运行 JDepend 以尝试了解我对代码库的影响以及所有依赖项.

                  Working as a consultant it is very common for me to be thrown in to a huge legacy code base. Typically the first thing I do is run JDepend on it to try to get my bearing on the code base and all of the dependencies.

                  祝你好运.

                  这篇关于Java 类和方法的依赖关系图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:多个 SLF4J 绑定会导致错误? 下一篇:如何使用 Gradle 拉取 Maven 测试罐?

                  相关文章

                  • <bdo id='0u0lr'></bdo><ul id='0u0lr'></ul>
                    <tfoot id='0u0lr'></tfoot>

                  1. <legend id='0u0lr'><style id='0u0lr'><dir id='0u0lr'><q id='0u0lr'></q></dir></style></legend>

                      <small id='0u0lr'></small><noframes id='0u0lr'>

                      <i id='0u0lr'><tr id='0u0lr'><dt id='0u0lr'><q id='0u0lr'><span id='0u0lr'><b id='0u0lr'><form id='0u0lr'><ins id='0u0lr'></ins><ul id='0u0lr'></ul><sub id='0u0lr'></sub></form><legend id='0u0lr'></legend><bdo id='0u0lr'><pre id='0u0lr'><center id='0u0lr'></center></pre></bdo></b><th id='0u0lr'></th></span></q></dt></tr></i><div id='0u0lr'><tfoot id='0u0lr'></tfoot><dl id='0u0lr'><fieldset id='0u0lr'></fieldset></dl></div>