Identifying class name inconsistency in hierarchy: a first simple heuristic - Inria - Institut national de recherche en sciences et technologies du numérique
Communication Dans Un Congrès Année : 2017

Identifying class name inconsistency in hierarchy: a first simple heuristic

Résumé

Giving good class names is an important task. Good programmers often report that they take several attempts to find an adequate one. Often programmers do not name consistently classes within a package, project or hierarchy. This is a problem because it hampers understanding the systems. In this article we present a simple heuristic (a distribution) to characterise class naming. We combine such a heuristic with structural information to identify inconsistent class names. In addition, we use this simple heuristic to give packages a shape. We applied such heuristic to 285 packages in Pharo to identify misnamed classes. Some of these misnamed classes are reported and discussed here.
Fichier principal
Vignette du fichier
abdou.pdf (1.55 Mo) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-01663603 , version 1 (14-12-2017)

Identifiants

Citer

Abdelghani Alidra, Moussa Saker, Nicolas Anquetil, Stéphane Ducasse. Identifying class name inconsistency in hierarchy: a first simple heuristic. IWST 2017 - 12th International Workshop on Smalltalk Technologies, Sep 2017, Maribor, Slovenia. pp.14:1--14:8, ⟨10.1145/3139903.3139920⟩. ⟨hal-01663603⟩
247 Consultations
216 Téléchargements

Altmetric

Partager

More