Static Code Analysis is a method of analyzing the source code of programs without running them.
静态代码分析是一种在不运行程序的情况下分析其源代码的方法。
It can discover formatting problems, null pointer dereferencing, and other simple scenarios.
它可以发现格式化问题、空指针解读和其他简单情况。
So, let’s jump into it.
因此,让我们跳入其中。
>> Introduction to Code Quality Metrics
An overall look on some of the critical defects detected by static analysis tools.
对静态分析工具检测到的一些关键缺陷进行全面考察。
>> Java Static Analysis Tools
How to integrate three widely used static analysis tools with Eclipse and IntelliJ IDEA.
如何将三种广泛使用的静态分析工具与Eclipse和IntelliJ IDEA集成。
>> PMD
In this quick article, we introduce PMD – a flexible and highly configurable tool focused on static analysis of Java code
在这篇文章中,我们将介绍PMD–一个灵活且高度可配置的工具,专注于Java代码的静态分析。
>> Cobertura
Here, we show how to use Cobertura for calculating code coverage in a Java project.
在这里,我们将展示如何使用Cobertura来计算Java项目中的代码覆盖率。
>> FindBugs
This time, focusing on FindBugs.
这一次,重点是FindBugs。
>> Jacoco
In this article, we see how to make use of JaCoCo Maven plugin for generating code coverage reports for Java projects.
在本文中,我们将看到如何利用JaCoCo Maven插件来为Java项目生成代码覆盖率报告。