A dynamic size measure for object oriented software
Anjana Gosain () and
Ganga Sharma ()
Additional contact information
Anjana Gosain: USICT, GGSIP University
Ganga Sharma: USICT, GGSIP University
International Journal of System Assurance Engineering and Management, 2017, vol. 8, issue 2, No 53, 1209-1221
Abstract:
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.
Keywords: Object oriented software; Static metrics; Dynamic metrics; Theoretical validation; Empirical validation; AOP (search for similar items in EconPapers)
Date: 2017
References: View complete reference list from CitEc
Citations:
Downloads: (external link)
http://link.springer.com/10.1007/s13198-017-0588-6 Abstract (text/html)
Access to the full text of the articles in this series is restricted.
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:spr:ijsaem:v:8:y:2017:i:2:d:10.1007_s13198-017-0588-6
Ordering information: This journal article can be ordered from
http://www.springer.com/engineering/journal/13198
DOI: 10.1007/s13198-017-0588-6
Access Statistics for this article
International Journal of System Assurance Engineering and Management is currently edited by P.K. Kapur, A.K. Verma and U. Kumar
More articles in International Journal of System Assurance Engineering and Management from Springer, The Society for Reliability, Engineering Quality and Operations Management (SREQOM),India, and Division of Operation and Maintenance, Lulea University of Technology, Sweden
Bibliographic data for series maintained by Sonal Shukla () and Springer Nature Abstracting and Indexing ().