• DocumentCode
    2569511
  • Title

    Subclass Instantiation Distribution

  • Author

    Wheeler, Amy ; Binkley, Dave

  • Author_Institution
    Loyola Univ. Maryland, Baltimore, MD, USA
  • fYear
    2010
  • fDate
    12-13 Sept. 2010
  • Firstpage
    23
  • Lastpage
    32
  • Abstract
    During execution, an objected-oriented program typically creates a large number of objects. This research considers the distribution of those objects that share a common superclass. If this distribution is uniform then all subclasses are equally likely to be instantiated. However, if not, then the lack of uniformity can be exploited by giving preferential treatment to the dominant class (or classes). For example, a tester might spend greater testing resources on the dominant class while an engineer refactoring the code might begin with a more dominant class. An experiment designed to investigate the distribution of subclass instantiations was performed using eight Java programs containing almost half a million lines of code and just over three thousand classes. The results show that outside a few infrequent instances, most distributions are heavily skewed.
  • Keywords
    Java; object-oriented programming; Java program; dominant class; instantiation distribution; objected oriented program; testing resource; Computational modeling; Data mining; Data models; Gallium nitride; Java; Runtime; Weaving; Class Hierarchy; Dynamic Analysis;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Source Code Analysis and Manipulation (SCAM), 2010 10th IEEE Working Conference on
  • Conference_Location
    Timisoara
  • Print_ISBN
    978-1-4244-8655-7
  • Type

    conf

  • DOI
    10.1109/SCAM.2010.12
  • Filename
    5601832