Back to Search Start Over

Discovering Sequential Source Code Patterns in Software Engineering

Authors :
Kökten Birant
Dilara Kırnapcı
Source :
Düzce Üniversitesi Bilim ve Teknoloji Dergisi, Vol 10, Iss 1, Pp 309-324 (2022)
Publication Year :
2022
Publisher :
Düzce University, 2022.

Abstract

Discovering sequential patterns in source codes is an important issue in software engineering since it can provide useful knowledge to help in a variety of tasks such as code completion, code refactoring, developer profiling, and code complexity measurement. This paper proposes a new framework, called Source Code Miner (SCodeMiner), which discovers frequent sequential rules within a software project. The proposed framework firstly transforms a Java code into a sequence data and then applies a sequential pattern mining (SPM) algorithm. This study is also original in that it compares four SPM algorithms in terms of computational time, including sequential pattern discovery using equivalence classes (SPADE), prefix-projected sequential pattern mining (PrefixSpan), bi-directional extension (BIDE+), and last position induction (LAPIN). The experiments that carried out on an open-source software project showed that the proposed SCodeMiner framework is an effective mining tool in identifying coding patterns.

Details

Language :
English, Turkish
ISSN :
21482446
Volume :
10
Issue :
1
Database :
Directory of Open Access Journals
Journal :
Düzce Üniversitesi Bilim ve Teknoloji Dergisi
Publication Type :
Academic Journal
Accession number :
edsdoj.014dcb07ad4345d3a4ac7a4b81d136df
Document Type :
article
Full Text :
https://doi.org/10.29130/dubited.905510