Tag: visual studio 2008

At long last it is with great pride that I can officially announce the availability our new book! After a year of work and a few interesting speed bumps along the way the book is now in stores world-wide. If you want the best price that I have seen so far, I suggest you…

SKU: Premium, Ultimate Versions: 2008, 2010 Code: vstipTool0139 In my extensive travels with my good friend Clint Edmonson (http://www.notsotrivial.net/blog/) we found yet another feature available in Visual that seems to be underutilized: Static Code Analysis. After some digging, we discovered many people don’t realize they have this feature already and can use it anytime…

SKU: Premium, Ultimate Versions: 2008, 2010 Code: vstipTool0134 At long last it is time to look at the final metric from the code metrics (see vstipTool0129, “Code Metrics – Calculating Metrics”): maintainability index. As with the other metrics it is best to start with some definitions. First, from the MSDN main documentation: “[Maintainability Index…

SKU: Premium, Ultimate Versions: 2008, 2010 Code: vstipTool0133 As we continue looking at code metrics in Visual Studio (see vstipTool0129, “Calculating Metrics”), it’s time to look at class coupling. Class coupling also goes by the name Coupling Between Objects (CBO) as originally defined by [CK94]. Basically, class coupling is a measure of how…

SKU: Premium, Ultimate Versions: 2008, 2010 Code: vstipTool0132 Continuing our examination of code metrics (see vstipTool0129, “Calculating Metrics”), it’s time to take a look at one of the metrics designed specifically for object-oriented analysis: Depth of Inheritance. Depth of inheritance, also called depth of inheritance tree (DIT), is defined as “the maximum length from…

SKU: Premium, Ultimate Versions: 2008, 2010 Code: vstipTool0131 When working with code metrics, one of the least understood items seems to be cyclomatic complexity. Essentially, with cyclomatic complexity, higher numbers are “bad” and lower numbers are “good”. We use cyclomatic complexity to get a sense of how hard any given code may be to…