【24h】

A Framework for Examining Topical Locality in Object-Oriented Software

机译:检查面向对象软件中主题局部性的框架

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

摘要

The software entities of an object-oriented system should be organized in such a way that "spatial relatedness entails semantic relatedness". We refer this as the tenet of "topical locality" and argue that it is fundamental for the code base to be navigable. In this paper, we propose a novel experimental framework to test this key tenet and use large-scale open-source projects to assess three relationships. In particular, we find that: (1) class name along with header comments conveys class body's topic; (2) a code line is indicative of its surroundings; and (3) a contiguous code fragment may serve as a snapshot of the entire class. Our work not only shows the foundations necessary for the success of many code navigation approaches, but also opens avenues for further tool enhancements.
机译:面向对象系统的软件实体应以“空间相关性需要语义相关性”的方式组织。我们将此称为“主题局部性”的宗旨,并认为代码库的可导航性至关重要。在本文中,我们提出了一个新颖的实验框架来测试这一关键宗旨,并使用大型开源项目来评估三个关系。特别是,我们发现:(1)类名和标题注释一起传达了类主体的主题; (2)代码行指示其周围环境; (3)连续的代码片段可以用作整个类的快照。我们的工作不仅显示了许多代码导航方法成功所必需的基础,而且还为进一步的工具增强开辟了道路。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号