这些机制被称为代码度量(code metric)。
Gathering all these factoids is very easy using code metrics.
使用代码度量收集所有这些似乎正确的信息非常容易。
Code Metrics Results window by using the toolbar at the top.
程序码度量结果视窗中显示的结果。
Code metrics are a way to mathematically calculate the complexity of code.
代码度量是一种计算代码复杂度的数学方法。
Code metrics data can be generated for an entire solution or a single project.
程序码度量资讯资料可以针对整个方案或单一专案而产生。
Last month, I showed you how to use code metrics to evaluate the quality of your code.
上一期文章中,我展示了如何使用代码度量来评估代码质量。
NDepend supports more than 60 code metrics that can be used to assess the code quality.
NDepend支持超过60条编码准则,用于评估代码质量。
Feedback to Microsoft can be provided on the VS Code Analysis and Code Metrics forum.
如果你对该工具有什么意见和建议,可以通过微软提供的VS代码分析和代码度量论坛参与讨论。
In fact, you can use code metrics to easily spot code that might be difficult to maintain.
实际上,可以用代码度量很容易地找出可能难以维护的代码。
In previous articles in this series, I've shown you how to use code metrics to objectively measure code quality.
在这个系列前面的文章中,我介绍了如何用代码度量客观地测试代码质量。
Duke Kamstra, Program Manager for Microsoft, has a walk-through on his Code Analysis and Code Metrics blog.
微软的程序经理Duke Kamstra写过一篇介绍如何进行代码分析和代码度量的网志。
Use fxcop, or StyleCop, clone detective, ndepend, the code metrics feature of VS 2008, or any other static analysis tool of your choice.
你可以使用fxcop,或者StyleCop、clonedetective、ndepend、 Visual Studio 2008 附带的code metricsfeature, 或者其他自选的静态代码分析工具。
Many software measures, known as code metrics, have been developed that can help developers understand where their code needs rework or increased testing.
已开发出许多软体度量(也称为程序码度量资讯),有助于开发人员了解程序码需要重新作业或增加测试的地方。
You can't find bugs in source code simply by measuring source-code metrics, but you can locate source code that has a high probability of containing a bug.
仅通过测量源代码指标是很难发现bug的,但您可以确定很可能包含bug的代码的位置。
While we've already briefly spoken about Code Metrics when we announced it , I thought I would discuss it in a little more depth, in particular the metrics it provides.
我们已经在 这篇文章简要的介绍了关于代码度量功能的信息,我认为应该在这里更深入的讨论一下,特别是它提供的度量标准。
In recent years, many software measures, known as code metrics, have been developed that can help developers understand where their code needs rework or increased testing.
近年来,已开发出许多软体度量,也称为程序码度量资讯,有助于开发人员了解程序码需要重新作业或增加测试的地方。
Such analysis includes calculation of source-code metrics, detection of potential bugs based on defined patterns, and discovery of violations of coding conventions and rules.
这种分析包括计算源代码指标、根据预定义模式筛查潜在的bug和发现是否违反编程约定和规则。
Metrics and experiments are part of the code base, they’re checked into source control, they’re run through testing and staging.
度量指标和试验是代码库的一部分,它们被签入到源代码控制系统种,并经历测试和预发布过程。
In waterfall processes, it is not possible to directly compare analysis activity metrics with design activity metrics or code activity metrics, because they are entirely different activities.
在瀑布过程中,不太可能直接比较分析活动量度和设计活动量度或编码活动量度,因为它们是完全不同的活动。
This will allow you to collect code quality metrics, and implement the same best practices across the development team, thus further improving the maintainability of your code.
这允许你收拾代码质量度量和在开发团队中实施相同的最佳实践,这样,更进一步地提高了代码的可维护性。
You'll learn a tremendous amount the first time you use complexity metrics on your legacy code base, but don't stop there.
当第一次在遗留代码基上使用复杂性度量时,您将了解到一个庞大的数量,但不要就此停住脚步。
This formula USES a bunch of Numbers derived from metrics run on the project's code.
该公式使用源自(在项目代码中运行的)度量的一大串数字。
The book describes some cool metrics to assess componentization of a code base.
本书描述了一些非常酷的评估代码库组件构成的度量标准。
Metrics can be used to find problematic areas of the code that consistently have trouble and need further analysis.
韵律学能够被用来发现代码的问题区域,这些代码一向存在问题并且需要进一步地分析。
For example, use configuration management tools to keep track of versions of code, allowing you to track changes and keep metrics.
例如,使用配置管理工具来跟踪代码版本,从而可以跟踪更改和保持度量。
Monitoring your system's code coupling metrics will help you stay on top of common trends that can undermine its architecture, namely design rigidity, package entropy, and unwanted dependencies.
监视系统的代码耦合度量有助于您掌握可破坏架构的常见趋势,即设计刚度、包熵和不必要的依赖性。
Standard metrics, such as lines of code and number of classes, are important when measuring the amount of effort that is being generated for a particular project.
在测量为特定项目生成的工作量时,诸如代码行数和类数量等标准度量非常重要。
When I have the TDD version complete, I'll compare some metrics between the two code bases.
在我完成TDD版本时,我将比较一下两个代码库。
At this point, the user need to choose if he wants to browse dependencies, browse metrics, query the code base with the CQL language, compare 2 analysis etc...
此时,如果用户希望浏览依赖关系或软件度量,或者通过CQL语言查询代码库,以及比较分析结果等……都需要对此进行选择。
The code simulates an application run while capturing performance metrics.
清单4的代码在模拟应用程序运行的同时捕获性能度量指标。
应用推荐