Last post Oct 15, 2015 12:56 PM by SamU
Oct 15, 2015 12:08 PM|SamU|LINK
I was talking to someone a while ago about application architecture and he mentioned an indicator that is used in determining good architecture. This indicator has a name as well but I don't remember it.
This indicator measures the number of calls a function makes to perform its purpose. For example, I have a function called "DoSomething()". Every time I call DoSomething(), it calls 3 other functions for it to do its job. He mentioned that if the number
of calls being made by the function is too high, it indicates bad architecture. I think he was implying that good architecture requires functions to be self contained as much possible.
I want to do some research about this particular indicator. Anybody knows what this indicator is called? I'd appreciate some pointers about this so that I can learn more about it.
Oct 15, 2015 12:41 PM|PatriceSc|LINK
Try https://msdn.microsoft.com/en-us/library/bb385914.aspx I believe it's not really just the number of function calls but rather something such as "cyclomatic complexity" or "class coupling".
As far as I know it was available only in the Ultimate Edition but I'm quite sure it is now available as well in the "Community Edition". Not sure about Express 2015 (likely not I would say).
Oct 15, 2015 12:56 PM|SamU|LINK