作者: Robert W. Bowdidge , William G. Griswold
关键词: Visualization 、 Restructuring 、 Software engineering 、 Programmer 、 User interface 、 Data structure 、 Software 、 Computer science 、 Abstract data type 、 Programming language 、 Encapsulation (networking)
摘要: A software engineer can use a meaning-preserving program restructuring tool during maintenance to change program's structure ease modification. One common action is create new abstract data type by encapsulating an existing structure. Data encapsulation simplifies modification isolating changes the implementation and behavior of type. To perform encapsulation, programmer must understand how used in code, identify operations performed on structure, choose concrete expressions be made into functions. We provide manipulable visualization, called star diagram, that both highlights information partinent supports application transformations through direct-manipulation user interface. The visualization graphically compactly presents all statements given global helping functions completely encapsulate it. Additionally, elides code unrelated task, collapses similar allow frequently occurring fragments manipulate them together. mapped directly text, so manipulation also restructures program. describe design, implementation, evaluate its ability assist large programs.