...
首页> 外文期刊>Journal of Software Engineering Research and Development >On the relationship of code-anomaly agglomerations and architectural problems
【24h】

On the relationship of code-anomaly agglomerations and architectural problems

机译:关于代码异常集聚与体系结构问题的关系

获取原文
           

摘要

Abstract Several projects have been discontinued in the history of the software industry due to the presence of software architecture problems. The identification of such problems in source code is often required in real project settings, but it is a time-consuming and challenging task. Some authors assume that architectural problems are reflected in source code through individual code anomalies. However, each architectural problem may be realized by multiple code anomalies, which are intertwined in several program elements. The relationships of these various code anomalies and their architecture problems’ counterparts are hard to reveal and characterize. To overcome this limitation, we are studying the architecture impact of a wide range of code-anomaly agglomerations. An agglomeration is a group of code anomalies that are explicitly related to each other in the implementation – e.g. two or more anomalies affecting the same class or method in the program. In our empirical study, we analyzed a total of 5418 code anomalies and 2229 agglomerations within 7 systems. In particular, our analysis focused in understanding (i) how agglomerations and architectural problems relate to each other, and (ii) how agglomerations can support the diagnosis of well-known architectural problems. We observed that most of the anomalous code elements related to architectural problems are members of one or more agglomerations. In addition, this study revealed that, for each agglomeration related to an architectural problem, an average of 2 to 4 anomalous code elements contribute to the architectural problem. Finally, the result of our study suggests that certain types of agglomerations are better indicators of architectural problems than others.
机译:摘要由于软件​​体系结构问题的存在,在软件行业的历史上已经终止了几个项目。在实际的项目设置中通常需要在源代码中识别此类问题,但这是一项耗时且具有挑战性的任务。一些作者认为体系结构问题是通过单个代码异常反映在源代码中的。但是,每个体系结构问题都可以通过多个代码异常来实现,这些异常与多个程序元素交织在一起。这些各种代码异常的关系及其架构问题的对应关系很难揭示和表征。为了克服此限制,我们正在研究各种代码异常聚集对体系结构的影响。聚集是在实施中彼此明确相关的一组代码异常,例如两个或更多异常影响程序中的同一类或方法。在我们的实证研究中,我们分析了7个系统中总共5418个代码异常和2229个聚集。尤其是,我们的分析着重于了解(i)集聚与建筑问题之间的相互关系,以及(ii)集聚如何支持对著名建筑问题的诊断。我们观察到,与体系结构问题有关的大多数异常代码元素都是一个或多个聚集的成员。此外,这项研究表明,与架构问题相关的每个集聚,平均有2到4个异常代码元素会导致架构问题。最后,我们的研究结果表明,某些类型的集聚比其他类型更能说明建筑问题。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号