1

I have a large assembly (written in VB.NET).

Is there a simple way (or tool) that will list all the functions with perhaps the size of each function (in respect to lines of code)?

I have downloaded nDepend but could not see that facility within it.

4

1 回答 1

1

使用 NDepend 你只需要:NDepend > Search > Search Method by Size。

NDepend 按大小搜索方法

请注意,您可以将此结果导出为 HTML、XML、txt、Excel。

请注意,生成了一个 C# LINQ 查询,您可以对其进行编辑以优化它并最终附加更多代码指标:

NDepend 列表方法代码指标

还请注意,您可以根据比大小更多的标准列出方法:

NDepend 搜索条件

于 2015-10-02T13:54:35.100 回答