• CPD reports code duplication.

    CPD报告代码重复

    youdao

  • Catching code duplication with CPD.

    CPD捕捉代码重复

    youdao

  • PMD's CPD: Enables discovering code duplication

    PMDCPD帮助发现代码重复

    youdao

  • Reducing code duplication in the data access tier.

    减少数据访问中的代码重复

    youdao

  • CPD: a freely available code duplication tool from the PMD team.

    CPD来自PMD小组免费代码复制工具

    youdao

  • This enabled me to avoid code duplication more elegantly than I could have with a procedural language.

    使得可以避免代码重复,从而使用过程语言更为优雅

    youdao

  • There's a bit of code duplication in the Person class, but I'll leave that for a later refactoring exercise.

    person一些重复代码留给稍后重构练习

    youdao

  • Named templates are particularly useful for dividing your code into smaller chunks and avoiding code duplication.

    命名模板对于代码划分较小区块避免代码内容重复非常有用

    youdao

  • The generic DAO pattern (also called Typesafe DAO) is critical to reducing code duplication in the data access tier.

    dao模式(称为类型安全的DAO)对于减少数据访问中的代码重复非常重要。

    youdao

  • And just as code duplication can make a software program more difficult to maintain, so too does duplicate code in build scripts.

    代码复制软件程序难于维护,同理,构建脚本中的复制代码存在这样的问题。

    youdao

  • The measure for finding duplicated code is to search for code duplication within classes and among other classes in the code base.

    查找重复代码度量方法代码中的内部其他之间搜索代码重复

    youdao

  • There is a lot of code duplication, significant overlap of data in the database, etc. According to Neal, that is typically happening

    很多代码冗余数据库里数据也存在严重重叠等等

    youdao

  • At first glance, this strategy seems like a good ideacode duplication is a bad thing, so consolidating these duplicated paths should be an improvement.

    看,策略似乎一个方法——但代码副本错误所以整合这些复制路径应该改进

    youdao

  • You can reduce code duplication by abstracting the common behavior and including it in the generic DAO, where all users of the class will have access to the functionality.

    提取通用行为把它们包含DAO 中,所有用户通过泛型 DAO访问这些功能,这样就可以减少代码重复

    youdao

  • This logic in the session bean will force the clients to always do the right thing, ensuring consistency in the application and preventing code duplication at the client side.

    会话bean中的这个逻辑强制客户机一直正确事情确保应用程序中的一致性防止客户端的代码重复

    youdao

  • 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.

    使用诸如pmdCPDCheckStyle这样静态分析工具能够将整个分析过程作为自动构建一部分持续分析,确定代码重复区域

    youdao

  • This article's code examples (see Download to obtain the full package) show how to use these interfaces to facilitate auditing and reduce code duplication in data access objects (DAOs).

    本文代码示例(下载可以获得完整代码)演示如何使用这些接口帮助执行审计减少数据访问对象(DAO)中的代码重复

    youdao

  • This rule, and the rule to do one thing, are both corollaries of an underlying principle: avoid duplication of code whenever possible.

    规则以及做好件事情规则,根本原理必然结果无论何时都要尽可能避免代码重复

    youdao

  • Duplication harms projects because it resists attempts to make structural changes or refactor toward better code.

    复制项目有害因为不利于做出结构更改重构更好代码

    youdao

  • Duplication in code obscures the design because you can't find idiomatic patterns.

    代码复制使设计变得更加模糊因为无法找到惯用模式。

    youdao

  • This kind of structure is an example of a bad "code smell" in that it relies upon duplication.

    这种结构代码味道一个例子,原因在于依赖于复制。

    youdao

  • This can be tedious to maintain because it imposes a duplication of code.

    这样维护起来非常繁琐,因为代码是重复

    youdao

  • Creating intermediate facts is a useful pattern to avoid duplication of rule code.

    避免规则代码复制创建中间事实一个很有用的模式

    youdao

  • Although they all emphasize different aspects of clean code, there are a few emerging themes: simplicity, lack of duplication, readability, elegance.

    虽然他们定义简洁代码侧重点不尽相同,但其中仍有共通之处:简单重复读、优雅。

    youdao

  • You can, however, refactor without performing TDD and still banish duplication while making the code simpler, easier to understand, and more flexible.

    当然也可以执行TDD方式进行重构以去除重复代码使更简单灵活易于理解

    youdao

  • Another important principle is that in the first case we don't mind having some duplicate code. If it's clear how to eliminate duplication, we do, but we are willing to wait for clarity.

    还有另一个重要原则第一案例中我们介意一些重复代码如果能够明确如何消除重复代码,我们愿意这么做现在还没有,我们仍然希望能找到清晰的解决方案。

    youdao

  • Listing 9 shows a pattern that I introduced in "Leveraging reusable code, Part 2" under the guise of removing structural duplication.

    清单9显示了利用可重用代码第2部分”中引入一个模式,它以删除结构性重复名义

    youdao

  • Listing 9 shows a pattern that I introduced in "Leveraging reusable code, Part 2" under the guise of removing structural duplication.

    清单9显示了利用可重用代码第2部分”中引入一个模式,它以删除结构性重复名义

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定