Computer Science ›› 2011, Vol. 38 ›› Issue (1): 150-155.
Previous Articles Next Articles
JIANG Cao-qing,YING Shi,NI You-cong,GUAN Hua
Online:
Published:
Abstract: Compared with program slicing,program chopping is a more focused approach of program analysis. And it is of great significance for the program understanding, analysis, debugging, testing. The existing chopping algorithms mostly are based on connected System Dependence Graph(SDG). However, the representation of SDG is very complicated, especially for larger program, which causes fault result easily. So this paper proposed a program chopping approach for Java program based on a representation for Java program with tags. In this approach, not only the accessory information on program dependency relation is utilized to analyze parameter dependency relation, and based on which this paper presented program chopping algorithms,but also inter-method program chopping can be converted to infra-method analyzing. Moreover the approach has much strongpoint such as fewer nodes of SDG and reusability of Program Dependence Graph(PDG),etc. Finally, this paper illustrated implementation process of this approach combined with an example and experiment.
Key words: Program chopping, Chopping algorithm, Java program, Chopping approach
JIANG Cao-qing,YING Shi,NI You-cong,GUAN Hua. Program Chopping Approach for Java Program[J].Computer Science, 2011, 38(1): 150-155.
0 / / Recommend
Add to citation manager EndNote|Reference Manager|ProCite|BibTeX|RefWorks
URL: https://www.jsjkx.com/EN/
https://www.jsjkx.com/EN/Y2011/V38/I1/150
Cited