CS 235 Projects :: Spring 2008
- Project 1 - Java Programming Skills
- Project 2 - Spelling Checker
- Project 3 - Boggle
- Project 4 - Column Sort
- Project 5 - XML Parser
- Project 6 - AVL Tree
- Project 7 - Hashing
The quality of your Java code will be evaluated using Checkstyle. Your code must pass all the required Checkstyle checks to be given credit. The following Checkstyle jar and configuration file will be used to evaluate your code.
Checkstyle can help you write better code and help you save time in debugging your code. You will only gain this benefit if you incorporate Checkstyle into your code authoring process. Please download these files and run Checkstyle as you write your code.
- Download the Checkstyle jar.
- Download the Checkstyle configuration file.
Run checkstyle from the command line
on all java files in the current directory.
$ java -jar checkstyle-all-4.4.jar -c checks.xml *.java
The Checkstyle site documents each of the Checkstyle checks.
Some of the example code uses JUnit for testing.
To run these tests you need to download junit.jar.
To use JUnit you need to include junit.jar in your classpath both when compiling and when running.
Here's an example of compiling with JUnit on the command line:
$ javac -cp junit.jar *.java
Here's an example of running with JUnit from the command line:
$ java -cp junit.jar:../.. cs235.test.Test
Project Tips Page