CPD, which is part of the popular open source static analysis tool PMD, reports the number of duplicate lines in a code base.
CPD是流行的开源静态分析工具pmd的一部分,它报告代码基中重复行的数量。
The problem manifested in Listing 7 is the same in the test-after version of the code from Part 1: the factor-harvesting code goes all the way up to the number itself.
清单7中出现的问题与第1部分中后测试版本中的问题相同:寻找因子的代码会一直循环到数字本身。
For your information (not part of the sample application), here is the code that gets the number of documents in a specified database.
仅出于提供信息的目的(不是样例应用程序的一部分),以下是获取指定数据中文档数量的代码。
In Part 1, I wrote a version of a perfect-number finder using test-after development (writing the test after writing the code).
在第1部分中,我采用后测试开发方法(在编写代码之后编写测试)编写了完全数查找程序的一个版本。
The code below shows a PHP application that connects a Solr service, adds two documents to the index, and runs the part number query used previously.
下列代码显示了连接Solr服务、向索引中添加两个文档和运行先前使用的零部件号查询的PHP应用程序。
Let's examine a number of Amazon SQS policies that you might apply to your HybridCloud application (for the details and source code of the application, see Part 2 in this series).
让我们考察一些您可能应用到HybridCloud应用程序的AmazonSQS策略(要获得详细信息和源代码,请查看本系列的第2部分)。
The number arrangement, and ratings or setting of protective devices used in industrial control equipment are in accordance with the requirements of the Canadian Electrical Code, Part I.
接地保护以及电机过载运行保护。应用于工业控制设备的数量安排、保护设备的等级和设置与加拿大电气法规第一部分相一致。
The battery-backup cache device, replacement part number (FRU) 90P5245, is defective: controller 1, Error code: 31
电池备份缓存有故障,更换备件号(FRU) 90P5245,控制器1,错误代码:31。
The battery-backup cache device, FRU part number 90P5245, needs a new battery: controller 1, Error code: 10
电池备份缓存设备需更换新电池,备件号(FRU) 90P5245,控制器1,错误代码:10。
The model number and manufacturing code can be found on a label on the lower rear part of the vacuum cleaner.
产品型号和生产代码位于真空吸尘器后部下方标签。
The model number and manufacturing code can be found on a label on the lower rear part of the vacuum cleaner.
产品型号和生产代码位于真空吸尘器后部下方标签。
应用推荐