A dynamic size measure for object oriented software

被引:2
|
作者
Gosain A. [1 ]
Sharma G. [1 ]
机构
[1] USICT, GGSIP University, Sec-16C, Dwarka, New Delhi
关键词
AOP; Dynamic metrics; Empirical validation; Object oriented software; Static metrics; Theoretical validation;
D O I
10.1007/s13198-017-0588-6
中图分类号
学科分类号
摘要
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. © 2017, The Society for Reliability Engineering, Quality and Operations Management (SREQOM), India and The Division of Operation and Maintenance, Lulea University of Technology, Sweden.
引用
收藏
页码:1209 / 1221
页数:12
相关论文
共 50 条
  • [21] Dynamic coupling measurement of object oriented software using trace events
    Kavitha, A.
    Shanmugan, A.
    2008 6TH INTERNATIONAL SYMPOSIUM ON APPLIED MACHINE INTELLIGENCE AND INFORMATICS, 2008, : 237 - +
  • [22] Incremental construction of dynamic models for object-oriented software systems
    Systa, Tarja
    JOOP - Journal of Object-Oriented Programming, 2000, 13 (05): : 18 - 27
  • [23] Dynamic model design recovery and architecture abstraction of object oriented software
    Li, QS
    Ninth European Conference on Software Maintenance and Reengineering, Proceedings, 2005, : 284 - 287
  • [24] Testing for Dynamic Software Update: An Object-State-Oriented Approach
    Huang, Di
    Zhao, Zelin
    Ma, Xiaoxing
    THE 12TH ASIA-PACIFIC SYMPOSIUM ON INTERNETWARE, INTERNETWARE 2020, 2021, : 41 - 50
  • [25] Incremental construction of dynamic models for object-oriented software systems
    Systä, T
    JOOP-JOURNAL OF OBJECT-ORIENTED PROGRAMMING, 2000, 13 (05): : 18 - 27
  • [26] Testing object oriented software
    Pezzè, M
    Young, M
    ICSE 2004: 26TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2004, : 739 - 740
  • [27] Object oriented software construction
    Feng, Yulin
    Huang, Tao
    Li, Jing
    Ruan Jian Xue Bao/Journal of Software, 1996, 7 (03): : 129 - 136
  • [28] ENTROPY AS A COMPLEXITY MEASURE, AND THE OPTIMAL MODULE SIZE OF OBJECT-ORIENTED PROGRAMS
    MAUS, A
    IFIP TRANSACTIONS A-COMPUTER SCIENCE AND TECHNOLOGY, 1992, 12 : 17 - 23
  • [29] DEVELOPMENTAL SIZE ESTIMATION FOR OBJECT-ORIENTED SOFTWARE BASED ON ANALYSIS MODEL
    Arumugam, Chamundeswari
    Babu, Chitra
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2013, 23 (03) : 289 - 308
  • [30] A code generator with application-oriented size optimization for object-oriented embedded control software
    Narisawa, F
    Naya, H
    Yokoyama, T
    OBJECT-ORIENTED TECHNOLOGY: ECOOP'98 WORKSHOP READER, 1998, 1543 : 507 - 510