Visual Studio 2008 Pro - 如何快速报告解决方案或项目中的文件/类/行代码数量

时间:2022-06-25 21:44:33

How would you get a quick report about the number of files/classes/lines of code in a solution or project?

您如何快速报告解决方案或项目中的文件/类/行代码数量?

any one know of any free addons or hidden menus i dont seem to have found yet ?

任何人都知道任何免费的插件或隐藏的菜单我似乎还没有找到?

Edit: It would also be cool if it could give a run down of amount of whitespace/comments compared to actual code.

编辑:如果与实际代码相比可以减少空白/注释量,那也很酷。

2 个解决方案

#1


Microsoft's code metrics require the Team Suite edition. You might want to try NDepend, they have both open source/academic/trial (free) and professional ($$) editions.

Microsoft的代码指标需要Team Suite版本。您可能想尝试NDepend,他们有开源/学术/试用(免费)和专业($$)版本。

#2


There isn't anything like that in the Professional version. You would have to bump up to the Developer or Team Suite version to get Code Metrics, which would get you what you want from the integrated tools

专业版中没有类似的东西。您必须提升到开发人员或团队套件版本才能获得代码指标,这可以从集成工具中获得您想要的内容

Beyond that, I think you have to go third party.

除此之外,我认为你必须去第三方。

And my two cents worth is that you have to take metrics like that with a grain of salt anyway.

而我的两分钱值得你无论如何都必须采取这样的指标。

#1


Microsoft's code metrics require the Team Suite edition. You might want to try NDepend, they have both open source/academic/trial (free) and professional ($$) editions.

Microsoft的代码指标需要Team Suite版本。您可能想尝试NDepend,他们有开源/学术/试用(免费)和专业($$)版本。

#2


There isn't anything like that in the Professional version. You would have to bump up to the Developer or Team Suite version to get Code Metrics, which would get you what you want from the integrated tools

专业版中没有类似的东西。您必须提升到开发人员或团队套件版本才能获得代码指标,这可以从集成工具中获得您想要的内容

Beyond that, I think you have to go third party.

除此之外,我认为你必须去第三方。

And my two cents worth is that you have to take metrics like that with a grain of salt anyway.

而我的两分钱值得你无论如何都必须采取这样的指标。