你用什么工具和技术来发现死code?你用、发现、工具、技术

2023-09-02 21:26:22 作者:路荒遗

你用什么工具和技术来发现死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