Font Size: a A A

Research And Implement Of Function-level Program Understanding And Visualization Based On C/C++

Posted on:2013-01-21Degree:MasterType:Thesis
Country:ChinaCandidate:J J YeFull Text:PDF
GTID:2218330371961566Subject:Computer technology
Abstract/Summary:PDF Full Text Request
Nowadays software becomes more and more larger and complicated with the rapiddevelopment of software industry. That makes software maintenance becoming more difficult.Program understanding can avoid duplication of effort and improve the software production andmaintenance's efficiency and quality. Program understanding is the key technology of softwaremaintenance and reverse engineering. It's also widely used in software testing, software reuse,and several other engineering fields.The visualization of program understanding is using the graph to depict the result ofprogram understanding. It can help people more quickly and accurately on understanding theprogram. Visualization is one kind of the the ultimate expression to the program understandingresults. Numerous software support for the visualization of program understanding have beendeveloped. Such as Source Insight, Bluebird JBPAS-C++, etc. But none of them is perfect andthey are weak in hierarchy visualization, integrated with the results of shortcomings.This paper has done the research on visualization of function-level program understandingbased on C / C + + language, which is the supplement of program understanding. The content ofthis paper includes: First, it describes the background, concepts and understanding of the existedstrategies, models, methods and related difficulties of program understanding; Then, it uses staticanalysis methods such as lexical analysis and syntax analysis to analyse the procedures andextract the information of the functions;And next,this study analyses the information of functionsand abstract it. It also design data structures to storage the abstract information; Finally,theresearch use N-S Chart to visualize the information and structures of the functions, and it does onthe mapping between the program structures and the primitive charts, and the algorithm of thecharts' scaling and positioning.
Keywords/Search Tags:Progra m Understanding, Function Visualize, Scaling and Positioning, Nassi-Shneiderman Chart, Information Extraction
PDF Full Text Request
Related items