findbugs非常的好用,呵呵,之前没用过。。在hs外包的时候用过,非常的不错,推荐之。。
好了,从findbugs官网上拷贝过来的,知识冗余,呵呵。
------------------------ 飘逸的分界线 ----------------------------
Welcome to the FindBugs Eclipse plugin update site.
This web page provides automatic distribution
and updates for the Eclipse plugin for FindBugs.
Plugin requirements
This plugin has primarily been tested with Eclipse 3.3 and 3.4
It should work with 3.x
releases, but let us know if you have any problems.
The plugin is not compatible with versions of Eclipse preceding 3.3.
The plugin runs under Java 1.5/5.0, or newer.
Plugin installation
If you have previously installed a version of the FindBugs plugin
prior to mid-May, 2006, then you should remove it first.
Simply remove the de.tobject.findbugs_0.0.n
directory
from Eclipse's plugins
directory.
To install the FindBugs plugin:
- In Eclipse, click on Help
-> Software Update
-> Find and Install...
- Choose the Search for new features to install
option, and click Next
.
- Click New Remote Site
.
- Enter the following:
-
Name:
FindBugs update site
-
URL:
one of the following (note: no final slash on the url)
-
http://findbugs.cs.umd.edu/eclipse
for official releases
-
http://findbugs.cs.umd.edu/eclipse-candidate
for candidate releases and official releases
-
http://findbugs.cs.umd.edu/eclipse-daily
for all releases, including developmental ones
and click OK
.
- "FindBugs update site" should appear under Sites to include in search
.
Click the checkbox next to it to select it, and click Finish
.
- You should see FindBugs Feature
under Select features to install
.
(You may have to click on one or two triangles to make it visible in the tree.)
Select the checkbox next to it and click next.
- Select the I accept
option to accept the license and click Next
.
- Make sure the location is correct where you're installing it.
The default (your workspace) should be fine. Click Finish
.
- The plugin is not digitally signed. Go ahead and install it anyway.
- Click Yes
to make Eclipse restart itself.
================= end ===============
再付上一篇已经写的别人的文章,有图挺不错的。。
http://developer.51cto.com/art/200906/127165.htm
分享到:
相关推荐
如果已安装Myeclipse插件,可能需要先移除其link文件,待FindBugs安装完成后重新添加。 6. 接受许可协议,按提示完成安装,最后重启Eclipse。 **配置FindBugs** 1. 要显示FindBugs视图,依次点击“Windows”->...
《FindBugs安装与使用详解》 FindBugs是一款开源的静态代码分析工具,主要用于Java程序的错误检测。它能够帮助开发者在代码运行前找出潜在的bug,提高代码质量和可维护性。本篇文章将详细介绍FindBugs的安装过程...
以下是对FindBugs安装及使用的详细步骤和相关知识点的介绍: **安装FindBugs** 1. 打开Eclipse集成开发环境。 2. 在菜单栏中选择`Help`,然后点击`Software Updates`,接着选择`Find and Install`。 3. 选择`...
### FindBugs安装与基本使用指南 #### 一、FindBugs简介 FindBugs是一款强大的静态代码分析工具,能够帮助开发者发现Java程序中的潜在错误和编程缺陷。它通过分析程序的字节码来查找可能导致错误的行为模式,从而...
### FindBugs安装及用法详解 #### 一、FindBugs概述 **FindBugs** 是一款专为 **Eclipse** 平台设计的插件,它属于一种静态代码分析工具,主要用于检测 Java 字节码文件(即 .class 文件)中存在的潜在问题。通过...
【FindBugs安装及使用说明】 1. 简介 FindBugs是一款静态代码分析工具,用于检测Java代码中的潜在错误和不良编程习惯。它通过分析字节码而非源代码来查找可能的问题,帮助开发者在编码阶段就发现并修复问题,从而...
### 一、FindBugs安装 1. **获取安装包** - 在FindBugs官方网站下载最新版本的插件,或者从提供的`edu.umd.cs.findbugs.plugin.eclipse_1.3.9.20090821.zip`文件中获取。 2. **安装到Eclipse** - 打开Eclipse,...
### FindBugs安装及使用说明 #### 一、FindBugs简介 FindBugs是一款针对Java代码进行静态分析的强大工具,旨在帮助开发人员快速定位并修复潜在的代码问题。通过深度扫描源代码,FindBugs能够检测出各种常见的编程...
- **Eclipse插件安装**:对于Eclipse用户,可以在Marketplace中搜索FindBugs,然后按照向导步骤进行安装。安装完成后,会在"Problems"视图中显示FindBugs的检查结果。 - **Maven依赖**:在Maven项目中,可以通过...
### Eclipse中FindBugs的安装与使用详解 #### 一、FindBugs简介 FindBugs是一款用于检测Java代码潜在缺陷的强大工具。它能够帮助开发者及时发现并修复代码中的问题,提高软件的质量和稳定性。FindBugs支持多种版本...
4. **验证安装**: 安装完成后,可以在终端或命令提示符中输入`findbugs`命令,如果一切正常,你应该能看到FindBugs的帮助信息。 **二、FindBugs的使用** 1. **命令行使用**: 在命令行中,你可以使用`findbugs`命令...
这里的`edu.umd.cs.findbugs.plugin.eclipse`是插件的包名,`1.3.9.20090821`是版本号,`plugins/edu.umd.cs.findbugs.plugin.eclipse_1.3.9.20090821/`是插件的安装路径,`4`和`false`分别代表启动状态和是否自动...
### 安装FindBugs 1. **Maven依赖**:如果你的项目是基于Maven管理的,可以在`pom.xml`文件中添加FindBugs的依赖。确保使用与你项目兼容的版本: ```xml <groupId>com.github.spotbugs</groupId> ...
findbug的安装手册,分为插件和独立运行文件
其中,`${env.FINDBUGS_HOME}`指的是FindBugs的安装路径。 ### 三、创建FindBugs任务 接下来,定义一个target用于运行FindBugs,指定要分析的类文件、输出报告的路径以及FindBugs的配置选项。 ```xml ...
要使用FindBugs,首先确保已安装JDK1.5或更高版本,然后运行下载包内的`findbugs.bat`批处理文件启动程序。 在使用FindBugs时,主要步骤如下: 1. 创建项目:启动FindBugs后,选择“文件”菜单中的“新建项目”。...
描述中提到的"用于findbugs安装配置,及findbugs结果导出分析文档",意味着这个压缩包不仅提供了FindBugs的基础软件,还可能包含配置文件、示例、或者说明文档,帮助用户安装、配置FindBugs,并理解其分析结果。...
这里`${findbugs.home}`指向你的FindBugs安装目录,`src/main/java`是源代码路径,`bin`是编译后的类文件位置。 运行这个Ant目标后,会生成一个名为`findbugs.xml`的文件,它包含了FindBugs的分析结果。接下来,你...
- **下载安装**:你可以从提供的`findbugs-1.3.9.rar`和`77433624findbugs-1.3.9.zip`文件中选择一个进行下载,解压后按照`Findbugs安装及使用说明1.doc`文档的步骤进行安装。对于Eclipse用户,可以找到并安装...
接下来,我们将进入Eclipse的FindBugs安装步骤: 1. **启动Eclipse插件安装向导**:在Eclipse中,点击“Help” -> “Install New Software”,打开软件安装界面。 2. **输入FindBugs在线安装地址**:在工作区的...