Understanding object-oriented source code from the behavioural perspective

N. Walkinshaw, M. Roper, M. Wood

Research output: Chapter in Book/Report/Conference proceedingChapter

9 Citations (Scopus)
54 Downloads (Pure)


Comprehension is a key activity that underpins a variety of software maintenance and engineering tasks. The task of understanding object-oriented systems is hampered by the fact that the code segments that are related to a user-level function tend to be distributed across the system. We introduce a tool-supported code extraction technique that addresses this issue. Given a minimal amount of information about a behavioural element of the system that is of interest (such as a use-case), it extracts a trail of the methods (and method invocations) through the system that are needed in order to achieve an understanding of the implementation of the element of interest. We demonstrate the feasibility of our approach by implementing it as part of a code extraction tool, presenting a case study and evaluating the approach and tool against a set of established criteria for program comprehension tools.
Original languageEnglish
Title of host publicationProceedings of the 13th International Workshop on Program Comprehension (IWPC'05)
Place of PublicationUSA
Number of pages11
Publication statusPublished - 2005


  • slicing
  • hammock graphs
  • behavioural comprehension
  • object-oriented programming


Dive into the research topics of 'Understanding object-oriented source code from the behavioural perspective'. Together they form a unique fingerprint.

Cite this