首页> 外文会议>Proceedings of the 2005 workshop on Modeling and analysis of concerns in software >An exploration of how comments are used for marking related code fragments
【24h】

An exploration of how comments are used for marking related code fragments

机译:探索如何使用注释来标记相关代码片段

获取原文
获取原文并翻译 | 示例

摘要

A software developer performing a change task to a system very often has to examine a concern that is scattered across the source code of the system. Although many mechanisms attempt to alleviate the problem of dealing with scattered code, many software developers are still using more ad-hoc approaches to mark related code. In this paper, we explore how developers use comments to mark related code. We found that developers use two basic kinds of conventions to mark related code in comments: by explicitly stating relationships in the comment and by using similar comments in related code elements. These conventions have several major issues. However, we observe that using comments to mark related code fragments offers several benefits. We hope that our observations can give insights into building better tool support for scattered code fragments.
机译:对系统执行更改任务的软件开发人员通常必须检查分散在系统源代码中的问题。尽管许多机制试图减轻处理分散代码的问题,但是许多软件开发人员仍在使用更多的临时方法来标记相关代码。在本文中,我们探索开发人员如何使用注释来标记相关代码。我们发现开发人员使用两种基本的约定在注释中标记相关代码:通过在注释中显式说明关系,以及在相关代码元素中使用类似注释。这些约定有几个主要问题。但是,我们观察到使用注释来标记相关的代码片段有几个好处。我们希望我们的观察结果能为构建更好的工具支持提供见解,以支持分散的代码片段。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号