Vineet Bhatia's Blog about Technology - Java, Mac, Web. Music. Movies & stuff.

Friday, October 25, 2002

Reference -
OO Metrics stuff -

http://www.objectmentor.com/resources/articles/oodmetrc.pdf
This paper describes a set of metrics that can be used to measure the
quality of an object-oriented design in terms of the interdependence
between the subsystems of that design. Designs which are highly
interdependent tend to be rigid, unreusable and hard to maintain.
Yet interdependence is necessary if the subsystems of the design are
to collaborate. Thus, some forms of dependency must be desirable,
and other forms must be undesirable. This paper proposes a design
pattern in which all the dependencies are of the desirable form.
Finally, this paper describes a set of metrics that measure the
conformance of a design to the desirable pattern.

Tools for source code analysis -

1) http://pmd.sourceforge.net/
PMD scans Java source code and looks for potential problems like:
Unused local variables
Empty catch blocks
Unused parameters
Empty 'if' statements
Duplicate import statements
Unused private methods
Classes which could be Singletons
Short/long variable and method names

2) http://checkstyle.sourceforge.net/
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.

3) http://www.clarkware.com/software/JDepend.html
JDepend traverses a set of Java class and source file directories and generates design quality metrics for each Java package. JDepend allows you to automatically measure the quality of a design in terms of its extensibility, reusability, and maintainability to effectively manage and control package dependencies.

4) http://www.kclee.com/clemens/java/javancss/
Metrics can be applied to global-, class-, or function-level.
Non Commenting Source Statements (NCSS).
Cyclomatic Complexity Number (McCabe metric).
Packages, classes, functions and inner classes are counted.
Number of formal Javadoc comments per class and method.
Average values are calculated.

Tuesday, October 22, 2002

Watson developer APIhttp://www.karelia.com/developer/watson/I've also been playing with Watson developer API.
Since I don't know much of Objective C, this could take a while :)

Some cool conferences I would like to gotoSome cool conferences I would like to goto.

1) SDExpo East

Hynnes Convention center, Boston, MA

Five Days, (Monday November 18- Friday November 22, 2002)

2) Sun certification summit

Cheyenne Mountain Resort, Colorado Springs, CO (Nov 10-13, 2002)

The all-inclusive fee of $1,295 per person includes all conference activities, student materials, Web-based courses, meals and lodging. One price fits all. You choose how aggressive you want to be, and take as many sessions as you want.

Monday, October 21, 2002

TimeSplitters 2 on XBOX got a score of 9.7 in this review.
Actual game site is here.

I got OpenOffice 1.0.1 to work on Mac OS X 10.2. I had to install X on X first.

My Compaq 3650 Pocket PC is still broken. Its LCD was toasted when I left it in the car a few weeks ago. Now would be a good time to get it fixed as MS is coming out with a service pack. Service Pack for Pocket PC Released
New features:
* Windows Media Player 8.5 for Pocket PC 2002
* Increased stability in Pocket Internet Explorer when viewing secured Web sites
* Improved stability when renegotiating PPP LCP connections.
* Support for entering long strings with out spaces in Pocket Word and Notes
* Improved usability when adding recipients in calendar
* Support for users names with extended characters in Microsoft Server ActiveSync