Monday, December 8, 2008
Due Dates 2.0 (the Web Application!) is born
Sunday, November 23, 2008
My first Wicket Web Application
Got an exception - java.lang.RuntimeException: Unable to get class information for @throws tag 'EmptyStackException'.This was extremely confusing because I did not even alter the classes that the error was from. I was really stumped with this one and searched all over to try and figure it out. The problem ended up stemming from the build.xml file, which was not compiling all the classes, namely the EmptyStackException class. It was something small that I missed and when it was fixed it all worked nicely together.
Thursday, November 20, 2008
ICS Industry Day at UH Manoa
- Oceanit - A company based on Oahu, Kauai, and Maui that works on a wide range of 'innovative' projects for the government. They do a lot of Research and Development work.
- Alion Science - A larger company that also does a wide range of things, including software modeling for the military.
- Concentris Systems - A company whose primary focus is on developing technology for the military. They developed the 'Indestructible Instant Network' system.
Monday, November 17, 2008
The Release of Due Dates Version 1.2 [team gold]
This week marks the release of Due Dates version 1.2 [Project Homepage]. With this new version comes two new features: an email reporting service, as well as a timer-based reporting function that allows the user to automatically have the program run at some specified interval of time. Both functions have been integrated into the Team Gold release of Due Dates and everything functions well.
Thursday, November 6, 2008
In the GREEN with HackyStat!
ant -Ddefault.account=I forgot about this when using it on the Due Dates system so I kept getting errors. Luckily hackystat provides an abundance of user wiki pages to help solve these types of problems. I realized I had to create a UserMap.xml file that held those parameters for me.-Ddefault.password= -Ddefault.sensorbase= -f svn.build.xml
Monday, November 3, 2008
The Release of Due Dates Version 1.1 [team gold]
Saturday, November 1, 2008
Software Review Part Deux
After much time was spent re-working and changing the Due Dates [Team Gold] system to include new standards, Scheller and I were assigned to do a software review on Team Silver's Due Dates program, as well as have our system reviewed by Team Orange. This turned out to be a real eye opening experience for me, as I saw what other groups were capable of and what could be improved on our teams implementation. Since last weeks software review, I didn't really know what to expect since I was reviewing a new groups system.
Thursday, October 23, 2008
Time For Review! Software Review that is...
- erinjuneilkim
- creightonokada
- aricwest
- jnancheta
- anthony.m.du
- john.km.zhou
Sunday, October 19, 2008
Creating My First OSS Project: Due Dates
- LibraryVault - an object to hold information about a given online library system. Object holds the site URL, the login form's name, and the two parameter names within form.
- DueDatesGold - this is the main class that uses LibraryVault objects in conjunction with user defined id/passwords (or any type of login information) to gather information about borrowed books and their due dates.
Wednesday, October 8, 2008
Further Exploration in Configuration Management
After working on a professor's project and creating my own stack project (link to past post), I thought it would be interesting to collaborate with another classmate using google project hosting and subversion. Usually when I've worked with others in the past, everything is planned out before each person programs or edits code in order to reduce code clashes and redundancy. Configuration management was never a part of these projects and I have to say it was a challenge sometimes.
Tuesday, October 7, 2008
Experiences with Configuration Management
- When groups of people are working on a single project
- When there is a system with multiple versions
- When working on a large system
- When projects branch of to separate versions
Monday, September 29, 2008
Code Coverage Using Emma
Bug Problems with 100% Code Coverage
public Object getTop() throws EmptyStackException {
return this.top();
}
public Object getTop() throws EmptyStackException {
return this.pop();
}
Tuesday, September 23, 2008
Using Ant/QA Tools to Build a Robust Program Package
As programmers there are many tools out there that streamline the writing process and optimize code. Some tools create all in one programming environments to work in (IDE's), some tools help you to build projects, and others do all sort of cool things that clean-up and optimize code. Previous to taking ICS413 I was never exposed to these technologies (apart from IDE's). I never knew the power these sorts of things hold in a programming environment.
- Checkstyle 5 Beta - checks source code mainly for layout issues based on a coding standard.
- PMD 4.2.3 - Checks source code for things like bugs, dead code, overcomplicated expressions, etc.
- JUnit 4.5 - A framework for writing and running automated tests.
- FindBugs 1.3.5 - Uses static analysis of byte code to look for possible bugs.
- Ant 1.7.1 - A Java based build tool. 'Make, but without Makes wrinkles'
export ANT_HOME="/Users/tylerwolff/Documents/ICS/Tools/apache-ant-1.7.1"Luckily a friend in class helped me get to this point. Otherwise I would have been at a loss at what to do. I also needed to change the path to ANT 1.7.1. After I finally managed to finish this all, I ran some tests to see if I had installed everything correctly and it worked just right.
export CHECKSTYLE_HOME="/Users/tylerwolff/Documents/ICS/Tools/checkstyle-5.0-be$
export FINDBUGS_HOME="/Users/tylerwolff/Documents/ICS/Tools/findbugs-1.3.5"
export JUNIT_HOME="/Users/tylerwolff/Documents/ICS/Tools/junit4.5"
export PMD_HOME="/Users/tylerwolff/Documents/ICS/Tools/pmd-4.2.3"
Thoughts on Automated vs. Manual Quality Assurance
When programming it is always hard to get the code looking and working right the first time around. More often than not, we miss the littlest, most minute details in our program code and it fails because of it. Those are the times when it is ultimately useful to get an objective, outside view of your code.
- Checkstyle : 24 errors in MyRuler.java (67 errors total including IBM classes)
- 20 errors due to lines over 100 characters long
- 3 Javadoc errors
- 1 error due to using a import wildcard statement '*'
- PMD: 10 errors in MyRuler.java (36 errors total including IBM classes)
- All priority 3 errors with code suggestions
- FindBugs: 0 errors in MyRuler.java
Sunday, September 14, 2008
Code Ruler Peer Review [Flestado]
When I first opened the MyRuler.java file from Mari-Lee Flestado I did a quick scan over all the code to get an overall impression of it. At first glance I found the code to be clear and organized. I saw lots of clear, logical statements and many single line comments. It took slightly longer to realize the strategy the code implemented but overall I had a really easy time understanding the specifics of the program. Her ruler worked very well for what it was when I tested it out. It implemented exactly what her strategy specifics outlined. When I first started coding out my codeRuler I thought of some of the same strategies she used like creating more knights and peasants when the opposer has more.
CODE/FORMATTING VIOLATIONS FOUND
File | Lines | Violation | Comments |
MyRuler.java | 44, 53, 57, * | EJS-7 | no whitespace included in line between () and { |
MyRuler.java | 38, 79, 87, * | EJS-7 | no blank line between logical sections of code |
MyRuler.java | 1,2,3, * | EJS-8 | Tabs used, not converted to whitespace |
MyRuler.java | 109 | EJS-9 | 'np' is not a meaningful name |
MyRuler.java | 38, 43, 52, * | EJS-37 | comments repeat code, does not add useful information |
MyRuler.java | 105, 110, 120, * | EJS-76 | Expression statements used instead of block statements |
MyRuler.java | 20, 98 | ICS-SE-Java-6 | Does not start with a capital and end with period. Should be a more complete sentence. |
About Me
- Tyler Wolff
- Honolulu, Hawaii, United States
- UH ICS student Visit my Web Portfolio Site at www.tylerwolff.com
Labels
- Ant
- blueMarine
- bugs
- Checkstyle
- code coverage
- codeRuler
- Configuration Management
- Continuous Integration
- development
- Due Dates
- Eclipse
- Elements of Java Style
- Emma
- FindBugs
- FizzBuzz
- Formatting
- game
- gold
- google code
- google project hosting
- group
- hackystat
- httpUnit
- hudson
- IBM
- ICS Industry Day
- Jetty
- JUnit
- Management
- Open Source Software
- PMD
- prime directives
- Quality Assurance
- smartSVN
- software ICU
- Software Review
- Stack
- Strategy
- subversion
- test-driven development
- ulaula
- Web Application
- white box testing
- Wicket