Characterizing Pharo Code: A Technical Report - Inria - Institut national de recherche en sciences et technologies du numérique
Rapport (Rapport Technique) Année : 2020

Characterizing Pharo Code: A Technical Report

Résumé

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
Origine Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

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

Identifiants

  • HAL Id : hal-02440055 , version 1

Citer

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⟩
369 Consultations
610 Téléchargements

Partager

More