Dynamic measurement of polymorphism

  • Authors:
  • Kelvin H. T. Choi;Ewan Tempero

  • Affiliations:
  • University of Auckland, Auckland, New Zealand;University of Auckland, Auckland, New Zealand

  • Venue:
  • ACSC '07 Proceedings of the thirtieth Australasian conference on Computer science - Volume 62
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

Measuring "reuse" and "reusability" is difficult because there are so many different facets to these concepts. Before we can effectively measure reuse and reusability, we must first be able to effectively measure these different facets. One such facet is the programming language constructs that are available. For example whether or not a language supports polymorphism is believed to affect how reusable a developer can make a code artifact. Effectively measuring polymorphism is a challenge because its behaviour is only observable at run-time. In this paper, we present a metric for polymorphism based on the dynamic behaviour of the code. We evaluate the usefulness of the metric through two case studies.