寻找一种工具来帮助我分析和理解他人的code工具、code

由网友(热衷者)分享简介:我在找一个工具来帮助我更快地掌握别人的code。通常我正与分布在3-5模块(DLL或.NET程序集)10-15方法调用块。我是后是可以用来画一个注解调用图中10-30分钟的工具。I am looking for a tool to help me to more quickly grasp someone else'...

我在找一个工具来帮助我更快地掌握别人的code。通常我正与分布在3-5模块(DLL或.NET程序集)10-15方法调用块。我是后是可以用来画一个注解调用图中10-30分钟的工具。

I am looking for a tool to help me to more quickly grasp someone else's code. Usually I am working with 10-15 method call chunks scattered across 3-5 modules (DLLs or .NET assemblies). What I am after is a tool which could be used to draw an annotated call diagram in 10-30 minutes.

我觉得它应该看起来像某种类型的工作流程,并结合UML图的组合不UML编辑的怪物。只需拖放屏幕上的十几矩形,添加一个方法名到每个(可选择:模块名,参数等)。添加一个快速注意到了这个方法做,在发生什么,有什么熄灭,等,然后将这些数字(矩形)以不同的看着箭头指示哪种类型调用此方法是:简单的通话,呼叫,该呼叫没有返回值,远程打电话等。

I think it should look like a some kind of combination of a workflow and combination UML diagrams without the monstrosity of UML editors. Just drop a dozen rectangles on the screen, add a method name to each (and optionally: module name, parameters, etc). Add a quick note what this method does, what goes in, what goes out, etc. Then connect these figures (rectangles) with a different looking arrows to indicate which type this method call is: simple call, a call which returns nothing, remote call, etc.

最重要的事情 - 该工具应该很容易使用。否则,我可以只火了MS Word和借鉴它。但是,这不会是一件容易的事。

The important thing - the tool should be easy to use. Otherwise, I could just fire up MS Word and draw it there. But that is not going to be an easy task.

感谢。

推荐答案

红门的.net反射是一种流行的免费的调试工具,逆向工程和这样的。

Red Gate's .NET Reflector is a popular free tool for debugging, reverse-engineering and such.

要恭维话,有几个方便的加载项(也是免费的),这将帮助您可视化与图:

To compliment it, there are several handy add-ins (also free) which will help you visualize with diagrams:

图表 SequenceViz (请注意,这是种繁琐的安装和配置,你需要安装 GNU PlotUtils的Win32移植的第一,并且它不是在说明很清楚的。) Graph SequenceViz (Note that this is kind of tedious to install and configure. You will need to install the Win32 port of GNU PlotUtils first, and it isn't very clear in the instructions.)
阅读全文

相关推荐

最新文章