zoukankan      html  css  js  c++  java
  • Eclipse安装Checkstyle和Findbugs插件

    Checkstyle 

    Overview

    Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. It automates the process of checking Java code to spare humans of this boring (but important) task. This makes it ideal for projects that want to enforce a coding standard.

    在eclipse中安装:

    Help->install new software,在 add location中添加地址http://eclipse-cs.sourceforge.net/update,然后进行安装即可。

     
    checkStyle 使用
     
    选中一个工程,右键选择checkstyle->check code with checkstyle即可。
     
     

    Findbugs

    A program which uses static analysis to look for bugs in Java code.
     
    在eclipse中安装过程和安装checkstyle一样, 在线安装地址为:http://findbugs.cs.umd.edu/eclipse


    Findbugs的使用:

    选中一个工程,右键选择Find bugs->Find bugs即可。

  • 相关阅读:
    java值类型和引用类型
    0513作业
    随机四位验证码
    1-36随机生成6个不重复的数
    java随机数
    0509作业
    作业0508
    字符集
    eclipse快捷键
    数据类型 转换
  • 原文地址:https://www.cnblogs.com/greensoo/p/4527202.html
Copyright © 2011-2022 走看看