---
title: "代码检查工具"
author: "IvanLi"
date: "2008-09-25T11:48:45Z"
tags: []
slug: "untitled"
draft: false
lastmod: "2008-09-25T11:48:45Z"
id: 246634
url: "https://ivanl.iteye.com/blog/246634"
---

[findBugs](http://findbugs.sourceforge.net/), [PMD](http://pmd.sourceforge.net), [CheckStyle](http://checkstyle.sourceforge.net/)

findBugs跟PMD的对比文章
http://www.freesoftwaremagazine.com/columns/destroy_annoying_bugs_part_1

我的理解要点
findBugs针对class,jar文件检查，PMD针对source code做检查，初步来看好像PMD对IDE的支持比较好，打算初步使用PMD来做checkstyle 工具。

其实更好的check style工具是通过pair programm产生的，什么是好的代码结构，能够让pair理解的代码结构就是好的代码结构。