An Approach for Detecting Execution Phases of a System for the Purpose of Program Comprehension

Heidar Pirzadeh, Akanksha Agarwal, A. Hamou-Lhadj
{"title":"An Approach for Detecting Execution Phases of a System for the Purpose of Program Comprehension","authors":"Heidar Pirzadeh, Akanksha Agarwal, A. Hamou-Lhadj","doi":"10.1109/SERA.2010.34","DOIUrl":null,"url":null,"abstract":"Understanding the behavioural aspects of a software system is an important activity in many software engineering activities including program comprehension and reverse engineering. The behaviour of software is typically represented in the form of execution traces. Traces, however, tend to be considerably large which makes analyzing their content a complex task. There is a need for trace simplification techniques that can help software engineers make sense of the content of a trace despite the trace being massive. In this paper, we present a novel algorithm that aims to simplify the analysis of a large trace by detecting the execution phases that compose it. An example of a phase could be an initialization phase, a specific computation, etc. Our algorithm processes a trace generated from running the program under study and divides it into phases that can be later used by software engineers to understand where and why a particular computation appears. We also show the effectiveness of our approach through a case study.","PeriodicalId":102108,"journal":{"name":"2010 Eighth ACIS International Conference on Software Engineering Research, Management and Applications","volume":"13 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-05-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"27","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2010 Eighth ACIS International Conference on Software Engineering Research, Management and Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SERA.2010.34","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 27

Abstract

Understanding the behavioural aspects of a software system is an important activity in many software engineering activities including program comprehension and reverse engineering. The behaviour of software is typically represented in the form of execution traces. Traces, however, tend to be considerably large which makes analyzing their content a complex task. There is a need for trace simplification techniques that can help software engineers make sense of the content of a trace despite the trace being massive. In this paper, we present a novel algorithm that aims to simplify the analysis of a large trace by detecting the execution phases that compose it. An example of a phase could be an initialization phase, a specific computation, etc. Our algorithm processes a trace generated from running the program under study and divides it into phases that can be later used by software engineers to understand where and why a particular computation appears. We also show the effectiveness of our approach through a case study.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
一种用于程序理解目的的检测系统执行阶段的方法
了解软件系统的行为方面是许多软件工程活动(包括程序理解和逆向工程)中的重要活动。软件的行为通常以执行轨迹的形式表示。然而,痕迹往往相当大,这使得分析其内容成为一项复杂的任务。有必要使用跟踪简化技术来帮助软件工程师理解跟踪的内容,尽管跟踪非常庞大。在本文中,我们提出了一种新的算法,旨在通过检测组成它的执行阶段来简化对大型跟踪的分析。阶段的例子可以是初始化阶段、特定的计算等。我们的算法处理运行所研究的程序所产生的跟踪,并将其分为几个阶段,软件工程师可以稍后使用这些阶段来理解特定计算出现的位置和原因。我们还通过一个案例研究展示了我们的方法的有效性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
A Generic Model for the Specification of Software Interface Requirements and Measurement of Their Functional Size An Empirical Study of Fan-In and Fan-Out in Java OSS An Approach for Detecting Execution Phases of a System for the Purpose of Program Comprehension Applying a Feedforward Neural Network for Predicting Software Development Effort of Short-Scale Projects Investigation of the Capability of XP to Support the Requirements of ISO 9001 Software Process Certification
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1