| 本文已被:浏览 3472次 下载 7760次 |
 码上扫一扫! |
|
|
| 基于多源特征空间的微服务可维护性评估 |
|
晋武侠1,2, 钟定洪1,2, 张宇云1,2, 杨名帆2, 刘烃2
|
|
1.西安交通大学 软件学院, 陕西 西安 710049;2.智能网络与网络安全教育部重点实验室(西安交通大学), 陕西 西安 710049
|
|
| 摘要: |
| 软件企业实践将遗留软件系统解耦成基于微服务架构的系统,以提高软件的可维护性,达到较快市场交付.评估微服务开发阶段的代码可维护性是一个关键问题,其面临数据多源化、可维护性关注点多样化的难点.通过分析源代码、代码运行轨迹、代码修订历史,提出一种多源特征空间模型以统一表示软件多源数据,并基于该模型,从功能性、模块性、可修改性、交互复杂性等关注点度量微服务代码可维护性.据此实现了原型工具MicroEvaluator,并在开源软件上进行了实验验证. |
| 关键词: 微服务 可维护性 特征空间 可修改性 指标 |
| DOI:10.13328/j.cnki.jos.006235 |
| 分类号: |
| 基金项目:国家重点研发计划(2018YFB1004500);国家自然科学基金(61632015,61772408,U1766215,61721002,61833015,62002280,61902306,61602369);国网陕西省电力公司科技项目(5226SX1800FC);教育部创新团队(IRT_17R86)和中国工程科技知识中心项目;中国博士后科学基金(2020M683507,2020M673439,2019TQ0251);西安市科协青年人才托举计划(095920201303);西安交通大学基本科研业务费(xzy012020109) |
|
| Microservice Maintainability Measurement Based on Multi-sourced Feature Space |
|
JIN Wu-Xia1,2, ZHONG Ding-Hong1,2, ZHANG Yu-Yun1,2, YANG Ming-Fan2, LIU Ting2
|
|
1.School of Software Engineering, Xi'an Jiaotong University, Xi'an 710049, China;2.Key Laboratory for Intelligent Networks and Network Security(Xi'an Jiaotong University), Ministry of Education, Xi'an 710049, China
|
| Abstract: |
| Software industrial practices decouple legacy software systems into microservice architectures to improve software maintainability and to achieve faster market delivery. Evaluating microservice code maintainability during the development is a critical issue, facing the difficulties of multi-sourced data and diverse concerns of maintainability. By analyzing source code, code execution trace, and code revision history, a multi-sourced feature space model is proposed to unify the representation of software multi-sourced data. Based on this model, a microservice maintainability measurement system is established with comprehensive metrics, in terms of the concerns of functionality, modularity, modifiability, and interaction complexity. Accordingly, a tool prototype called MicroEvaluator is also implemented, and experimental analysis is carried out on open-source software systems. |
| Key words: microservice maintainability feature space modifiability metric |