• DocumentCode
    3491008
  • Title

    A metric for evaluating class library interfaces and its application to library upgrades

  • Author

    Nakanishi, Kouki ; Arano, Takashi ; Imase, Makoto

  • Author_Institution
    NTT Software Labs., Tokyo, Japan
  • fYear
    1995
  • fDate
    17-20 Oct 1995
  • Firstpage
    12
  • Lastpage
    19
  • Abstract
    The proposed metric for evaluating class library interfaces measures the balance between generalization and specialization. The key idea of the proposed metric is the fact that polymorphic operations satisfy Zipf´s law, which is known as an approximating equation for the frequency of words in natural language. The metric shows the global property of an entire class library, independent of size (making it possible to compare class libraries of different sizes and different versions), and to avoid the problems associated with using the depth of the inheritance graph as the metric. The results of application of this metric to two upgrades of the InterViews C++ class library agree with the results of manual analysis on three points: the metric value for the groups whose interfaces are generalized are larger than the metric value of other groups which are not as generalized, the metric value increases when a class interface is generalized by creating abstract classes, and the metric value decreases when new specialized-functional extension classes are added to the class library
  • Keywords
    abstract data types; data structures; libraries; object-oriented languages; object-oriented programming; software libraries; software maintenance; software metrics; InterViews C++ class library; Zipf´s law; abstract classes; approximating equation; class library interface evaluation metric; generalization; library upgrades; metric value; natural language; polymorphic operations; specialization; specialized-functional extension classes; word frequency; Application software; Equations; Error correction; Frequency; Laboratories; Natural languages; Programming profession; Software libraries; Telegraphy; Telephony;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Maintenance, 1995. Proceedings., International Conference on
  • Conference_Location
    Opio
  • ISSN
    1063-6773
  • Print_ISBN
    0-8186-7677-9
  • Type

    conf

  • DOI
    10.1109/ICSM.1995.526523
  • Filename
    526523