Jiao Xie , Jialing Yang , Sirong Zhao , Jianmei Lei , Kaiwei Fan , Guoqi Xie
{"title":"TMI: Two-dimensional maintainability index for automotive software maintainability measurement","authors":"Jiao Xie , Jialing Yang , Sirong Zhao , Jianmei Lei , Kaiwei Fan , Guoqi Xie","doi":"10.1016/j.sysarc.2025.103425","DOIUrl":null,"url":null,"abstract":"<div><div>The mass adoption of autonomous driving and Advanced Driver-Assistance System (ADAS) technologies increases the complexity and maintenance cost of automotive-embedded software during model-based development. Through model-based development tools (e.g., MATLAB/Simulink), the code is automatically generated by architectural transformation; however, unreasonable software architecture design could make the final generated code be difficult to maintain. Currently, both Microsoft Maintainability Index (MMI) and Bosch Maintainability Index (BMI) are used to measure the maintainability of code, but neither software architecture. We establish a four-layer maintainability index model by analyzing the characteristics of automotive software architecture, software quality model, and industry-related standards. We then propose a Two-dimensional Maintainability Index (TMI), meaning the code and architecture dimensions are simultaneously considered. This is the first work of maintainability measurement to combine code and architecture dimensions while ensuring low redundancy. TMI utilizes nine index metrics to guide architecture refactoring and code optimization, significantly improving software maintainability.</div></div>","PeriodicalId":50027,"journal":{"name":"Journal of Systems Architecture","volume":"166 ","pages":"Article 103425"},"PeriodicalIF":3.7000,"publicationDate":"2025-05-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Systems Architecture","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1383762125000979","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0
Abstract
The mass adoption of autonomous driving and Advanced Driver-Assistance System (ADAS) technologies increases the complexity and maintenance cost of automotive-embedded software during model-based development. Through model-based development tools (e.g., MATLAB/Simulink), the code is automatically generated by architectural transformation; however, unreasonable software architecture design could make the final generated code be difficult to maintain. Currently, both Microsoft Maintainability Index (MMI) and Bosch Maintainability Index (BMI) are used to measure the maintainability of code, but neither software architecture. We establish a four-layer maintainability index model by analyzing the characteristics of automotive software architecture, software quality model, and industry-related standards. We then propose a Two-dimensional Maintainability Index (TMI), meaning the code and architecture dimensions are simultaneously considered. This is the first work of maintainability measurement to combine code and architecture dimensions while ensuring low redundancy. TMI utilizes nine index metrics to guide architecture refactoring and code optimization, significantly improving software maintainability.
期刊介绍:
The Journal of Systems Architecture: Embedded Software Design (JSA) is a journal covering all design and architectural aspects related to embedded systems and software. It ranges from the microarchitecture level via the system software level up to the application-specific architecture level. Aspects such as real-time systems, operating systems, FPGA programming, programming languages, communications (limited to analysis and the software stack), mobile systems, parallel and distributed architectures as well as additional subjects in the computer and system architecture area will fall within the scope of this journal. Technology will not be a main focus, but its use and relevance to particular designs will be. Case studies are welcome but must contribute more than just a design for a particular piece of software.
Design automation of such systems including methodologies, techniques and tools for their design as well as novel designs of software components fall within the scope of this journal. Novel applications that use embedded systems are also central in this journal. While hardware is not a part of this journal hardware/software co-design methods that consider interplay between software and hardware components with and emphasis on software are also relevant here.