Java Code Bug Analysis plugin FindBugs

Source: Internet
Author: User

Original: Https://www.oschina.net/p/findbugs

FindBugs is an Eclipse plug-in tool that can statically parse the source code for possible bugs. It examines the class or JAR file and compares the bytecode to a set of defect patterns to identify possible problems. With the static analysis tool, you can analyze the software without actually running the program. Rather than determining the intent of a program by parsing the form or structure of a class file, you typically use the Visitor pattern.



After downloading, copy the unfrozen files to the $ECLIPSE _home/plugins/directory and restart ECLIPSE to complete the installation.

Settings for FindBugs:
Once installed, you can set it up by Projects > property > FindBugs tags. The Setup method can be adjusted to suit your needs.

In addition, in the filter settings of the problem (Proplems) List window (Windows > Views > Issues), check the findbugs options.

FindBugs to execute:
Select your project, right-click > Find Bugs > Find Bugs Execute

Java Code Bug Analysis plugin 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.