首页> 外文期刊>Empirical Software Engineering >An empirical study on the interplay between semantic coupling and co-change of software classes
【24h】

An empirical study on the interplay between semantic coupling and co-change of software classes

机译:语义耦合与软件类共变之间相互作用的实证研究

获取原文
获取原文并翻译 | 示例
           

摘要

Software systems continuously evolve to accommodate new features and interoperability relationships between artifacts point to increasingly relevant software change impacts. During maintenance, developers must ensure that related entities are updated to be consistent with these changes. Studies in the static change impact analysis domain have identified that a combination of source code and lexical information outperforms using each one when adopted independently. However, the extraction of lexical information and the measure of how loosely or closely related two software artifacts are, considering the semantic information embedded in their comments and identifiers has been carried out using somewhat complex information retrieval (IR) techniques. The interplay between software semantic and change relationship strengths has also not been extensively studied. This work aims to fill both gaps by comparing the effectiveness of measuring semantic coupling of OO software classes using (i) simple identifier based techniques and (ii) the word corpora of the entire classes in a software system. Afterwards, we empirically investigate the interplay between semantic and change coupling. The empirical results show that: (1) identifier based methods have more computational efficiency but cannot always be used interchangeably with corpora-based methods of computing semantic coupling of classes and (2) there is no correlation between semantic and change coupling. Furthermore we found that (3) there is a directional relationship between the two, as over 70% of the semantic dependencies are also linked by change coupling but not vice versa.
机译:软件系统不断发展以适应新功能,工件之间的互操作性关系指出了越来越重要的软件更改影响。在维护期间,开发人员必须确保相关实体已更新,以与这些更改保持一致。在静态变化影响分析领域的研究已经确定,如果独立采用源代码和词汇信息的组合,则在使用每种组合时,其性能要好于后者。但是,考虑到嵌入其注释和标识符中的语义信息,已经使用某种程度复杂的信息检索(IR)技术来进行词汇信息的提取以及两个软件工件之间的松动或紧密相关性的度量。软件语义和变更关系强度之间的相互作用也没有得到广泛研究。这项工作旨在通过比较使用(i)基于简单标识符的技术和(ii)软件系统中整个类的词库来衡量OO软件类的语义耦合的有效性来填补这两个空白。之后,我们根据经验研究语义和变更耦合之间的相互作用。实验结果表明:(1)基于标识符的方法具有更高的计算效率,但不能始终与基于语料库的类语义耦合计算方法互换使用;(2)语义和变更耦合之间没有关联。此外,我们发现(3)两者之间存在方向关系,因为超过70%的语义依赖性也通过更改耦合来链接,反之亦然。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号