首页    期刊浏览 2024年11月24日 星期日
登录注册

文章基本信息

  • 标题:Dynamic Slicing of Aspect-Oriented Programs
  • 本地全文:下载
  • 作者:D.P. Mohapatra ; M. Sahu ; R. Kumar
  • 期刊名称:Informatica
  • 印刷版ISSN:1514-8327
  • 电子版ISSN:1854-3871
  • 出版年度:2008
  • 卷号:32
  • 期号:3
  • 出版社:The Slovene Society Informatika, Ljubljana
  • 摘要:Program slicing is a decomposition technique which has many applications in various software engineering activities such as program debugging, testing, maintenance etc. Aspect-oriented programming (AOP) is a new programming paradigm that enables modular implementation of cross-cutting concerns such as exception handling, security, synchronization, logging etc. The unique features of AOP such as join-point, advice, aspect, introduction etc. pose difficulties for slicing of AOPs. We propose a dynamic slicing algorithm for aspect-oriented programs. Our algorithm uses a dependence-based representation called Dynamic Aspect-Oriented Dependence Graph (DADG) as the intermediate program representation. The DADG is an arc-classified digraph which represents various dynamic dependences between the statements of the aspect-oriented program. We have used a trace file to store the execution history of the program. We have developed a tool called Dynamic Depenedence Slicing Tool (DDST) to implement our algorithm. We have tested our algorithm on many programs for 40-50 runs. The resulting dynamic slice is precise as we create a node in the DADG for each occurrence of the statement in the execution trace.
  • 关键词:program slice; aspect-oriented programming; AspectJ; dynamic aspect-oriented dependence graph (DADG);dynamic dependence slicing tool (DDST); trace file based dynamic slicing (TBDS) algorithm
国家哲学社会科学文献中心版权所有