Eliminating method redundancy for the improvement of inner class design

  • Authors:
  • Sim Hui Tee

  • Affiliations:
  • Multimedia University, Malaysia

  • Venue:
  • ACM SIGSOFT Software Engineering Notes
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Inner class is a helper class that assists its outer class to perform a specific task. It is declared within the body of outer class. An outer class can contain multiple inner classes in term of breadth and depth. The design principle of inner classes is to have them defined cohesively related to the functionality of outer class. However, method redundancy always renders overheads in inner class design. Eliminating method redundancy is significant because it can reduce the class complexity and enhance the class cohesiveness. This research examines the method redundancy in the inner classes. The author proposes a methodology to rate the complexity of redundant methods in order to reduce class complexity and enhance the inner class design.