Program Chopping Approach for Java Program

JIANG Cao-qing,YING Shi,NI You-cong,GUAN Hua
DOI: https://doi.org/10.3969/j.issn.1002-137x.2011.01.035
2011-01-01
Computer Science
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 intra-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.
What problem does this paper attempt to address?