首页> 外文会议>IEEE International Conference on Software Maintenance >Source code comprehension strategies and metrics to predict comprehension effort in software maintenance and evolution tasks - an empirical study with industry practitioners
【24h】

Source code comprehension strategies and metrics to predict comprehension effort in software maintenance and evolution tasks - an empirical study with industry practitioners

机译:源代码理解策略和指标,以预测软件维护和进化任务的理解工作 - 与行业从业者的实证研究

获取原文

摘要

The goal of this research was to assess the consistency of source code comprehension strategies and comprehension effort estimation metrics, such as LOC, across different types of modification tasks in software maintenance and evolution. We conducted an empirical study with software development practitioners using source code from a small paint application written in Java, along with four semantics-preserving modification tasks (refactoring, defect correction) and four semantics-modifying modification tasks (enhancive and modification). Each task has a change specification and corresponding source code patch. The subjects were asked to comprehend the original source code and then judge whether each patch meets the corresponding change specification in the modification task. The subjects recorded the time to comprehend and described the comprehension strategies used and their reason for the patch judgments. The 24 subjects used similar comprehension strategies. The results show that the comprehension strategies and effort estimation metrics are not consistent across different types of modification tasks. The recorded descriptions indicate the subjects scanned through the original source code and the patches when trying to comprehend patches in the semantics-modifying tasks while the subjects only read the source code of the patches in semantics-preserving tasks. An important metric for estimating comprehension efforts of the semantics-modifying tasks is the Code Clone Subtracted from LOC(CCSLOC), while that of semantics-preserving tasks is the number of referred variables.
机译:本研究的目标是评估源代码理解战略和理解工作估算指标的一致性,例如LOC,在软件维护和演化中的不同类型修改任务中。我们使用从Java编写的小型油漆应用程序的源代码进行了一个实证研究,以及四个语义保留修改任务(重构,缺陷校正)和四个语义修改修改任务(增强和修改)。每个任务都有一个更改规范和相应的源代码补丁。要求受试者理解原始源代码,然后判断每个补丁是否符合修改任务中的相应变更规范。受试者记录了理解和描述了所使用的理解策略的时间及其纠纷判断的原因。 24项受试者使用了类似的理解策略。结果表明,在不同类型的修改任务中,理解策略和努力估算指标并不一致。记录的描述表明,在尝试在语义修改任务中扫描修补程序时,扫描通过原始源代码和修补程序的主题,而拍摄对象仅读取保留任务中的修补程序的源代码。用于估算语义修改任务的理解工作的重要指标是从LOC(CCSLOC)中减去的代码克隆,而语义保留任务的代码克隆是参考变量的数量。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号