IDEAS home Printed from https://ideas.repec.org/a/spr/ijsaem/v8y2017i2d10.1007_s13198-017-0588-6.html
   My bibliography  Save this article

A dynamic size measure for object oriented software

Author

Listed:
  • Anjana Gosain

    (USICT, GGSIP University)

  • Ganga Sharma

    (USICT, GGSIP University)

Abstract

Many static metrics exist in literature for object oriented (OO) software quantifying various static aspects of complexity of its design or source code. However, there is a growing need to employ dynamic measures as they are obtained during the execution of code and thus can reflect actual run-time situations. This has led to various dynamic measures being defined in the past few years focussing on dimensions like coupling, cohesion etc. However, dynamic measures on size have been rarely addressed. In this paper, we propose a dynamic measure for size of OO software at system level which takes into account the number of objects created during the execution. The proposed measure is then theoretically validated using two popular theoretical frameworks. A dynamic analyzer code is developed using AspectJ, an aspect oriented programming extension for Java, which facilitates the collection of metric data. An empirical study consisting of descriptive statistics, Pearson correlation analysis and principal component analysis is carried out on ten sample Java programs to compare the proposed measure with several existing static measures. The study indicates that the proposed measure can serve as a useful alternative to measure size of OO software. Further, the proposed measure is correlated with maintainability of OO software as an external quality attribute. The results indicate that the proposed measure has significant positive relationship with maintainability.

Suggested Citation

  • Anjana Gosain & Ganga Sharma, 2017. "A dynamic size measure for object oriented software," International Journal of System Assurance Engineering and Management, Springer;The Society for Reliability, Engineering Quality and Operations Management (SREQOM),India, and Division of Operation and Maintenance, Lulea University of Technology, Sweden, vol. 8(2), pages 1209-1221, November.
  • Handle: RePEc:spr:ijsaem:v:8:y:2017:i:2:d:10.1007_s13198-017-0588-6
    DOI: 10.1007/s13198-017-0588-6
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s13198-017-0588-6
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s13198-017-0588-6?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:ijsaem:v:8:y:2017:i:2:d:10.1007_s13198-017-0588-6. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.