Next Week’s Assignment
Today is Saturday, at least here in the USA it is. (I think it’s Thursday south of the equator, right?) At any rate, here is your homework for Monday when you return to “work”:
Find the longest human-coded class in a Java application at your company. Also, find the longest human-coded method in a Java application. Post the results here.
This is Thanksgiving week here in the USA, so it’s not like any of you are actually working next week. This should be fun!

For “longest”, let’s just count the number of “\n” characters.
Bonus points to anyone who knows of a simple program that can produce these metrics by quickly scanning an entire directory tree. Counting lines of code in a class is easy with a bit of shell scripting mojo, I’m not so sure about counting lines of code in individual methods.
I suppose you might try to briefly explain the reason these classes and methods are so abnormally huge, without exposing anything proprietary. We wouldn’t want to embarrass anyone, after all.







