views:

181

answers:

5

Possible Duplicate:
What static analysis tools are available for C#?

At work we tend to use two tools for analysing our projects, FxCop to analyse our managed code and StyleCop to have consistent code layout.

I found these tools pretty much by accident and it has led me to wonder what other tools are available that I might of missed?

+1  A: 

NUnit / NMock / NCover for testing.


NCover is the only analysis tool as it analysis your tests. I wanted to mention the others as well as they are very good tools for any .Net project.

Tobias Langner
Forgot to mention NUnit, but not away of NCover - cheers!
TWith2Sugars
+1  A: 

Hopefully you're unit testing in which case you could look at Test Driven.net or similar (there's a free version which includes a handy code coverage tool to see how well you're testing).

They're not analysis tools as such but you could also look at things like log4net & elmah etc.

Take a look through Scott Hanselman's tools list and you'll see loads more handy tools - http://www.hanselman.com/blog/ScottHanselmans2007UltimateDeveloperAndPowerUsersToolListForWindows.aspx

Chris W
Yeah we are unit testing and use NUnit, We've tried elmah and like it quite abit, never really tried Log4Net - will have to give it ago
TWith2Sugars
+1  A: 
  • NCover takes care of code coverage metrics (You are meant to integrate with your test cases)
  • NDepend is a very powerful tool that helps you gauge the complexity of your source code.

Additionally VS Team System has some basic code metrics built in.

Sam Saffron
Afraid we don't have the VSTS
TWith2Sugars
+1  A: 

There are few other I have used

SourceMonitor

SourceMonitor monitors source code quality and quantity. Its goal is to help you, the programmer, become better at what you do. SourceMonitor measures simple metrics to help you expose the state of your code, and it keeps the results around so you can see how your project code changes over time.

And reflector has all manner of add ins for analysis add ins

Dean
+1  A: 

Not being 100% sure what kind of tools you are looking, but id mention red gate they have a lot of usefull tools that can do memory profiling and performance profiling that i personaly find very usefull to give you a quick overview of how to get better performance out of you code. They have much more software on their site, and its worth a look.

EKS