Capturing Java naming conventions with first-order Markov models

Erik J. Linstead, Lindsey Hughes, Cristina Videira Lopes, Pierre Baldi · 2009

We analyze naming conventions for classes, interfaces, methods, and fields across 12,151 open-source Java projects. This vocabulary data is then used to train first-order Markov models to classify entity names, as well as to assess adherence to common naming structure. Preliminary results yield an accuracy of 78.34%. Supplementary material may be found at: http://sourcerer.ics.uci.edu/icpc2009/icpc.html.

Read the paper · More papers on PaperTik