MyEclipse2014 installation Checkstyle, PMD, findbugs the most convenient way to detailed

Source: Internet
Author: User
Tags checkstyle

Recently because of the experimental requirements for code review and program performance optimization, need to install some plug-ins under the MyEclipse, but because the current MyEclipse version and most of the tutorial is not the same, some installation options have changed, so the installation is very troublesome, through constant attempts, Reference and chopping tutorials and on the basis of their own practice, sorted out about Checkstyle, PMD, findbugs the easiest way to install, hoping to help more people in the installation of less detours

Original link: http://write.blog.csdn.net/postedit

MyEclipse version: 2014

All required plug-ins can be found on this website: http://sourceforge.net/

Checkstyle

Checkstyle helps Java developers to follow certain coding specifications and automate the code-checking process, freeing developers from this important but tedious task.
The main contents of checkstyle inspection:
–javadoc notes
– Naming conventions
– title
–import statement
– Volume size
– Blank
– Modifiers
– Block
– Code issues

-Class Design

Installation method:

Download: Net.sf.eclipsecs-updatesite_5.7.0.201402131929-bin.zip file

Unzip and open the files under Plugins and features to myeclipse corresponding files

Reboot MyEclipse, project right click to see Checkstyle option installed successfully



Pmd
PMD: Static code analysis tool, automatic detection of potential defects and unsafe or suboptimal
The code.

Download PMD I'm using a pmd-eclipse-1.8.0.

After opening, copy the net.sourceforge.pmd.eclipse_1.8.0 folder to the plugins directory under MyEclipse

Then open the/myeclipse/configuration/org.eclipse.equinox.simpleconfigurator/bundlers.info in the MyEclipse installation directory

Plus net.sourceforge.pmd.eclipse,1.8.0,file:/e:/myeclipse/pligins/net.sourceforge.pmd.eclipse_1.8.0/,4,false at the back.

After restarting MyEclipse, the project right click to see PMD.



FindBugs

Java Static code analysis tools, not focusing on styles or formatting, focusing on finding
Find real bugs or potential performance problems, help developers improve code quality and
In addition to the hidden defects, the software can be analyzed without actually running the program.

Installation:

Download Edu.umd.cs.findbugs.plugin.eclipse_3.0.0.20140706-2cfb468.zip

Unzip the edu.umd.cs.findbugs.plugin.eclipse_3.0.0.20140706-2cfb468 folder into MyEclipse's plugins in the same way

and joined at the end of the/myeclipse/configuration/org.eclipse.equinox.simpleconfigurator/bundlers.info.

edu.umd.cs.findbugs.plugin.eclipse,3.0.0.20140706-2cfb468,file:/e:/myeclipse/pligins/ Edu.umd.cs.findbugs.plugin.eclipse_3.0.0.20140706-2cfb468/,4,false

After restarting the MyEclipse, the project right click to see the PMD option

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.