Page 98 - 《软件学报》2021年第5期
P. 98

软件学报 ISSN 1000-9825, CODEN RUXUEW                                       E-mail: jos@iscas.ac.cn
                 Journal of Software,2021,32(5):1322−1340 [doi: 10.13328/j.cnki.jos.006235]   http://www.jos.org.cn
                 ©中国科学院软件研究所版权所有.                                                         Tel: +86-10-62562563


                                                                    ∗
                 基于多源特征空间的微服务可维护性评估

                                        1,2
                      1,2
                                                2
                               1,2
                 晋武侠 ,   钟定洪 ,   张宇云 ,   杨名帆 ,   刘   烃  2
                 1
                 (西安交通大学  软件学院,陕西  西安  710049)
                 2
                 (智能网络与网络安全教育部重点实验室(西安交通大学),陕西  西安  710049)
                 通讯作者:  晋武侠, E-mail: jinwuxia@mail.xjtu.edu.cn

                 摘   要:  软件企业实践将遗留软件系统解耦成基于微服务架构的系统,以提高软件的可维护性,达到较快市场交
                 付.评估微服务开发阶段的代码可维护性是一个关键问题,其面临数据多源化、可维护性关注点多样化的难点.通过
                 分析源代码、代码运行轨迹、代码修订历史,提出一种多源特征空间模型以统一表示软件多源数据,并基于该模型,
                 从功能性、模块性、可修改性、交互复杂性等关注点度量微服务代码可维护性.据此实现了原型工具 MicroEvaluator,
                 并在开源软件上进行了实验验证.
                 关键词:  微服务;可维护性;特征空间;可修改性;指标
                 中图法分类号: TP311


                 中文引用格式:  晋武侠,钟定洪,张宇云,杨名帆,刘烃.基于多源特征空间的微服务可维护性评估.软件学报,2021,32(5):
                 1322−1340. http://www.jos.org.cn/1000-9825/6235.htm
                 英文引用格式: Jin WX, Zhong DH, Zhang YY, Yang MF, Liu T. Microservice maintainability measurement based on multi-
                 sourced feature space. Ruan Jian Xue Bao/Journal of Software, 2021,32(5):1322−1340 (in Chinese). http://www.jos.org.cn/1000-
                 9825/6235.htm
                 Microservice Maintainability Measurement Based on Multi-sourced Feature Space

                                             1,2
                          1,2
                                                             1,2
                                                                              2
                 JIN Wu-Xia ,   ZHONG Ding-Hong ,   ZHANG Yu-Yun ,  YANG Ming-Fan ,  LIU Ting 2
                 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

                   ∗  基金项目:  国家重点研发计划(2018YFB1004500);  国家自然科学基金(61632015, 61772408,  U1766215, 61721002, 61833015,
                 62002280, 61902306, 61602369);  国网陕西省电力公司科技项目(5226SX1800FC);  教育部创新团队(IRT_17R86)和中国工程科技知
                 识中心项目;  中国博士后科学基金(2020M683507, 2020M673439, 2019TQ0251);  西安市科协青年人才托举计划(095920201303);  西
                 安交通大学基本科研业务费(xzy012020109)
                      Foundation item: National Key Research and Development  Program of China  (2018YFB1004500); National Natural  Science
                 Foundation of China (61632015, 61772408, U1766215, 61721002, 61833015, 62002280, 61902306, 61602369); Science and Technology
                 Project of State Grid Shaanxi Electric Power Company (5226SX1800FC); Project of Ministry of Education Innovation Team (IRT_17R86)
                 and China  Knowledge Center  for  Engineering Sciences  and  Technology;  China Postdoctoral Science Foundation (2020M683507,
                 2020M673439, 2019TQ0251);  Youth Talent  Support  Program of Xi’an Association  for  Science and Technology (095920201303);
                 Fundamental Research Fund of Xi’an Jiaotong University (xzy012020109)
                      本文由“面向持续软件工程的微服务架构技术”专题特约编辑张贺教授、王忠杰教授、陈连平研究员和彭鑫教授推荐.
                      收稿时间: 2020-09-16;  修改时间: 2020-10-26;  采用时间: 2020-12-15; jos 在线出版时间: 2021-02-07
   93   94   95   96   97   98   99   100   101   102   103