Comparing static and dynamic weighted software coupling metrics
Comparing static and dynamic weighted software coupling metrics
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.
Dynamic/static analysis, Monitoring, Software metrics
Schnoor, Henning
ce6f449e-dd65-4e8b-884e-687589a9f17b
Hasselbring, Wilhelm
ee89c5c9-a900-40b1-82c1-552268cd01bd
30 March 2020
Schnoor, Henning
ce6f449e-dd65-4e8b-884e-687589a9f17b
Hasselbring, Wilhelm
ee89c5c9-a900-40b1-82c1-552268cd01bd
Schnoor, Henning and Hasselbring, Wilhelm
(2020)
Comparing static and dynamic weighted software coupling metrics.
Computers, 9 (2), [24].
(doi:10.3390/computers9020024).
Abstract
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.
Text
computers-09-00024-v2
- Version of Record
More information
Accepted/In Press date: 28 March 2020
Published date: 30 March 2020
Keywords:
Dynamic/static analysis, Monitoring, Software metrics
Identifiers
Local EPrints ID: 488716
URI: http://eprints.soton.ac.uk/id/eprint/488716
ISSN: 2073-431X
PURE UUID: bba3b298-9cfd-472a-a242-9fe2fd1a139e
Catalogue record
Date deposited: 04 Apr 2024 16:52
Last modified: 10 Apr 2024 02:15
Export record
Altmetrics
Contributors
Author:
Henning Schnoor
Author:
Wilhelm Hasselbring
Download statistics
Downloads from ePrints over the past year. Other digital versions may also be available to download e.g. from the publisher's website.
View more statistics