M-score: An Empirically Derived Software Modularity Metric
“Background: Software practitioners need reliable metrics to monitor software evolution, compare projects, and capture modularity variations. This is crucial for assessing architectural improvement or decay. Popular existing metrics are of little help here, especially in systems with implicitly interconnected but seemingly isolated files. Aim: Our objective is to explore why and how state-of-the-art modularity measures fail to serve as an effective metric and to devise a new metric that more accurately captures complexity changes and is less distorted by sizes or isolated files. Methods: We analyzed metric scores from 1,220 releases across 37 projects to understand the root causes of their shortcomings and the effects of isolated files. These insights lead to the creation of a new software modularity metric: M-score. M-score combines the best aspects of two existing metrics and addresses their problems. It rewards small, independent modules, imposes penalties for increased coupling within and between them, and treats isolated modules and files uniformly. Results: Our evaluation revealed that M-score outperformed other modularity metrics in terms of stability, particularly with respect to isolated files, because it mainly captures coupling density and module independence. It also correlated well with maintenance effort, as indicated by historical maintainability measures, meaning that the higher the M-score, the more likely maintenance tasks can be accomplished independently and in parallel. Conclusions: Our research identifies the shortcomings of current metrics in accurately depicting software complexity and proposes M-score, a new metric with superior stability and better reflection of complexity and maintenance effort, making it a promising metric for software architectural assessments, comparison, and monitoring.”
Thu 24 OctDisplayed time zone: Brussels, Copenhagen, Madrid, Paris change
16:00 - 17:30 | Software measurement and estimationsESEM Technical Papers / ESEM IGC / ESEM Journal-First Papers / ESEM Emerging Results, Vision and Reflection Papers Track at Multimedia (B3 Building - Hall) Chair(s): Beatriz Bernárdez Universidad de Sevilla | ||
16:00 20mFull-paper | Enhancing Change Impact Prediction by Integrating Evolutionary Coupling with Software Change Relationships ESEM Technical Papers Daihong Zhou School of Computer Science and Information Engineering, Shanghai Institute of Technology, Jiyue Zhang School of Computer Science, Fudan University, Ping Yu Fudan University, China, Wunan Guo School of Optical-Electrical and Computer Engineering, University of Shanghai for Science and Technology | ||
16:20 20mFull-paper | M-score: An Empirically Derived Software Modularity Metric ESEM Technical Papers Ernst Pisch Drexel University, Yuanfang Cai Drexel University, Rick Kazman , Jason Lefever Drexel University, Hongzhou Fang Drexel University | ||
16:40 15mVision and Emerging Results | Towards Automated Continuous Security Compliance ESEM Emerging Results, Vision and Reflection Papers Track Florian Angermeir fortiss, Jannik Fischbach Netlight GmbH / fortiss GmbH, Fabiola Moyon Siemens AG, Munich, Germany, Daniel Mendez Blekinge Institute of Technology and fortiss Pre-print | ||
17:00 15mJournal Early-Feedback | Much more than a prediction: Expert-based software effort estimation as a behavioral act ESEM Journal-First Papers Patrícia G. F. Matsubara Federal University of Mato Grosso do Sul (UFMS), Igor Steinmacher Northern Arizona University, Bruno Gadelha UFAM, Tayana Conte Universidade Federal do Amazonas DOI | ||
17:15 15mIndustry talk | On the Accuracy of Effort Estimations based on COSMIC Functional Size Measurement: A Case Study ESEM IGC Ersin Ersoy Paycell, Selami Bagriyanik Singularity Software Technologies; Istanbul Topkapi University, Hasan Sozer Ozyegin University |