Identify areas for review and inspection with a source-code static analysis tool.
使用源代码静态分析工具识别检查区域。
FindBugs is an open source static analysis tool that looks for likely bug patterns in code.
FindBugs就是一个能够查找代码中可能的缺陷模式的开源静态分析工具。
In Listing 8, I'm calling the PMD static analysis tool to search for long methods in the code base.
在清单8中,我调用PMD静态分析工具来搜索代码库中的长方法。
I encourage you to try some form of static analysis tool on your code, whether it's FindBugs, PMD, or something else.
我鼓励读者对自己的代码试用静态分析工具,不管是FindBugs、PMD还是其他的。
With over a million lines of code, how long do you think it would take to run a static analysis tool against the code?
对于一百万行代码,您认为运行静态分析工具要花多长时间?
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的一部分,它报告代码基中重复行的数量。
To work around this problem a number of static analysis tool developers are exploring using annotations to define these details.
为了解决这些问题,有些静态分析工具开发人员试图使用注解来定义相关细节。
This article provides a pattern of correlating a code smell to a measure that can be configured to be flagged from an automated static analysis tool.
本文提供了一种使代码味道与一种度量方法相关的模式,这种度量方法可以配置为通过自动静态分析工具标记。
The phrase "source-code static analysis tool" is a general term for a tool that extracts information from the source code itself without executing the program.
词组“源代码静态分析工具”是一个通用的词汇,它表示用于在未执行程序的情况下从源代码提取信息的工具。
FindBugs is a static analysis tool that examines your class or JAR files looking for potential problems by matching your bytecodes against a list of bug patterns.
FindBugs是一个静态分析工具,它检查类或者JAR文件,将字节码与一组缺陷模式进行对比以发现可能的问题。
This is possible because the static analysis tool provides examples of each of the issues that it can identify, along with a description of how the issue can be resolved.
这是可能的,因为静态分析工具提供了它可以识别的每个问题的实例,以及如何解决该问题的描述。
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这样的静态分析工具,您能够将整个分析过程作为自动构建的一部分,持续分析,确定代码重复度高的区域。
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这样的静态分析工具,您能够将整个分析过程作为自动构建的一部分,持续分析,确定代码重复度高的区域。
应用推荐