Using Code Analysis with Visual Studio 2010 to Improve Code Quality
来源:互联网 发布:淘宝海景房是什么意思 编辑:程序博客网 时间:2024/05/21 16:54
Description
The Code Analysis feature of Visual Studio performs static code analysis on code to help developers identify potential design, globalization, interoperability, performance, security, and a host of other categories of potential problems. In Visual Studio 2010, improvements have been made to the code analysis engine itself, as well as ability to configure rule sets rather than picking and choosing from one flat list of rules. In this lab, you will be introduced to Code Analysis, how to configure rules sets to use, and finally how to suppress specific rules at a project and source code level.
Overview
The Code Analysis feature of Visual Studio performs static code analysis on code to help developers identify potential design, globalization, interoperability, performance, security, and a host of other categories of potential problems. In Visual Studio 2010, improvements have been made to the code analysis engine itself, as well as ability to configure rule sets rather than picking and choosing from one flat list of rules. Code Analysis can be run manually at any time from within the Visual Studio IDE, or even setup to automatically run as part of a Team Build or check-in policy for TFS.
In this lab, you will be introduced to Code Analysis, how to configure rules sets to use, and finally how to suppress specific rules at a project and source code level.
System Requirements
In order to complete this lab you will need the Visual Studio 2010 virtual machine provided by Microsoft. For more information on acquiring and using this virtual machine, please seethis blog post.
Exercises
This Hands-On Lab comprises the following exercises:
- Introduction to Code Analysis http://blog.csdn.net/chinahuanyang/article/details/7593909
- Suppressing Code Analysis Warnings http://blog.csdn.net/chinahuanyang/article/details/7593916
- Using Code Analysis with Visual Studio 2010 to Improve Code Quality
- How to improve quality and syntax of your Android code
- Teaching course1 : How to improve your code quality
- How to write custom static code analysis rules and integrate them into Visual Studio 2010
- How to write custom static code analysis rules and integrate them into Visual Studio 2010
- Using Visual Studio to Develop Native Android Code
- Visual Studio 2008中的Code Performance Analysis
- Refactoring C# Code Using Visual Studio 2005
- React with Visual Studio Code and Webpack
- How to debug test code on Windows Mobile Emulator with Visual Studio
- Refactoring C# Code Using Visual Studio 2005 ----MSDN
- Using the JavaScript console in Visual Studio Code
- Visual Studio Code
- visual studio code
- visual studio code基础
- Visual Studio Code 笔记
- Visual Studio Code
- visual studio code
- Linux FM stuff
- HTML A标签调用javascript方法的几种方法
- 京东今天还在用 .NET 架构的原因是什么?
- 虚方法与动态方法
- serialPort1_DataReceived 执行二次 messagebox
- Using Code Analysis with Visual Studio 2010 to Improve Code Quality
- Ehcache cache 无法进行缓存处理
- 【Java基础】——之Final
- V4L2 - Linux下视频驱动模型
- 访问控制列表ACL
- FINDBUGS错误:Deadstore to local variable
- 透过标识看素质
- 第14周--任务一--数组类的构造
- Cryptopp使用