Wednesday, January 30, 2013

Looking at the Code Map

As well as playing with Code Metrics, I've also had fun with the Code Map (new in VS2012 Update 1).

These views all feel a bit complex at the high level:


However, if you look at a lower level - at a class - it can help you get a feeling for what a class does and what the relationships of its methods are.

For example, here's the code map inside the new Swiss Parser:


If you want to have a play, then right-click in Solution Explorer and choose "Code Map"...

One bit of advice: I would start in a fairly small solution if you can - the "Code Map" seems to do several builds and several index operations - so on the whole of MvvmCross it can be a bit slow at times!

No comments:

Post a Comment