首页> 外文会议>European Conference on Software Maintenance and Reengineering >An Empirical Study of the Impact of Two Antipatterns, Blob and Spaghetti Code, on Program Comprehension
【24h】

An Empirical Study of the Impact of Two Antipatterns, Blob and Spaghetti Code, on Program Comprehension

机译:两种反坦议,BLOB和意大利码代码对计划理解的实证研究

获取原文

摘要

Antipatterns are "poor" solutions to recurring design problems which are conjectured in the literature to make object-oriented systems harder to maintain. However, little quantitative evidence exists to support this conjecture. We performed an empirical study to investigate whether the occurrence of antipatterns does indeed affect the understandability of systems by developers during comprehension and maintenance tasks. We designed and conducted three experiments, with 24 subjects each, to collect data on the performance of developers on basic tasks related to program comprehension and assessed the impact of two antipatterns and of their combinations: Blob and Spaghetti Code. We measured the developers’ performance with: (1) the NASA task load index for their effort, (2) the time that they spent performing their tasks, and, (3) their percentages of correct answers. Collected data show that the occurrence of one antipattern does not significantly decrease developers’ performance while the combination of two antipatterns impedes significantly developers. We conclude that developers can cope with one antipattern but that combinations of antipatterns should be avoided possibly through detection and refactorings.
机译:反模式是反复出现的这些推测在文献中进行面向对象的系统难以维护的设计问题“差”的解决方案。然而,很少定量证据支持这一猜想。我们进行了实证研究,以调查是否反模式的发生过程中理解和维护任务确实影响的系统开发人员的可理解性。我们设计并进行了三个实验,每24名受试者,收集数据上的开发人员对有关程序理解基本任务的性能和评估的的反模式及其组合的影响:Blob和面条代码。我们测量了开发者与表现:(1)他们的努力在美国航空航天局任务负载指数,(2),他们花费在执行他们的任务,时间,(3)它们的正确答案的百分比。收集的数据表明,一个反模式的出现并不显著降低开发商的性能,同时两个反模式阻碍了显著开发商的组合。我们的结论是开发者可以用一个反模式应对,而应可能通过检测和重构来避免反模式的该组合。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号