Mining Patterns in Source Code using Tree Mining Algorithms. Pham, H., Nijssen, S., Mens, K., Di Nucci, D., Molderez, T., De Roover, C., Fabry, J., & Zaytsev, V. In Proceedings of the 22nd International Conference on Discovery Science (DS2019), of Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), pages 471–480, 10, 2019. DS2019: 22nd International Conference on Discovery Science.
doi  abstract   bibtex   
Discovering regularities in source code is of great interest to software engineers, both in academia and in industry, as regularities can provide useful information to help in a variety of tasks such as code comprehension, code refactoring, and fault localisation. However, traditional pattern mining algorithms often find too many patterns of little use and hence are not suitable for discovering useful regularities. In this paper we propose FREQTALS, a new algorithm for mining patterns in source code based on the FREQT tree mining algorithm. First, we introduce several constraints that effectively enable us to find more useful patterns; then, we show how to efficiently include them in FREQT. To illustrate the usefulness of the constraints we carried out a case study in collaboration with software engineers, where we identified a number of interesting patterns in a repository of Java code.
@inproceedings{bcf8bad3882046cf8af63f38b01a1e26,
  title     = "Mining Patterns in Source Code using Tree Mining Algorithms",
  abstract  = "Discovering regularities in source code is of great interest to software engineers, both in academia and in industry, as regularities can provide useful information to help in a variety of tasks such as code comprehension, code refactoring, and fault localisation. However, traditional pattern mining algorithms often find too many patterns of little use and hence are not suitable for discovering useful regularities. In this paper we propose FREQTALS, a new algorithm for mining patterns in source code based on the FREQT tree mining algorithm. First, we introduce several constraints that effectively enable us to find more useful patterns; then, we show how to efficiently include them in FREQT. To illustrate the usefulness of the constraints we carried out a case study in collaboration with software engineers, where we identified a number of interesting patterns in a repository of Java code.",
  keywords  = "Pattern Mining, Frequent Tree Mining, Source Code Regularities",
  author    = "Pham, {Hoang Son} and Siegfried Nijssen and Kim Mens and {Di Nucci}, Dario and Molderez, {Tim Christiaan} and {De Roover}, Coen and Johan Fabry and Vadim Zaytsev",
  year      = "2019",
  month     = "10",
  day       = "28",
  doi       = "10.1007/978-3-030-33778-0_35",
  language  = "English",
  isbn      = "978-3-030-33778-0",
  series    = "Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)",
  publisher = "DS2019: 22nd International Conference on Discovery Science",
  pages     = "471--480",
  booktitle = "Proceedings of the 22nd International Conference on Discovery Science (DS2019)",
}

Downloads: 0