Recovering design patterns to support program comprehension

Linzhang Wang,Zhixiong Han,Jiantao He,Hanfei Wang,Xuandong Li
DOI: https://doi.org/10.1145/2372233.2372248
2012-01-01
Abstract:ABSTRACTThis paper presents a design pattern directed software clustering approach to support program comprehension. First, the code is parsed to recover the design pattern information. Second, the code is clustered considering design patterns. Classes/interfaces are grouped into clusters based on their inter-role relationship of design patterns. Finally, a cluster-level view of the original code is constructed to support understanding the code. A prototype tool TasteJ was implemented to support the automation of proposed approach. Experiments are conducted to evaluate the effectiveness of the approach. The experimental results show that the approach is encouraging and promising.
What problem does this paper attempt to address?