Chapter 6
Chapter 6
Automatic program
restructuring
Program to be Restructured
restructured program
Graph
representation
Restructuring problems
• Problems with re-structuring are:
• Loss of comments
• Loss of documentation
• Heavy computational demands
• Restructuring doesn’t help with poor
modularisation where related components
are dispersed throughout the code
• The understandability of data-driven
programs may not be improved by re-
structuring
Program modularisation
Becomes
Program 7
Program 2
Database
Data
describes Logical and
Program 1
management
physical migration
system
data models
Data problems