The University of Southampton
University of Southampton Institutional Repository

Comparing static and dynamic weighted software coupling metrics

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
2073-431X
Schnoor, Henning
ce6f449e-dd65-4e8b-884e-687589a9f17b
Hasselbring, Wilhelm
ee89c5c9-a900-40b1-82c1-552268cd01bd
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).

Record type: Article

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
Available under License Creative Commons Attribution.
Download (384kB)

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
ORCID for Wilhelm Hasselbring: ORCID iD orcid.org/0000-0001-6625-4335

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 ORCID iD

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

Atom RSS 1.0 RSS 2.0

Contact ePrints Soton: eprints@soton.ac.uk

ePrints Soton supports OAI 2.0 with a base URL of http://eprints.soton.ac.uk/cgi/oai2

This repository has been built using EPrints software, developed at the University of Southampton, but available to everyone to use.

We use cookies to ensure that we give you the best experience on our website. If you continue without changing your settings, we will assume that you are happy to receive cookies on the University of Southampton website.

×