Volume 11 Number 5 (Sep. 2016)
Home > Archive > 2016 > Volume 11 Number 5 (Sep. 2016) >
JCP 2016 Vol.11(5): 353-364 ISSN: 1796-203X
doi: 10.17706/jcp.11.5.353-364

A Novel Approach to Program Comprehension Process Using Slicing Techniques

Elham Hosnieh1, Hirohide Haga2
1Graduate School of Global Studies, Doshisha University, Kyoto, Japan.
2Graduate School of Science and Engineering, Doshisha University, Kyotanabe, Japan.


Abstract—The target of this research is to determine how program slicing contributes to program comprehension and to enhance its functionality by applying the slicing tree concept to its implementation. Slicing tree is a concept that refers to automatically repeating program slicing while the slicing criterion is changeable until the program decomposes into its atomic parts. Using this technique offers several advantages over traditional program slicing. First, it facilitates the process of understanding. In the original slicing, even after the slicing, the number of lines remains excessive for easy understanding. By using slicing trees, the final nodes of the tree point to a relatively small fragment of the code, which is the starting point to understand the program’s behavior. In other words, we have a bottom-up approach and our comprehension process becomes faster and easier. Furthermore, it is much easier to use our knowledge based on recognizing the patterns in smaller fragments of code. Recognizing the patterns will play a great role in comprehending the code and intuiting the intention behind it. Third, this method answers the programmer’s question about deciding the next best slicing criteria for the next step, since it will be chosen automatically and efficiently. We applied the slicing tree concept to several program codes containing basic programming functions to analyze the efficiency of this technique and its contribution to improve program comprehension.

Index Terms—Program comprehension, program slicing, software engineering, tree structure.

[PDF]

Cite: Elham Hosnieh, Hirohide Haga, "A Novel Approach to Program Comprehension Process Using Slicing Techniques," Journal of Computers vol. 11, no. 5, pp. 353-364, 2016.

General Information

ISSN: 1796-203X
Abbreviated Title: J.Comput.
Frequency: Bimonthly
Editor-in-Chief: Prof. Liansheng Tan
Executive Editor: Ms. Nina Lee
Abstracting/ Indexing: DBLP, EBSCO,  ProQuest, INSPEC, ULRICH's Periodicals Directory, WorldCat,etc
E-mail: jcp@iap.org
  • Nov 14, 2019 News!

    Vol 14, No 11 has been published with online version   [Click]

  • Mar 20, 2020 News!

    Vol 15, No 2 has been published with online version   [Click]

  • Dec 16, 2019 News!

    Vol 14, No 12 has been published with online version   [Click]

  • Sep 16, 2019 News!

    Vol 14, No 9 has been published with online version   [Click]

  • Aug 16, 2019 News!

    Vol 14, No 8 has been published with online version   [Click]

  • Read more>>