A Defect Detection Method for Object-Oriented Programs using Sequential Pattern Mining

Recently, several strudies apply sequential pattern mining, which is a kind of data mining to source code, and detect defects using that results. However, there are no case studies that apply this defects detection method to source code written in Object-Oriented languages. In this research, we apply this method to an Object-Oriented program. We have developed a tool that detects pattern violations, and applied to open source programs written in Java language. The resultant violations involved a defect.

[1]  Ramakrishnan Srikant,et al.  Mining sequential patterns , 1995, Proceedings of the Eleventh International Conference on Data Engineering.

[2]  Zhenmin Li,et al.  PR-Miner: automatically extracting implicit programming rules and detecting violations in large software code , 2005, ESEC/FSE-13.

[3]  Ramakrishnan Srikant,et al.  Fast algorithms for mining association rules , 1998, VLDB 1998.

[4]  Qiming Chen,et al.  PrefixSpan,: mining sequential patterns efficiently by prefix-projected pattern growth , 2001, Proceedings 17th International Conference on Data Engineering.