Google Singleton Detector iconGoogle Singleton Detector 0.7.2

Google Singleton Detector (GSD) is a tool which analyzes Java bytecode and detects the use of Singletons.
Google Singleton Detector (GSD) is a tool which analyzes Java bytecode and detects the use of Singletons.

It's not quite as simple as that, however. First, GSD doesn't only detect singletons; it detects four different types of global state, including singletons, hingletons, mingletons and fingletons (see the usage section for descriptions).

Second, it outputs a graph with all these different types of static state highlighted, and shows all the classes that are directly dependent on them. The point of this tool is to allow you to see all of the uses of global state inside a project, as well as how they are all interrelated. Hopefully you'll be able to locate global state that is heavily depended on and remove it.

But wait, why would I want to remove my global state and/or singletons? In a nutshell, because they can make testing difficult and hide problems with your design. Again, it's more complicated than that, so check out the FAQ for more info.

Great, ready to get rid of some singletons? Head over to the downloads section to get the latest release, or checkout code from the SVN repository and build it yourself.

last updated on:
July 27th, 2007, 20:38 GMT
price:
FREE!
developed by:
David Rubel
license type:
The Apache License 2.0 
category:
ROOT \ Programming \ Quality Assurance and Testing

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Add your review!

SUBMIT