GSD doesn't only detect singletons; it detects four different types of global state, including singletons, hingletons, mingletons and fingletons
uhh, what are hingletons, mingletons and fingletons?
uhh, what are hingletons, mingletons and fingletons?
* Hingleton - Derived from “helper singleton,” a class which turns another class into a singleton by enforcing that class's singularity.
* Mingleton - Derived from “method singleton” a class which has any static method that returns some state without taking any parameters.
* Fingleton - Derived from “field singleton,” a class which contains a public static field. Singleton A class for which there should only be one instance in the entire system at any given time. This program detects singletons which enforce their own singularity, which means they keep one static instance of themselves and pass it around through a static getter method.
Hingleton Derived from “helper singleton,” a class which turns another class into a singleton by enforcing that class's singularity.
Mingleton Derived from “method singleton” a class which has any static method that returns some state without taking any parameters.
Fingleton Derived from “field singleton,” a class which contains a public static field.