首页    期刊浏览 2024年12月03日 星期二
登录注册

文章基本信息

  • 标题:Program Slicing by Calculation
  • 本地全文:下载
  • 作者:N.F. Rodrigues, L.S. Barbosa
  • 期刊名称:Journal of Universal Computer Science
  • 印刷版ISSN:0948-6968
  • 出版年度:2006
  • 卷号:12
  • 期号:7
  • 页码:828-828
  • 出版社:Graz University of Technology and Know-Center
  • 摘要:Program slicing is a well known family of techniques used to identify code fragments which depend on or are depended upon specific program entities. They are particularly useful in the areas of reverse engineering, program understanding, testing and software maintenance. Most slicing methods, usually oriented towards the imperative or object paradigms, are based on some sort of graph structure representing program dependencies. Slicing techniques amount, therefore, to (sophisticated) graph transversal algorithms. This paper proposes a completely different approach to the slicing problem for functional programs. Instead of extracting program information to build an underlying dependencies' structure, we resort to standard program calculation strategies, based on the so-called Bird-Meertens formalism. The slicing criterion is specified either as a projection or a hiding function which, once composed with the original program, leads to the identification of the intended slice. Going through a number of examples, the paper suggests this approach may be an interesting, even if not completely general, alternative to slicing functional programs.
  • 关键词:functional programming, program analysis, program slicing
国家哲学社会科学文献中心版权所有