Font Size: a A A

The Research Of Pointer Information Extraction, Storage And Representation Method In Program Visualization Comprehension

Posted on:2013-12-05Degree:MasterType:Thesis
Country:ChinaCandidate:K X QiaoFull Text:PDF
GTID:2248330377956682Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
The fast development of computer application technology accelerates renewal speed ofprogram, so that the legacy system maintenance occupies a large amount of manpower andmaterial resources. Program understanding technology promotes the efficiency of maintenancepersonnel understanding program a certain extent, and reduces the workload of maintenance andfurther development. Program visualization is one of the important branches in programunderstanding, which can effectively help people to understand and study the existing software.Program visualization integrates a variety of technique and method. On the basis of existingtheory, this paper puts forward a visualization program scheme suitable for object-orientedprogramming language C++code, and based on this scheme, the main research of the paper asfollows.First, this paper’ research focuses on the information extraction and organization. A rapidextraction algorithm based on a regular search engine is designed, for obtaining meaningful codeblocks, and the establishment of the code index table. Analysis start from Selection of targetinformation such as pointers, procedure based on index table, and recursively parsing code forminimum information collection about object information, and making abstraction and inductionon the minimum information collection. This paper designs a kind of abstract informationorganization and representation method, converting the relation between codes to the connectionamong object entity, and further reorganizes codes and their relationship based on theconnection.Secondly, summarizes the graphical symbols——basic units of visual representation andthe drawing methods used in the visual representation. Through the research of the procedureflow chart in national standards and UML graphic symbols, this paper summarized several kindsof commonly used symbols such as packet symbol, statement symbol, control structure symbol,and mathematical formula in the process of their drawing. Then, through the research of source files reference relationship its visual representation,we sum up the basic steps of the visualization process, provide an algorithm about the visualrepresentation of source file reference relationship. Finally, we study the visual representation ofpointer information and the realization algorithm, through an example analysis, shows that theprogram’s visual representation is beneficial for the understanding of legacy code.
Keywords/Search Tags:information extraction, visualization, reference relationship, code object, viewlayout algorithm
PDF Full Text Request
Related items