English

Frequency Distribution of Error Messages

Software Engineering 2015-09-25 v1 Computers and Society Programming Languages Applications

Abstract

Which programming error messages are the most common? We investigate this question, motivated by writing error explanations for novices. We consider large data sets in Python and Java that include both syntax and run-time errors. In both data sets, after grouping essentially identical messages, the error message frequencies empirically resemble Zipf-Mandelbrot distributions. We use a maximum-likelihood approach to fit the distribution parameters. This gives one possible way to contrast languages or compilers quantitatively.

Cite

@article{arxiv.1509.07238,
  title  = {Frequency Distribution of Error Messages},
  author = {David Pritchard},
  journal= {arXiv preprint arXiv:1509.07238},
  year   = {2015}
}

Comments

To appear at PLATEAU 2015

R2 v1 2026-06-22T11:04:15.854Z