Characterizing Pharo Code: A Technical Report - Archive ouverte HAL Access content directly
Reports (Technical Report) Year : 2020

Characterizing Pharo Code: A Technical Report

(1, 2) , (1) , (1)
1
2

Abstract

Pharo (https://pharo.org/) is a modern dynamically-typed reflective pure object-oriented language. It is inspired from Smalltalk. Its unconventional syntax mimics natural language: arguments are not grouped around parentheses at the end but within the message, making expressions looks like sentences. In addition, all control flow operations are expressed as messages and the programmer can freely define new ones and as such define Domain Specific Languages for his task. In this technical report we discuss the statistical properties of source code that people write using Pharo programming language. We present the methodology and tooling for analysing source code selected from the projects of Pharo ecosystem. By analysing 50 projects, consisting of 824 packages, 13,935 classes, and 151,717 methods, we answer questions such as "what is a typical method length?" or "what percent of source code are literals?".
Fichier principal
Vignette du fichier
Zait20a-TechReport.pdf (349.75 Ko) Télécharger le fichier
Origin : Files produced by the author(s)
Loading...

Dates and versions

hal-02440055 , version 1 (14-01-2020)

Identifiers

  • HAL Id : hal-02440055 , version 1

Cite

Oleksandr Zaitsev, Stéphane Ducasse, Nicolas Anquetil. Characterizing Pharo Code: A Technical Report. [Technical Report] Inria Lille Nord Europe - Laboratoire CRIStAL - Université de Lille; Arolla. 2020. ⟨hal-02440055⟩
322 View
435 Download

Share

Gmail Facebook Twitter LinkedIn More