Liu, Cong, Van Dongen, Boudewijn, Assy, Nour & Van Der Aalst, Wil M.P. (2018). A general framework to detect behavioral design patterns. Proceedings – International Conference on Software Engineering (pp. 234-235). IEEE Computer Society.
This paper presents a general framework to detect behavioral design patterns by combining source code and execution data. The framework has been instantiated for the observer, state and strategy patterns to demonstrate its applicability. By experimental evaluation, we show that our combined approach can guarantee a higher precision and recall than purely static approaches. In addition, our approach can discover all missing roles and return complete pattern instances that cannot be supported by existing approaches.