你用什么工具和技术来发现死code? [英] What tools and techniques do you use to find dead code?

查看:166
本文介绍了你用什么工具和技术来发现死code?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你用什么工具和技术来发现死code。在.NET?

What tools and techniques do you use to find dead code in .NET?

在过去,我饰有过时的属性(通过真正使编译器将发出一个错误,因为在的 MSDN )。

In the past, I've decorated methods with the Obsolete attribute (passing true so the compiler will issue an error, as described in MSDN).

我会希望看到别人的建议(超越像FxCop的或ReSharper的工具)。我想确保我不会错过了其他的工具,这将是有益的。

I'd be interested in seeing the suggestions of others (beyond tools like FxCop or ReSharper). I want to make sure I'm not missing out on other tools that would be helpful.

推荐答案

TDD + NCover

TDD + NCover

这篇关于你用什么工具和技术来发现死code?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆