Static Analysis, Profiling, and Code Coverage with Visual Studio Team System
Summary
This Drill covers static analysis, profiling, and code coverage with Visual Studio Team System (VSTS). Topics include performing code coverage analysis, using static analysis, creating a custom static analysis rule, performance analysis using sampling, and performance analysis using instrumentation.
Audience
This Drill is for developers who want to learn how to identify performance bottlenecks, incomplete unit tests, and non-conforming code in their applications using the tools included in Visual Studio 2005 Team System.
What you'll learn
You will learn how to enable the Code Coverage features in Visual Studio 2005 Team System that allow you to visually identify paths through your source code that are not tested by unit tests. You will also learn how to gather performance data from applications and use this performance data to optimise your code and remove bottlenecks. In this Drill, you will also find out how to examine your source code using the Static Analysis Tools in Visual Studio 2005 Team System. Afterwards, you will be able to identify non-uniform and potentially hazardous code using the built-in rule. In addition, you’ll know how to create custom static analysis rules.
What you need to know
We assume that you’re already familiar with the concepts of programming and you’ve some experience of Visual Studio 2005 and its unit testing features. For this Drill, you’ll also need to be comfortable with Visual C# syntax.