统计信息

资源数: 167
评论数: 23
访问次数: 2775729
建立时间: 2012-09-09

Microsoft Source Analysis for C#


资源分类:代码审查工具    更新日期:6/17/2008 版本:4.2

主页:http://code.msdn.microsoft.com/sourceanalysis  

语言:英文  授权形式:开源

Microsoft Source Analysis for C#是微软内部代码检查工具。能够帮助项目团队执行一系列常用的源代码格式规范,这些规范是关于如何开发布局规整、易读、易维护并且文档良好的优雅代码的。

这个工具包含了一些最佳实践规则,和 Visual Studio 2005、2008 中默认的代码格式化规则是一致的。

  • (布局)Layout of elements, statements, expressions, and query clauses
  • (括号)Placement of curly brackets, parenthesis, square brackets, etc
  • (空格)Spacing around keywords and operator symbols
  • (行距)Line spacing
  • (参数)Placement of method parameters within method declarations or method calls
  • (元素排列)Standard ordering of elements within a class
  • (注释格式)Formatting of documentation within element headers and file headers
  • (元素、字段、变量的命名)Naming of elements, fields and variables
  • (内置类型的使用)Use of the built-in types
  • (访问修饰符)Use of access modifiers
  • (文件内容)Allowed contents of files
  • (调试文本)Debugging text

Source Analysis bloghttp://blogs.msdn.com/sourceanalysis
http://blogs.msdn.com/sourceanalysis/pages/source-analysis-msbuild-integration.aspx

下载最新版:MSDN Code Gallery 

评论

标题

姓名

主页

内容(请不要发布任何违反国家相关法律、违背社会伦理道德的内容)

验证码:

© 2024 CodeUsing.com All Rights Reserved.   蒙ICP备12002817号-1