首页> 外文会议>International conference on enterprise information systems >An Approach for Semantically-Enriched Recommendation of Refactorings Based on the Incidence of Code Smells
【24h】

An Approach for Semantically-Enriched Recommendation of Refactorings Based on the Incidence of Code Smells

机译:基于代码气味发生率的语义丰富的重构建议方法

获取原文

摘要

Code smells are symptoms of bad decisions on the design and development of software. The occurrence of code smells in software can lead to costly consequences. Refactorings are considered adequate resources when it comes to reducing or removing the undesirable effects of smells in software. Ontologies and semantics can play a substantial role in reducing the interpretation burden of software engineers as they have to decide about adequate refactorings to mitigate the impact of smells. However, related work has given little attention to associating the recommendation of refactorings with the use of ontologies and semantics. Developers can benefit from the combination of code smells detection with a semantically-oriented approach for recommendation of refactorings. To make this possible, we expand the application of our previous ontology, ONTOlogy for Code smE11 ANalysis (ONTOCEAN), to combine it with a new one, Ontology for Software REfactoring (OSORE). We also introduce a new tool, our REfactoring REcommender SYStem (RESYS) which is capable of binding our two ontologies. As a result, refactorings are automatically chosen and semantically linked to their respective code smells. We also conducted a preliminary evaluation of our approach in a real usage scenario with four open-source software projects.
机译:代码气味是软件设计和开发的不良决策的症状。软件中的代码气味的发生可能导致成本高昂的后果。重构在减少或去除软件中的嗅觉中的不良影响时被认为是足够的资源。本体和语义可以在减少软件工程师的解释负担时发挥重大作用,因为他们必须决定适当的重构来减轻气味的影响。但是,相关的工作很少关注重构推荐与使用本体和语义的建议。开发人员可以通过代码闻闻的组合,以语义为导向的方法,用于重构推荐。为了使这一点成为可能,我们扩展了我们之前的本体论,用于代码SME11分析(OnTocean)的本体论,将其与新的Ontology进行了组合,用于软件重构(Osore)。我们还介绍了一个新工具,我们的重构推荐系统(Resys)能够绑定我们的两个本体。因此,重构自动选择并与其各自的代码气味进行语义相关联。我们还对我们在具有四个开源软件项目的真正使用情况下的方法进行了初步评估。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号