Testing out the PMD Recommendation “Avoid Integer Instantiation”

Lately I was running PMD against a large code base and while waiting got to re-reading some of the rulesets. It has actually been several years since I reviewed and tested the static analysis rulesets and wondered if they still applied given more modern hardware, newer versions of the JDK 1.6 and 1.7, and better [...]

‘Profile Me Now’ Feature in NetBeans 7 Milestone 2

Based on the New and Noteworthy page for NetBeans 7 Milestone 2, it looks like a new feature called ‘Profile Me Now’ will be added. This seems to be an attempt to improve the self diagnostic capabilities of the IDE itself…

Adding Profiling Points in NetBeans 6

I’ve recently been playing around with the new Profiling Points feature of the NetBeans 6 Profiler. One of the nifty features is the Stopwatch Profiling Point. You can set markers in the code to start a timer on one line and stop it on another. When you profile the CPU performance of the class, the [...]

Profiling NetBeans 6 Beta – Using Itself!

The NetBeans 6 Profiler is a great tool for developers to use to diagnose performance problems in code. In this article, I examine the performance of the NetBeans 6 IDE Beta by profiling it with itself. System Configuration : Laptop with Windows XP,SP2 Single-processor, single core Pentium M 1.6 Ghz, 1 GB RAM Sun Java [...]