Codelog

foreach(Snippet aSnippet in CodeLog){ aSnippet.GetSolution(); }

Archive for the ‘Tools’ Category

FxCop — Code reviewer

with 2 comments

If you are a lone wolf while writing an appliction, how do you review your code ?? Whome do you call for the code review ??? Never mind ! Use FxCop. Its an app from MS that will take in assemblies and use some rules for reviewing those assemblies. Although there are loads of softwares that does this operation, I use FxCop as it is simple, easy to use and free of cost. Unlike most other code analyser, this tool will analyse the compiled code and not the source code. This code analyser will work on any .NET assemblies and check for violations based on the rules specified. The advantage is that you can specify your own set of rules and the analyser will consider that while doing the code review. When you run the application over a set of assemblies, the violation results are generated in an xml form and FxCop itself provides sufficient information on solving those violations. Sweet, isn’t it ?? So next time, don’t worry on whome to call for code review. Try using FxCop.

If you used any other code analyser, comment on it. We shall give it a try too.

Written by sudarsanyes

April 9th, 2009 at 9:36 am