期刊文献+

基于软件需求规范的项目级复用研究

Research on Project-level Reuse Based on Software Requirement Specification
下载PDF
导出
摘要 目前的软件复用技术主要围绕软件代码的复用进行研究。而随着开源项目的增多,基于待开发项目的需求文档分析,实现项目级的复用就显得非常有价值。当开发人员获取项目的软件需求后,通常需要对其分析并构建解决方案,然后进行设计与实施。如果能根据项目的软件需求找到相似的历史项目进行复用,可以大大节省项目设计与实施时间。因此,在现有的项目级复用研究基础上,该文提出一种基于需求分析的项目级复用技术PR-REQ。该方法首先分析历史开源项目,给出了开源项目的领域信息提取算法,代码的功能操作序列提取算法以及数据模型信息的提取算法;然后给出了针对待开发项目需求文档的领域信息提取算法,用例的功能操作序列提取算法以及数据模型信息的提取算法;最后构建需求文档与历史项目的相似性度量方法,从而找到最相似的项目进行项目级复用。为了验证该方法的有效性和准确性,从Github上下载了8个类别的开源项目进行实验,实验结果表明该方法对项目级复用具有较好的实用价值。 Most software reuse technologies are focus on coding level reuse. With the increasing number of open source projects, it is quite valuable to realize project-level reuse based on the requirement document analysis of the projects to be developed. When a developer acquires a project’s software requirements, it is often necessary to analyze them, build a solution, and then design and implement it. If a similar historical project can be found for reuse according to the software requirements of the project, the design and implementation time of the project can be greatly saved. Therefore, we present a project-level reuse technology PR-REQ based on requirement analysis. This method firstly analyzes the history of open source projects, and gives the extraction algorithms of the domain information, the functional operation sequence of the code and of data model for the projects. Then, the algorithm of extracting domain information of requirement document, functional operation sequence of use case and data model information are given. Finally, the similarity measure method of requirement document and history project is constructed to find the most similar projects for project-level reuse. In order to verify the validity and accuracy of this method, eight categories of open source projects were downloaded from Github. The experimental results show that this method has good practical value for project-level reuse.
作者 巴元秀 赵逢禹 刘亚 BA Yuan-xiu;ZHAO Feng-yu;LIU Ya(School of Optical-electrical&Computer Engineering,University of Shanghai for Science and Technology,Shanghai 200093,China)
出处 《计算机技术与发展》 2022年第2期94-100,共7页 Computer Technology and Development
基金 国家密码管理局“十三五”密码发展基金理论课题(MMJJ20180202)。
关键词 项目级复用 需求分析 开源项目 领域相似分析 功能相似性分析 数据模型相似性分析 project-level reuse requirement analysis open source projects domain similarity analysis functional similarity analysis data model similarity analysis
  • 相关文献

参考文献2

二级参考文献10

共引文献37

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部