eclipse安装checkstyle、PMD、FindBugs、VisualVM
2017-12-13 20:31
316 查看
1.前言
Eclipse 安装插件一般都两种方式,一种是自动傻瓜式安装,仅需输入安装网址,即可自动安装;另外一种是下载对应压缩包,拷贝里面的两个文件夹plugins和 features下面的文件分别到eclipse目录下面对应的plugins和features目录。然后重启eclipse,即可使用,本教程主要介绍傻瓜式安装方式。2.安装CheckStyle
选择Help->Marketplace,输入Checkstyle搜索,点击Install安装。安装完毕后重启Eclipse。
在eclipse中打开Windows>>Preferences>>Checkstyle,点击Sun
Checks,再点击Set default将其设为默认。
激活CheckStyle
3.安装PMD
1.In Eclipse->Help->Install New Software
2.Click on Add..
3.Enter the following:
Name:PMDfor Eclipse Update Site
URL:https://dl.bintray.com/pmd/pmd-eclipse-plugin/updates/
and click OK
4.You should see PMD for Eclipse 4. Select the checkbox next to it and click Next>.
5.You'll need toaccept the license and confirm you want to install a plugin that is notdigitally signed. Go ahead and install it anyway.
6.Restarteclipse.
随后,在项目上右键->PMD->Check Code,可对代码进行静态分析。
3.FindBugs
打开EclipseàHelpàMarketplace,搜索FindBugs,点击Install安装。安装完成后重启Eclipse。
随后在项目上右键->Find Bugs->Find Bugs即可
4.VisualVM
1、Use the Eclipse Launcher to integrateVisualVM with the Eclipse IDE. The plugin enables starting VisualVM along withthe executed application and automatically opens the application tab.
2、Installation: download the plugin (.zip,38.8KB), unzip it and add as a local update site, then install the VisualVMLauncher Feature.
3、Configuration: setup the plugin byconfiguring path to JDK (not JRE) and VisualVM installation usingRun/Debug-Launching-VisualVM Configuration.
4、Usage: create a custom applicationconfiguration and choose the VisualVM Launcher as application launcher for theRun/Debug actions.
重启Eclipse,点击Windows->Preference->Run/Debug->Launching->VisualVM 配置
随后运行程序即可。
相关文章推荐
- eclipse安装checkstyle、PMD、FindBugs、VisualVM
- 在Eclipse中配置checkstyle、pmd、findbugs、visualvm
- 【eclipse】eclipse插件之Findbugs、Checkstyle、PMD安装及使用
- IDEA上安装和使用checkstyle,findbugs,visualVM,PMD插件
- eclipse插件之Findbugs、Checkstyle、PMD安装及使用
- eclipse下软件测试合集,findbugs,PMD,Sourcemonitor,Junit的安装和使用详细图文
- 计算机《软件工程》代码评审与性能优化实验环境搭建eclipse-jre-findbugs-checkstyle-pmd-tptp
- MyEclipse2014 安装 checkstyle、PMD、findbugs 最简便方式 详解
- myeclipse 安装checkstyle, findbugs 和pmd
- MyEclipse2014 安装 checkstyle、PMD、findbugs 最简便
- Checkstyle, FindBugs, PMD, VisualVM四种代码检测工具的比较与相关心得
- findbugs, checkstyle, pmd的myeclipse7.5+插件安装(转:http://blog.csdn.net/priestmoon/article/details/63941)
- findbugs, checkstyle, pmd的myeclipse7.5+插件安装(转:http://blog.csdn.net/priestmoon/article/details/63941)
- Eclipse安装Checkstyle和Findbugs插件
- Jenkins安装和配置FindBugs、PMD、CheckStyle等插件
- java进阶(四)------java编程规范---代码质量检测工具FindBugs、PMD和CheckStyle的安装
- findbugs, checkstyle, pmd的myeclipse7.5+插件安装
- java进阶(四)------java编程规范---代码质量检测工具FindBugs、PMD和CheckStyle的安装
- findbugs、PMD、Checkstyle等CI插件的使用
- 代码审查工具Eclipse插件FindBugs安装使用