Chronicle of a ConcurrentModificationException Foretold
In a somewhat feverish mid-conference dream last night, I invented a new Java complexity metric. It is quite simple: the number of calls to methods which either return void or take no arguments or both, including calls to no-argument constructors.
As a quick example, you can see that any usages of the bean "pattern" will cause this count to shoot upwards rather quickly.
The metric is called the code's "omen".
Posted at 11:33AM Jun 04, 2009 by jglick in Sun | Comments[0]