CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Raymond Lewallen

Framework Design, Agile Coach, President Oklahoma City Developers Group, Microsoft MVP C#, TDD, Continuous Integration, Patterns and Practices, Domain Driven Design, Speaker, VB.Net, C# and Sql Server

Another big splash in Redmond - NStatic

NStatic is a tool I have followed for quite some time now, eagerly awaiting for it to become available for use.  I spoke with Wesner Moise, the creator of NStatic, and he mentioned the date will be very soon.

For those of you who don't know, NStatic is a static code analysis tool.  NStatic is used to track things such as redundant parameters, expressions that evaluate to constants, infinite loops and many other metrics.  Unfortunately, my knowledge of NStatic is limited as I have not been able to find a copy of the tool to play with.  I spoke with Wesner and forgot to ask him about getting an eval copy to explore.  I actually saw a bit of a demo Wesner did for Hanselman while standing over Scott's shoulder.  I was very busy that day and going in a lot of different directions so I wasn't able to really get the full demo I would have liked or talked to Wesner as much as I would have liked.

I know I like the tool and what it is able to do, and as of Thursday morning at the summit, a lot of people who had never heard of it before were talking about it, so that is great news.

I'm such a code metrics and analysis junky, that I'm sure I'm going to get to know Wesner much better once NStatic comes out.  Its surely to be one of those tools, along side FxCop and NDepend, that I run as part of a formal build process, provided a console executable exists for it.  Although these tools overlap in some aspects, they have very different paths for getting their data and each provide their own unique set of information, which makes each tool valuable on its own or as part of a more complete analysis package.  Of course, the FxCop TFS team has started to delve into code metrics themselves, but as I have mentioned before, they don't come close to what NDepend is able to provide.  NStatic is another big product that doesn't do code metrics, and may not take the place of FxCop, but is certainly going to fill in some serious gaps, which will make the tool invaluable.



Comments

TrackBack said:

http://wesnerm.blogs.com/net_undocumented/2007/03/static_analysis.html
# March 19, 2007 1:58 PM

TrackBack said:

http://matthewknl.spaces.live.com/blog/cns!2a06c7e3da4fc602!504.entry
# March 20, 2007 10:31 AM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add

About Raymond Lewallen

Working primarily in the public sector during his career, Raymond has designed and built several high profile enterprise level applications for all levels of the government. Raymond now works as a solutions architect for EMC. Raymond is an agile coach, Microsoft MVP C# and also president of the Oklahoma City Developers Group and Oklahoma Agile Developers Group. Raymond spends a lot of his time learning and teaching such things as Test Driven Development, Domain Driven Design, Design Patterns and Extreme Programming practices and principles, to name a few. Raymond is also an advocate of Alt.Net. Raymond is primarily a framework guy, so don't ask him anything about UI :) Check out Devlicio.us!