Dataset Characteristics for Reliable Code Authorship Attribution
- 28 December 2021
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Dependable and Secure Computing
- Vol. 20 (1) , 506-521
Abstract
Code authorship attribution aims to identify the author of software source code according to the author's unique coding style characteristics. The lack of benchmark data in the field, forced researchers to employ various resources that often did not reflect real programming practices. Throughout the years, research studies have used textbook examples, students' programming assignments, faculty code samples, code from programming competitions and files retrieved from open-source repositories as research objects. The diversity of the data raised concerns about the feasibility of capturing the appropriate data characteristics to reliably evaluate code attribution. In this paper, we investigate these concerns and analyze the effect of the dataset characteristics and feature elimination techniques on the accuracy of code attribution. Unlike the majority of the work done in this field, which mainly concentrates on designing new features, we explore the nature of the data used in previous studies and assess the factors that influence the attribution task. Within this analysis, we investigate the robustness of three feature sets regarded as reliable benchmarks in the attribution research. Based on our findings, we define a process for deriving a reduced set of features for accurate and predictable attribution and make recommendations on the dataset characteristics.Keywords
This publication has 48 references indexed in Scilit:
- Source code author identification with unsupervised feature learningPattern Recognition Letters, 2012
- Examining the significance of high-level programming features in source code author classificationJournal of Systems and Software, 2008
- Identifying almost identical files using context triggered piecewise hashingDigital Investigation, 2006
- Extraction of Java program fingerprints for software authorship identificationJournal of Systems and Software, 2004
- Authorship analysis: identifying the author of a programComputers & Security, 1997
- Software forensics: Can we track code to its authors?Computers & Security, 1993
- Low-dimensional procedure for the characterization of human facesJournal of the Optical Society of America A, 1987
- A plagiarism detection systemACM SIGCSE Bulletin, 1981
- Discriminant Analysis1979
- LII. An essay towards solving a problem in the doctrine of chances. By the late Rev. Mr. Bayes, F. R. S. communicated by Mr. Price, in a letter to John Canton, A. M. F. R. SPhilosophical Transactions of the Royal Society of London, 1763