Identifying class name inconsistency in hierarchy: a first simple heuristic

Abdelghani Alidra 1 Moussa Saker 1 Nicolas Anquetil 2 Stéphane Ducasse 2
2 RMOD - Analyses and Languages Constructs for Object-Oriented Application Evolution
Inria Lille - Nord Europe, CRIStAL - Centre de Recherche en Informatique, Signal et Automatique de Lille (CRIStAL) - UMR 9189
Abstract : 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.
Type de document :
Communication dans un congrès
IWST 2017 - 12th International Workshop on Smalltalk Technologies, Sep 2017, Maribor, Slovenia. ACM, pp.14:1--14:8, IWST '17 Proceedings of the 12th edition of the International Workshop on Smalltalk Technologies 〈10.1145/3139903.3139920〉
Liste complète des métadonnées

Littérature citée [16 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/hal-01663603
Contributeur : Lse Lse <>
Soumis le : jeudi 14 décembre 2017 - 09:50:06
Dernière modification le : mardi 3 juillet 2018 - 11:35:00

Fichier

abdou.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

Collections

Citation

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. ACM, pp.14:1--14:8, IWST '17 Proceedings of the 12th edition of the International Workshop on Smalltalk Technologies 〈10.1145/3139903.3139920〉. 〈hal-01663603〉

Partager

Métriques

Consultations de la notice

192

Téléchargements de fichiers

57