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 条
  • [1] Dynamic Software Metrics for Object Oriented Software: A Review
    Gosain, Anjana
    Sharma, Ganga
    INFORMATION SYSTEMS DESIGN AND INTELLIGENT APPLICATIONS, VOL 2, 2015, 340 : 579 - 589
  • [2] Measuring the size of Object-Oriented software applications
    Liou, JC
    PROCEEDINGS OF THE 17TH INTERNATIONAL SYMPOSIUM ON COMPUTER AND INFORMATION SCIENCES, 2003, : 339 - 343
  • [3] The optimal class size for object-oriented software
    El Emam, K
    Benlarbi, S
    Goel, N
    Melo, W
    Lounis, H
    Rai, SN
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2002, 28 (05) : 494 - 509
  • [4] SOFTWARE SIZE ESTIMATION OF OBJECT-ORIENTED SYSTEMS
    LARANJEIRA, LA
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1990, 16 (05) : 510 - 522
  • [5] Utilization of Method Graphs to Measure Cohesion in Object Oriented Software
    Aral, Atakan
    Ovatman, Tolga
    2013 IEEE 37TH ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE WORKSHOPS (COMPSACW), 2013, : 505 - 510
  • [6] Dynamic coupling measures for object-oriented software
    Arisholm, E
    EIGHTH IEEE SYMPOSIUM ON SOFTWARE METRICS, PROCEEDINGS, 2002, : 33 - 42
  • [7] Dynamic cohesion measures for object-oriented software
    Gupta, Varun
    Chhabra, Jitender Kumar
    JOURNAL OF SYSTEMS ARCHITECTURE, 2011, 57 (04) : 452 - 462
  • [8] Dynamic coupling measurement for object-oriented software
    Arisholm, E
    Briand, LC
    Foyen, A
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2004, 30 (08) : 491 - 506
  • [9] Stepping Towards Dynamic Measurement for Object Oriented Software
    Jain, Ashu
    Chug, Anuradha
    2016 1ST INDIA INTERNATIONAL CONFERENCE ON INFORMATION PROCESSING (IICIP), 2016,
  • [10] Dynamic coupling measurement for object-oriented software
    Department of Software Engineering, Simula Research Laboratory, Lysaker, Norway
    不详
    1600, 491-506 (August 2004):