首页> 外文会议>International Conference on Informatics, Electronics Vision >An efficient approach for providing rationale of method change for object oriented programming
【24h】

An efficient approach for providing rationale of method change for object oriented programming

机译:一种为面向对象编程提供方法变更依据的有效方法

获取原文

摘要

Software engineering requires modification of code during development and maintenance phase. During modification, a difficult task is to understand rationale of code changed by others. Present Integrated Development Environments (IDEs) attempt to help this by providing features integrated with different types of repositories. However, these features still consume developers' time as he has to switch from editor to another window for this purpose. Moreover, these features focus on elements available in present version of code, thus increasing the difficulty of finding rationale of an element removed or modified earlier. Leveraging different sources for providing information through code completion menus has been shown to be valuable, even when compared to standalone counterparts offering similar functionalities in literature. Literature also shows that it is one of the most used features for consuming information within IDE. Based on that, we prepare an Eclipse plug-in and a framework that allows providing reason of code change, at method granularity, across versions through a new code completion menu in IDE. These allow a software engineer to gain insight about rationale of removed or modified methods which are otherwise not available in present version of code. Professional software engineers participated in our empirical evaluation process and we observed that more than 80% participants considered this to be a useful approach for saving time and effort to understand rationale of method change.
机译:软件工程需要在开发和维护阶段修改代码。在修改期间,一项艰巨的任务是了解他人更改的代码的原理。当前的集成开发环境(IDE)试图通过提供与不同类型的存储库集成的功能来帮助实现这一目标。但是,这些功能仍在消耗开发人员的时间,因为他必须为此从编辑器切换到另一个窗口。此外,这些功能集中在当前版本的代码中可用的元素上,因此增加了查找较早删除或修改的元素的原理的难度。即使与文献中提供类似功能的独立版本相比,利用不同的来源通过代码完成菜单提供信息也很有价值。文献还表明,它是在IDE中使用信息的最常用功能之一。基于此,我们准备了一个Eclipse插件和一个框架,该框架允许通过IDE中的新代码完成菜单以方法粒度提供跨版本的代码更改原因。这些使软件工程师可以洞悉删除或修改的方法的原理,而这些方法在当前版本的代码中是不可用的。专业的软件工程师参加了我们的经验评估过程,我们观察到超过80%的参与者认为这是节省时间和精力以了解方法变更原理的有用方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号