MyEclipse2014 the simplest way to install Checkstyle, PMD, findbugs

Source: Internet
Author: User
Tags checkstyle

Recently, due to the experimental requirements for code review and program performance optimization, need to install some plug-ins under MyEclipse, but because now the MyEclipse version and most of the tutorials are different, some installation options have changed, so it is very cumbersome to install, through constant attempts, Reference and Chop tutorial and on the basis of their own practice, collated a bit about Checkstyle, PMD, findbugs the easiest way to install, hoping to help more people in the installation is less detours

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

MyEclipse version: 2014

The required plugins can be found on this website: http://sourceforge.net/

Checkstyle

CHeckstyle helps Java developers comply with certain coding specifications and can automate code compliance

So that developers can be freed from this important but tedious task.
Main contents of checkstyle test:
–javadoc notes
– Naming conventions
– title
–import statements
– 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 file

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



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

Download PMD I'm using 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/myeclipse/configuration/org.eclipse.equinox.simpleconfigurator/bundlers.info in the MyEclipse installation directory

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

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



Findbugs

java Static Code analysis tool, not focus on style or format, focus on the search
Find real flaws or potential performance issues to help developers improve code quality and
In addition to the implied flaws, the software can be analyzed without actually running the program.

Installation:

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

The edu.umd.cs.findbugs.plugin.eclipse_3.0.0.20140706-2cfb468 folder is also placed in the plugins of MyEclipse in the same way after decompression

And on the last side of the/myeclipse/configuration/org.eclipse.equinox.simpleconfigurator/bundlers.info to join

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 MyEclipse, the project will see the PMD options right-click.

MyEclipse2014 the simplest way to install Checkstyle, PMD, findbugs

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.