In order to implement singletons in Java, some classes are defined as enums. Metrics should be able to calculate complexity of such enums which does all the processing and logic.
Log in to post a comment.