Comparing Static and Dynamic Weighted Software Coupling Metrics

被引:5
|
作者
Schnoor, Henning [1 ]
Hasselbring, Wilhelm [1 ]
机构
[1] Univ Kiel, Software Engn Grp, D-24098 Kiel, Germany
关键词
software metrics; monitoring; dynamic; static analysis; FRAMEWORK; QUALITY; SUITE; TAU;
D O I
10.3390/computers9020024
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Coupling metrics that count the number of inter-module connections in a software system are an established way to measure internal software quality with respect to modularity. In addition to static metrics, which are obtained from the source or compiled code of a program, dynamic metrics use runtime data gathered, e.g., by monitoring a system in production. Dynamic metrics have been used to improve the accuracy of static metrics for object-oriented software. We study weighted dynamic coupling that takes into account how often a connection (e.g., a method call) is executed during a system's run. We investigate the correlation between dynamic weighted metrics and their static counterparts. To compare the different metrics, we use data collected from four different experiments, each monitoring production use of a commercial software system over a period of four weeks. We observe an unexpected level of correlation between the static and the weighted dynamic case as well as revealing differences between class- and package-level analyses.
引用
收藏
页数:21
相关论文
共 50 条
  • [21] Perceptual Metrics for Static and Dynamic Triangle Meshes
    Corsini, M.
    Larabi, M. C.
    Lavoue, G.
    Petrik, O.
    Vasa, L.
    Wang, K.
    COMPUTER GRAPHICS FORUM, 2013, 32 (01) : 101 - 125
  • [22] Static and dynamic metrics for effective object clustering
    Cho, ES
    Kim, CJ
    Kim, SD
    Rhew, SY
    1998 ASIA PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 1998, : 78 - 85
  • [23] Comparing static and dynamic transportation models
    Murthy, S
    TRANSPORTATION, LAND USE, AND AIR QUALITY, CONFERENCE PROCEEDINGS: MAKING THE CONNECTION, 1998, : 681 - 690
  • [24] Metrics for Comparing Dynamic Earthquake Rupture Simulations
    Barell, Michael
    Harris, Ruth A.
    SEISMOLOGICAL RESEARCH LETTERS, 2015, 86 (01) : 223 - 235
  • [25] Vovel metrics-novel coupling metrics for improved software fault prediction
    Muhammad, Rizwan
    Nadeem, Aamer
    Sindhu, Muddassar Azam
    PEERJ COMPUTER SCIENCE, 2021, 7 : 1 - 27
  • [26] Weighted software metrics aggregation and its application to defect prediction
    Ulan, Maria
    Lowe, Welf
    Ericsson, Morgan
    Wingkvist, Anna
    EMPIRICAL SOFTWARE ENGINEERING, 2021, 26 (05)
  • [27] Dynamic and static views of software evolution
    Cook, S
    Ji, H
    Harrison, R
    IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS: SYSTEMS AND SOFTWARE EVOLUTION IN THE ERA OF THE INTERNET, 2001, : 592 - 601
  • [28] Weighted software metrics aggregation and its application to defect prediction
    Maria Ulan
    Welf Löwe
    Morgan Ericsson
    Anna Wingkvist
    Empirical Software Engineering, 2021, 26
  • [29] Empirical Evaluation of Coupling Metrics in Software Fault Prediction
    Rizwan, Muhammad
    Nadeem, Aamer
    Sindhu, Mudassar Azam
    PROCEEDINGS OF 2020 17TH INTERNATIONAL BHURBAN CONFERENCE ON APPLIED SCIENCES AND TECHNOLOGY (IBCAST), 2020, : 434 - 440
  • [30] Measuring Software Component Reusability by Coupling and Cohesion Metrics
    Gui, Gui
    Scott, Paul. D.
    JOURNAL OF COMPUTERS, 2009, 4 (09) : 797 - 805