首页> 外文会议>2011 27th 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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号