首页 | 本学科首页   官方微博 | 高级检索  
     

基于分层架构模式识别的软件架构重构技术
引用本文:王丽,杜鹏程,许一鸣,李必信. 基于分层架构模式识别的软件架构重构技术[J]. 电子学报, 2021, 49(1): 201-208. DOI: 10.12263/DZXB.20191198
作者姓名:王丽  杜鹏程  许一鸣  李必信
作者单位:东南大学计算机科学与工程学院,江苏南京210096;江苏自动化研究所,江苏连云港222061;东南大学计算机科学与工程学院,江苏南京210096;江苏自动化研究所,江苏连云港222061
基金项目:国家自然科学基金;国家自然科学基金;装备预研项目
摘    要:
本文提出一种基于分层架构模式识别的软件架构重构技术.该技术以目标软件的源代码作为输入,过滤与分层架构无关的代码,再利用代码词汇信息挖掘程序实体之间的语义关联,通过代码主题提取并计算程序实体之间的职责相似度,依据相似度将程序实体聚类形成组件.在软件组件化的基础上结合分层模式的ILD属性识别软件层次和软件架构模式.在模式识...

关 键 词:架构重构  分层架构模式  架构模式识别  重构点定位
收稿时间:2019-10-22

Software Architecture Reconstruction Technology Based on Layered Architecture Pattern Recognition
WANG Li,DU Peng-cheng,XU Yi-ming,LI Bi-xin. Software Architecture Reconstruction Technology Based on Layered Architecture Pattern Recognition[J]. Acta Electronica Sinica, 2021, 49(1): 201-208. DOI: 10.12263/DZXB.20191198
Authors:WANG Li  DU Peng-cheng  XU Yi-ming  LI Bi-xin
Affiliation:1. School of Computer Science and Engineering, Southeast University, Nanjing, Jiangsu 210096, China;2. Jiangsu Automation Research Institute, Lianyungang, Jiangsu 222061, China
Abstract:
This paper proposes software architecture reconstruction technology based on layered architecture pattern recognition.The input of the recognition is the source code and the unnecessary source code will be filtered out at first.Then the approach relies on lexical information from the source code to mine the semantic relation between system entities and using a topic model to extract the responsibility of entities,which is then used to cluster these entities into cohesion components.Later,the approach supplements the structural information between components to generate the component graph and use the ILD property to recognize the actual software layers.Based on the results of pattern recognition and the principle of layered pattern,position the nonstandard existing in the system as the reconstruction point,and relevant reconstruction suggestions to assist the designers and developers in the reconstruction implementation.Finally,this paper selects 10 open source software systems in Github and SourceForge as experimental objects to verify the effectiveness of the technology in this paper.This technology can greatly improve the effectiveness of pattern recognition,the recognition effect of illegal refactoring points and the implementation effect of refactoring suggestions.This technology can also assist developers in the implementation of architecture reconstruction to a certain extent,improve the situation of the system violations,and improve the quality of the software.
Keywords:architecture refactoring  layered pattern  recognition of architectural patterns  refactoring point positioning  
本文献已被 万方数据 等数据库收录!
点击此处可从《电子学报》浏览原始摘要信息
点击此处可从《电子学报》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号