A three-layer model of source code comprehension

Javier Belmonte, P. Dugerdil, A. Agrawal
{"title":"A three-layer model of source code comprehension","authors":"Javier Belmonte, P. Dugerdil, A. Agrawal","doi":"10.1145/2590748.2590758","DOIUrl":null,"url":null,"abstract":"In this paper we first propose a source code comprehension model built as a hierarchy of three abstraction levels from the source code to the purpose (goal) of the program. The elements belonging to each layer have been precisely defined as well as their links to the elements in the adjacent layers. Consequently this model allows to bridge the semantic gap between the purpose of the program defined in business terms and the code that implements it. The model leverages two ontologies: an action ontology, which is specific to our approach, and a domain concept ontology. Next this model has been implemented as a tool under Eclipse and two experiments have been performed to assess the relevance of our approach in the maintenance of a large-scale program. The results of this experiment are very encouraging. The contribution of the paper is the presentation of our program comprehension model built on a novel approach based on an action ontology, the description of the tool we developed to assess the relevance of model and the testing of the latter with two controlled experiments.","PeriodicalId":395366,"journal":{"name":"International Symposium on Electronic Commerce","volume":"19 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-02-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"9","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Symposium on Electronic Commerce","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2590748.2590758","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 9

Abstract

In this paper we first propose a source code comprehension model built as a hierarchy of three abstraction levels from the source code to the purpose (goal) of the program. The elements belonging to each layer have been precisely defined as well as their links to the elements in the adjacent layers. Consequently this model allows to bridge the semantic gap between the purpose of the program defined in business terms and the code that implements it. The model leverages two ontologies: an action ontology, which is specific to our approach, and a domain concept ontology. Next this model has been implemented as a tool under Eclipse and two experiments have been performed to assess the relevance of our approach in the maintenance of a large-scale program. The results of this experiment are very encouraging. The contribution of the paper is the presentation of our program comprehension model built on a novel approach based on an action ontology, the description of the tool we developed to assess the relevance of model and the testing of the latter with two controlled experiments.
源代码理解的三层模型
在本文中,我们首先提出了一个源代码理解模型,该模型构建为从源代码到程序目的(目标)的三个抽象层的层次结构。属于每一层的元素都被精确地定义,以及它们与相邻层中元素的链接。因此,该模型可以弥合用业务术语定义的程序的目的与实现它的代码之间的语义差距。该模型利用了两个本体:一个是特定于我们的方法的动作本体,另一个是领域概念本体。接下来,这个模型作为一个工具在Eclipse下实现,并且进行了两个实验来评估我们的方法在大规模程序维护中的相关性。这个实验的结果非常令人鼓舞。本文的贡献在于介绍了基于动作本体的新方法构建的程序理解模型,描述了我们开发的用于评估模型相关性的工具,并通过两个对照实验对后者进行了测试。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书