The Research of Algorithm Visualization’s Representation and Implementation in Java Program Understanding

Author
LiRongRong
Advisor
GuHui
School
Zhejiang University of Technology
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2012
Downloads
51
Citations
0

Request the full text

Abstract

With the rapid development of software industry, the availability of legacy system (legacysystem) increased. These legacy software systems contain lots of useful information, includingrequirements analysis of the system, design patterns, business rules, system maintenance andrequirements changes used in the later period.But with the time growing, many documents anddesign information of the legacy system have been lost. This brings a lot of difficulties to thesoftware maintenance. If you can make the program understanding of the software fast,accurately, comprehensively is a key factor to judge your maintenance working successful.Therefore, the research on program understanding has a very important role for legacy softwaresystem’s development, maintenance and management.According to the requirements and the documents, the traditional software developmentprocess is to develop a program code. While the program understanding process is oppositive.First, we analyze program source codes, and then reconstruct the basic structure of software andalgorithm description documents. Last, we need perform them by graphics. These jobs can makeus to understand software system more conveniently. Based on the deep research studies of thedomestic and foreign references, this paper firstly discusses related research present situation, thebasic theory and technology of the program comprehension, Java virtual machine andvisualization technology. By studying of these basic theories, I design a program comprehensionsystem for Java, and make a research of the algorithm visualization.I draw these special images:class dependence graph、class hierarchy graph、function calling graph、control flow graph.Thepaper mainly includes the following aspects:.First of all is program information extraction. We need extract useful information. It is thebasic of program understanding and in order to display the program elements.Second, on the basis of the last working, we design the mapping relation–ship betweenJAVA language and UML according these two elements’s correspondence. And we save theclass, interface and function methods according to their categories. It is in order to displaydifferent components in different ways. The Third is the visualization of class dependency graph, class hierarchy graph, the methodcall graph and the method flow graph. We use the visualization technology to make acombination display of the elements from lexical analysis.

Table of contents

Summary 5-6 ABSTRACT 6-10 Chapter 1 Introduction 10-18 1.1 Background and Significance 10 - 11 1.2 program comprehension research status 11-14 1.3 program to understand the status and history of the development of auxiliary systems main content 14-16 1.4 of this paper and innovation 16-17 1.5 Summary 17-18 Chapter 2 basic knowledge 18-27 2.1 program understanding 18-20 2.1.1 program to understand the content difficulty 18-19 2.1.2 program understanding 19-20 2.2 scientific visualization 20 2.3 program design visualization development 20-24 2.3.1 visual basic programming concepts 21 2.3.2 visualize the various stages of program design the development 21-24 2.4 static visual analysis software 24-25 2.4.1 JBuilder development environment 24-25 2.4.2 Panorama testing tools 25 2.5 dynamic visual analysis software 25-26 2.6 Summary 26-27 Chapter 3 Java program algorithm visualization the basic principles and overall design needs 27-36 3.1 systems analysis main issues 27-29 3.1.1 system needs to be addressed 27 3.1.2 system design principles 27-28 3.1.3 the system should have features 28-29 3.2 system design 29-31 <br / > overall framework 3.2.1 system 29-30 3.2.2 role of various functional modules extraction rule 30-31 3.3 UML class diagram of 31-35 3.4 Summary achieve 35-36 Chapter 4 visualization System 36-54 4.1 a Java program 36-38 4.2 file management module 38-39 4.3 information extraction module 39-43 4.3.1 JavaCC About 40-41 4.3.2 BNF About 41-42 4.3.3 lexical analysis 42-43 4.3.4 parsing 43 4.4 class achieve dependency graph achieve 43-45 4.5 class hierarchy diagram of achieve 45-47 4.6 method call graph 47-51 4.6 .1 class Hierarchy analysis (CHA) 48-49 4.6.2 rapid type analysis (RTA) achieve 49-51 4.7 control flow graph 51 -53 4.8 experimental results and analysis 53 4.8.1 experimental results 53 4.8.2 analysis of experimental results 53 4.9 summary 53-54 Chapter 5 summarizes 54-55 5.1 paper summarizes 54 5.2 future 54-55 References 55-58 Thanks participate during the 58-59 pursue a degree research projects and results 59

Related dissertations

  1. A Study of Static Malicious Code Detection Method Based on Opcode Sequneces
    LuZhanJun ·Harbin Institute of Technology ·2013 ·Master's thesis
  2. The Research of Full Automatic Detection Method for Security Policy of JVM Run-time Library
    WangNing ·Hunan University ·2012 ·Master's thesis
  3. Research on Intrusion Detection Techniques of Web Service Composition Based on BPEL
  4. Research of the Instrumentation in Embeded Software Coverage Testing
  5. Recovery advanced control radar DSP program flow
    LiTao ·Northwestern University ·2012 ·Master's thesis
  6. Research on Comparison Technology of Binary Files Based on Structural Graphics
    HanFeng ·Beijing Forestry University ·2013 ·Master's thesis
  7. An Integration of Several Data Flow Analysis Techniques for Program Verification
    XingYuChen ·Nanjing University ·2013 ·Master's thesis
  8. The Research on Dynamic Models Abstraction and Transformation Techniques of the Object-Oriented Software Systems
  9. Research on Changeability Driven Software Design Improvement
    FengTie ·Jilin University ·2007 ·Doctoral dissertation
  10. Research on Automatic Code Generation and Optimization in Parallelizing Compiler
    ZhangPing ·PLA Information Engineering University ·2006 ·Doctoral dissertation
  11. Research on the Multi-Agent Environment and Tools for Program Understanding Based on Compound Code Repository
    ChenHua ·Zhejiang University ·2004 ·Doctoral dissertation
  12. Research on Control Flow Error Checking Algorithm Based on Assembly Language
    WuYanXia ·Harbin Engineering University ·2008 ·Doctoral dissertation
  13. Research and Implementation on Program Comprehension Supporting Environment Based on Cognitive Process
    YangJiXu ·Zhejiang University of Technology ·2007 ·Master's thesis
  14. Research of Program Static Analyzer Based on Incremental Techniques
    LaiSongFeng ·Zhejiang University of Technology ·2007 ·Master's thesis
  15. Based on binary executable code coverage testing technology research
  16. Research of Algorithm Visualization Instruction Based on Three-Layer Structure Model
    LiuYaQin ·Hunan Normal University ·2007 ·Master's thesis
  17. The Research of Algorithm in High Level Synthesis Optimization
    MaBoWei ·Harbin Engineering University ·2003 ·Master's thesis
  18. Structural Testing of Aspect-Oriented Programs
    ZhangYan ·Shanghai Jiaotong University ·2007 ·Master's thesis
  19. Static Construction of Control Flow Graph for Aspect-Oriented Programs
    FengBin ·Shanghai Jiaotong University ·2007 ·Master's thesis
  20. Protect Software Using Obfuscation Techniques
    SongYaQi ·Northwestern University ·2005 ·Master's thesis