• The “find matching clones” looks for duplicated code.

    使用“寻找匹配副本”功能,我们能够找到重复代码

    youdao

  • Using a tool like CPD, however, quickly reveals duplicated code, which you can then improve.

    但是使用诸如 CPD 之类的工具可以迅速找出重复代码然后对此进行改进。

    youdao

  • Think about all of the duplicated code you'd now have spread throughout your entire class hierarchy.

    想一想那些重复代码需要重新设计整个层次。

    youdao

  • The PMD plugin for Eclipse provides a feature called CPD (or Copy Paste Detector), which finds duplicated code.

    Eclipse的PMD插件提供了一项叫做CPD(复制粘贴探测器)的功能,用于寻找重复的代码。

    youdao

  • Often, long methods and large classes are indications of other code smells, such as conditional complexity and duplicated code.

    通常方法大类暗示着存在其他代码味道条件复杂度重复代码。

    youdao

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

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

    youdao

  • Finding duplicate code manually is challenging, but using a plugin like CPD, however, quickly reveals duplicated code while you are coding.

    靠人工来寻找重复代码项挑战使用CPD这样插件编码轻松地发现重复的代码。

    youdao

  • This reduces the total programming effort by removing duplicated code in the application and by reducing the amount of effort spent in writing database control logic.

    通过去除应用中的重复代码减少编写数据库控制逻辑工作这种方案降低总的编程

    youdao

  • Once I've isolated and removed the duplicated code, both the number classifier and the prime-number tester are much simpler. Listing 4 shows the refactored number classifier.

    隔离移除重复代码后,数字分类器质数检验器就变得简单了。

    youdao

  • Just as I did with the imperative versions, I extract the duplicated code into its own factors class, changing the name of the factors method to of for readability, as shown in Listing 8.

    正如命令式版本中所一样,我将重复代码提取factors中,并且便于阅读factors方法名称改为of如清单8所

    youdao

  • In Listing 6, I take the duplicated code in Listing 4 and reduce the duplication by using the Pull up method refactoring - extracting behavior from a larger method into an abstract class method.

    清单6中,清单4中的重复代码使用PullUpMethod重构来降低重复度—将行为较大方法提取一个抽象类方法中。

    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

  • Unit tests often need to test nuanced behavior of the code under test, leading to similar and duplicated situations.

    单元测试常常需要测试有细微差异代码行为因此涉及相似重复的情况。

    youdao

  • Most of the code is duplicated; the only unique part is the return value.

    大部分代码经过复制惟一不同的部分返回的值。

    youdao

  • Concatenation strings, usually used to reduce the code lines and duplicated expressions, can be convenient for developers, but sometimes they can require more effort in the globalization phase.

    用于减少代码行数重复表达串联字符串对于开发人员来说可能比较方便,但是有时候导致全球化阶段需要付出更多的努力。

    youdao

  • In this case, it will only indicate blocks of code that have at least 10 lines that are similar or have been duplicated.

    这样情况下指示出那些至少10类似重复代码

    youdao

  • Using enterprise beans removes the need for duplicated application code and reduces the effort spent writing database control logic.

    使用企业bean除去重复应用程序代码需要也减少了在编写数据库控制逻辑上所做的工作

    youdao

  • The common lookup code that we factored must be duplicated in every client where we want to use this pattern.

    必须这种分解后的常用查找代码复制使用这种模式的每个客户端上。

    youdao

  • I'm going to use reflection to create a generic sorting infrastructure that doesn't have so much duplicated, boilerplate code.

    准备使用反射(reflection)创建一种通用排序基础设施,其中不会涉及大量复制的样板代码。

    youdao

  • Many similar tasks must be scripted separately because ant lacks support for loops, inheritance, and conditional processing; therefore, build code is duplicated and is sometimes redundant.

    很多类似任务必须单独编写脚本因为Ant缺乏循环继承条件处理支持因而构建代码出现重复,以致产生冗余代码。

    youdao

  • USB KEY includes a password series code, which makes the USB KEY not be able to be duplicated.

    USB加密狗内部包含有一个密码序列串,密码序列串保证USB加密狗的无可复制性。

    youdao

  • More often than not, when designing finite state machines you will end up with code that is duplicated in every state.

    通常设计有限状态的时候,最后都会在所有状态中出现重复代码

    youdao

  • More often than not, when designing finite state machines you will end up with code that is duplicated in every state.

    通常设计有限状态的时候,最后都会在所有状态中出现重复代码

    youdao

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

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

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