Program comprehension is a tedious necessity during software development with complex cognitive demands. Reportedly, it amounts to up to 60% of the software engineering time and labor. One reason that makes program comprehension such a time-consuming activity is that it requires developers to bridge a gap of abstraction levels. Namely, the low-level abstractions of the inner workings of computers and the high-level abstractions of object-oriented programming languages and design documents diverge. Unfortunately, widespread development tools contribute little to bridge this gap, and present information about program behavior with technical views instead of adapting to the abstractions of object-orientation. However, to close this gap, an information presentation at the abstraction level of objects and their interactions would be desirable, which in turn could contribute to reduce the time required for program comprehension.
Therefore, this thesis presents PathObjects, an interactive way of diagraming program behavior at the abstraction level of object interactions. It allows developers to navigate and explore execution traces through an immediate information presentation while maintaining a low memory footprint. We put this concept into practice with an implementation for the Squeak/Smalltalk environment. With the aid of a user study, we show that PathObjects can help developers to comprehend an unknown software system faster and to a higher degree compared to the standard development tools. We conclude that our concept can assist developers in object-oriented program comprehension by closing the gap of abstraction levels, and thus represents a step towards the reduction of the required time of this laborious activity.
The LaTeX sources and a precompiled PDF version are available here.
Requirements
- MiKTeX
- Install latest
caption
package (trunk) - R 3.0 or newer
- Graphviz 2.34 or newer
- ImageMagick in case you want to use the
thumbs
task
Build
$ git clone [email protected]:leoschweizer/PathObjects-Thesis.git
$ cd PathObjects-Thesis
$ rake
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.