Wednesday, March 17, 2010

Code Metrics Addin update (beta version available)





I have been working quite a bit on the metrics addin. In the process I also learned quite a bit about the idiosyncrasies of the C# language as well as gained familiarity with NRefactory and the MonoDevelop Dom model. The next logical step would be to implement CQL which should be quite straightforward as I will just need to map CQL to LINQ queries and query the context data structure that I already have.
Here is a screenshot for you to enjoy. A very weird thing is that NRefactory refuses to parse lines in between # regions. So a namespace defined as
#if_something
namespace name1#else_something_else
namespace name2
{....

will not be parsed. Somehow the Dom model recognizes it though.


No comments: