- PMD
- Description: PMD checks for a long list of possibly bad programming practices and possible error conditions in source programs. My feeling about it is mixed -- it is undoubtedly very useful, but the number of warnings about things which were actually ok were excessive. Of course, what I should be doing it tuning the rules so it diagnoses what I think is important. I've used it from jEdit but found the interface difficult. "PMD has plugins for JDeveloper, JEdit, JBuilder, NetBeans/Sun ONE Studio, IntelliJ IDEA, TextPad, Maven, Ant, Eclipse, Gel, and Emacs."
- URL: pmd.sourceforge.net
- You can find a good article by Levent Gurses about PMD at Improving Code Quality with PMD and Eclipse. Altho this specifically describes the Eclips plugin, most of it applies equally well to other ways to use it, eg, the NetBeans plugin.
- Tom Copeland, author or PMD, has a book, PMD Applied, which is described as "an easy-to-use guide for developers".
- Checkstyle
- Checks style for adherence to coding standards, eg, Sun. I've used it as a jEdit plugin. One nice feature is that it nags about providing javadoc comments.
URL: checkstyle.sourceforge.net/ - FindBugs
- Looks for bugs in Java code. Open-source, free. There's an article on its use at FindBugs, Part 1: Improve the quality of your code.
URL: findbugs.sourceforge.net - Java Coding Standard Checker
- From Cafe au Lait Java News site: "Ralph Jocham's posted version 0.95 of JCSC (Java Coding Standard Checker), a configurable tool for checking Java source code for adherence to standard conding conventions such as naming conventions, code structure, class size, and line length. According to Rocham, version 0.95 "has been completely refactored. The core is now XML driven which makes the adding of further rules faster. Also, rules can be en-/disabled on a case by case basis and each rule can have a priority assigned. The priority can be used to group the parse results. These changes are reflected in an improved UI -- both in the ruleseditor and the generated XML/HTML documents. JCSC now supports CruiseControl2. This release also includes various bug fixes."
URL: jcsc.sourceforge.net - Jalopy
- Source code formatter. Very active support and available as plugin in many IDEs. Check out this short article on Jalopy. There is now a $40 successor to Jalopy.
URL: jalopy.sourceforge.net/ - JLint
- Description: Checks Java programs for errors. Basis for CodeLint jEdit plugin. Looks for a limited number of errors in source or class files. Not very useful when I tried it.
URL: http://artho.com/jlint/index.shtml
Monday, November 19, 2007
Style and Correctness of java Checkers
Labels:
java checkers
Subscribe to:
Post Comments (Atom)
Archives
-
▼
2007
(178)
-
▼
November
(178)
- java Font
- explain java.awt.Polygon in java
- Drawing an image using ImageIcon in java
- java.awt.Color Class
- explain java.awt.Graphics Class - Basic drawing me...
- Graphics methods and related classes in java
- define java GridBagLayout
- CardLayout in java
- define java BoxLayout, Box
- define and declaration of BoxLayout, CardLayout, G...
- FlowLayout, BorderLayout, GridLayout in java
- Low-level java gui Containers - special purpose - ...
- Low-level Container supporting layouts in java - J...
- java JFrame - window, typically subclassed
- short notes on Java GUI Containers
- declaration of JCheckBox - Check box followed by t...
- declaration of JTextArea in java - Box containing ...
- declaration of java JButton - Standard clickable b...
- about JTextField in java gui components - Box cont...
- about JLabel in java gui component - For fixed text.
- java Basic GUI Components
- java 3d arrays Initial values
- usage of static in java array sizes
- Visualizing java two-dimensional arrays
- define java 2-dimensional Arrays
- Shuffling (randomizing) an array in java
- Use of java Arrays.asList(...) for Collections vie...
- java.util.Arrays.toString(...) for debugging
- java arrays library methods
- Iterating over an array in java
- java array Subscripts - Accessing elements of the ...
- java Array initial values
- Array Declaration in java
- short notes on java summary
- explain javastringbuffer - java.util.StringBuilde...
- ANSI/ASCII and Extended Latin Sections of Unicode
- character data types in java
- example program on java Inner class listener (xicl)
- example program on Add anonymous action listener (...
- example programs on Graphics class (xgraphics)
- java Applet - Application (xappapp)
- example program on java Generic GUI program (xgui)
- java Comment header (xheader)
- java NetBeans Code Snippets
- java String Concatenation
- java String methods
- Java: Summary - String
- java Object Operators
- java Casts
- java Bitwise Operators
- java Assignment Operators
- java Conditional Operator
- java Logical Operators
- java Arithmetic Operators
- Java: Summary - Expressions
- java Character, String, ... classes
- java Boolean class
- java Floating-point classes
- java Integer classes
- java Classes
- Java: Summary - Data
- Software Engineering: Function Point Analysis: Tra...
- Software Engineering: Function Point Analysis: Dat...
- Counting function points in java
- Software Engineering: Function Point Analysis: Int...
- Java: Method Cyclomatic Complexity
- Java: Complexity Measurement
- Java: Complexity is your enemy
- Examples in Java
- Usefulness of java frameworks
- What is a java framework?
- Java: Frameworks
- JOptionPane.showMessageDialog
- Java: Debugging Output
- java Programmer errors - throw an exception
- java Debugging error checking - assert
- Java: Error processing
- java Rigorous testing
- java Catch runtime errors early if possible
- java Compile-time errors are the best
- Java: Fail Early, Fail Often
- java working program
- java Iterative/Incremental Development
- Java: Development Process
- Java: Design By Contract
- Java: Cohesion
- Java: Coding Guidelines v2 - Summary
- java applet HTML tag
- Converting java Applets to Applications
- java Applets
- how to Compiling a Java program
- java Applications - text example
- JAVA Class libraries
- Java support for large programming projects
- Object Oriented Programming - OOP
- Java Strings are not Arrays of char
- Java and C Arrays
- Java is harder because ...
- Java: Java vs. C
- Java portability
- define Java Virtual Machine
- Java: Java Virtual Machine
- Java: History of Java
- Java: Weaknesses
- Java: Strengths
- java AWT advantages
- java Swing advantages
- Must choose between java Swing and AWT
- Java: GUI - Swing vs. AWT
- java JLint
- java Jalopy
- Java Coding Standard Checker
- java FindBugs
- java Checkstyle
- java PMD
- Style and Correctness of java Checkers
- Usage of java ant
- Simple build.xml file
- java Ant
- java TextPad Problems?
- 3. Entering, compiling, and executing your Java pr...
- 2. Download and install java TextPad
- java TextPad Editor + JDK
- java GUI editor - Connecting components to code (l...
- java GUI editor - Toggle between Source and Design...
- Starting a new java GUI project (covered in the ww...
- Packaging resources (eg images, data, ...) with yo...
- Settings in java NetBeans you might want to change
-
▼
November
(178)
No comments:
Post a Comment