By using a static analysis tool such as PMD's CPD or CheckStyle, you can determine areas of high code duplication on a continual basis as part of running an automated build.
使用诸如pmd的CPD或CheckStyle这样的静态分析工具,您能够将整个分析过程作为自动构建的一部分,持续分析,确定代码重复度高的区域。
Listing 4 shows a typical messaging event, posting notification of a new high bid in an auction system, and the code that generates it.
清单4显示了一个典型的消息传递事件,即发布拍卖系统中的一个新的高投标通知和产生该事件的代码。
But, just because the underlying library is fast doesn't mean that all the code you write will be of high quality.
但是底层库速度快并不意味着您编写的所有代码都是高质量的。
Also since XPath indicates the location of the XML node (that is being manipulated) in the hierarchy the readability of the application code is very high.
另外,因为XPath指出了要操作的xml节点在层次结构中的位置,所以应用程序代码的可读性非常高。
If you are writing Erlang code, chances are you want to build a high availability system.
如果您在编写Erlang代码,很可能是要构建高可用的系统。
The UCL researchers suggest that for the brain to perform so well in the face of high levels of noise, it must be using a strategy called a rate code.
伦敦大学学院的研究者指出,面对如此高的噪音,大脑要很好的完成任务就必须采用速率编码的策略。
However, the cost of process hopping to the database is still high, thus performance on the data tier is the first place to look when optimizing your code.
然而进程跳跃到数据库的成本依然很高,因此数据层的性能是您在优化代码时首先要考虑的问题。
Code coverage: Helps the team determine which builds and build assemblies have low or high code coverage.
代码覆盖率:有助于团队确定哪些生成和生成程序集的代码覆盖率低,哪些代码覆盖率高。
Design and architectural capabilities allow you to manage the complexity of the code, and developer test capabilities ensure that the code is of high quality.
设计和构架能力使您可以管理复杂的代码,而开发人员测试能力确保代码是高质量的。
The codewarrior iii compiler produces exceptionally fast, compact, high - quality object code.
编译器产生异常快速、紧凑且高质量的目标代码。
This article has been high level, but the next two articles contain a lot of code.
本文属于概述性的,不过下面的二篇文章将包含许多代码。
Speed: The engine will mostly benefit computationally intensive code, usually between 10% and 30% performance increase, with some cases going up as high as being 50% faster.
速度:计算密集的代码会从新引擎得益较多,一般有10%到30%的性能提升,某些情况下最高可提速50%。
Practice proves, using VTK to develop medical images' reconstruction system has good reconstruction results, less development time and high code reuse rate.
实践证明,使用VTK开发医学图像三维重建系统,重建效果好,开发时间少,代码重用率高。
From a parameterized unit test, it automatically produces a traditional unit test suite with high code coverage.
它可以从一个参数化的单元测试中自动生成一个传统的单元测试集,而且有很好的代码覆盖率。
Review the comments in this file to understand the code or refer to the next section, which provides a high-level description about the code logic.
通过这个文件中的注释了解代码的作用,或者参考下一节中对代码逻辑的解释。
Review the comments in these files to understand the code or refer to the next section, which provides a high-level description about the code logic.
通过这些文件中的注释了解代码的作用,或者参考下一节中对代码逻辑的解释。
This article explored a few APIs that demonstrate the ability to segregate functionality where necessary (timer and high-precision hrtimer APIs) as well as commonize code for code reuse (list API).
本文探索了几个API,展示了在必要时隔离功能的能力(计时器 API和高精确度 hrtimer API)以及编写通用代码以实现代码重用的能力(列表API)。
The second expresses what the system should do, but still at a pretty high level; it's still too broad to translate directly into code.
第二条需求表达了系统应该做什么,但仍在较高的级别上;它仍然太宽泛,不能直接翻译成代码。
Cyclomatic complexity isn't the only complexity measurement for spotting high risk code, however.
不过,圈复杂性并不是确定高风险代码的惟一复杂性度量。
Instead of building physical models to scale, or using mathematical models, software designers typically "model" by writing high level code.
与建造物理模型或者使用数学模型不同的是,软件设计者靠编写高层的代码来建立“模型”。
To eliminate interpretation's high performance cost, a JIT compiler selects frequently executed code to be translated directly to the CPU's native instructions.
为了消除解释的高性能代价,JIT编译器选择将频繁执行的代码直接转换为CPU的本地指令。
On average, one line of high level language code translates into many lines of assembly language code.
平均起来,一行高级语言代码要转换成多行汇编语言代码。
Trying to see these high-level concepts from source code calls to mind the famous image of blindfolded people trying to understand an elephant solely by touch.
试图从源代码调用中看出这些高级概念就像是盲人摸象。
In this case, the high-level program is called the source code, and the translated program is called the object code or the executable.
这种情况下,高级语言编写的程序被称为源代码,而翻译出来的程序被称为目标代码或者可执行程序。
If we put brevity too high on our list of priorities, we will end up with code that is hopelessly obfuscated.
如果我们赋予简洁太高的优先级,我们终将无可奈何地陷入令人困惑的代码之中。
First he concedes that getting high coverage in place for a legacy environment (one where the code does not have tests) does require a potentially high, long-term investment.
首先,他承认对遗留环境(代码没有测试)采取高覆盖率的确需要长期的高投入。
Through a compilation process, this high-level code is compiled into an intermediate representation called object code.
通过一个编译过程,该高级代码被编译成一个名为对象代码 的中间表示。
Many articles give high-level overviews of a given section of code, rather than detailed descriptions of algorithms and code.
很多文章都对给定的代码段提供了高级的概述,而不是对算法和代码详细进行介绍。
In high-performance code they should be removed.
在高性能的编码中,应该将它们除去。
In high-performance code they should be removed.
在高性能的编码中,应该将它们除去。
应用推荐