• DocumentCode
    3502287
  • Title

    Deriving path expressions recursively

  • Author

    Bertolino, Antonia ; Marré, Martina

  • Author_Institution
    CNR Istituo di Elaborazione della Inf., Pisa, Italy
  • fYear
    1993
  • fDate
    8-9 Jul 1993
  • Firstpage
    177
  • Lastpage
    185
  • Abstract
    Program representation plays an important role in software engineering, because it is used by the tools supporting software life cycle activities. To represent a program´s control structure, the dominator tree and the implied tree, derived from the program´s ddgraph, can be profitably used. In fact, thanks to their recursive structure, these trees are especially suitable for designing very simple and efficient algorithms for program path analysis, which is widely used in measurement and testing activities. In particular, this paper presents a recursive algorithm PE for computing path expressions from the dominator and the implied trees. The algorithm proposed is of interest to program comprehension for two reasons: representation of programs by path expressions is widely applied, e.g., to testing, data flow analysis and development of complexity metrics. An algorithm such as PE, which computes path expressions from flowgraphs, can be used to solve many kinds of path problems
  • Keywords
    programming theory; software engineering; trees (mathematics); PE; control structure; dominator tree; implied tree; path expressions; program comprehension; recursive algorithm; recursive structure; software engineering; software life cycle activities; Algorithm design and analysis; Data analysis; Documentation; Graph theory; Tail; Terminology; Testing; Tree graphs;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Program Comprehension, 1993. Proceedings., IEEE Second Workshop on
  • Conference_Location
    Capri
  • ISSN
    1092-8138
  • Print_ISBN
    0-8186-4042-1
  • Type

    conf

  • DOI
    10.1109/WPC.1993.263893
  • Filename
    263893