We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.PL

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo ScienceWISE logo

Computer Science > Programming Languages

Title: Measuring source code conciseness across programming languages using compression

Abstract: It is well-known, and often a topic of heated debates, that programs in some programming languages are more concise than in others. This is a relevant factor when comparing or aggregating volume-impacted metrics on source code written in a combination of programming languages. In this paper, we present a model for measuring the conciseness of programming languages in a consistent, objective and evidence-based way. We present the approach, explain how it is founded on information theoretical principles, present detailed analysis steps and show the quantitative results of applying this model to a large benchmark of diverse commercial software applications. We demonstrate that our metric for language conciseness is strongly correlated with both an alternative analytical approach, and with a large scale developer survey, and show how its results can be applied to improve software metrics for multi-language applications.
Subjects: Programming Languages (cs.PL); Software Engineering (cs.SE)
DOI: 10.1109/SCAM52516.2021.00015
Cite as: arXiv:2111.09728 [cs.PL]
  (or arXiv:2111.09728v1 [cs.PL] for this version)

Submission history

From: Lodewijk Bergmans [view email]
[v1] Thu, 18 Nov 2021 14:39:50 GMT (944kb,D)

Link back to: arXiv, form interface, contact.