Passer à la navigation principale Passer à la recherche Passer au contenu principal

Tracking design smells: Lessons from a study of God classes

  • Stéphane Vaucher
  • , Foutse Khomh
  • , Naouel Moha
  • , Yann Gaël Guéhéneuc
  • University of Montreal
  • University of Rennes 1
  • Polytechnique Montréal

Résultats de recherche: Chapitre dans un livre, rapport, actes de conférence › Participation à un ouvrage collectif lié à un colloque ou une conférence › Revue par des pairs

80 Citations (Scopus)

Résumé

"God class" is a term used to describe a certain type of large classes which "know too much or do too much". Often a God class (GC) is created by accident as functionalities are incrementally added to a central class over the course of its evolution. GCs are generally thought to be examples of bad code that should be detected and removed to ensure software quality. However, in some cases, a GC is created by design as the best solution to a particular problem because, for example, the problem is not easily decomposable or strong requirements on efficiency exist. In this paper, we study in two open-source systems the "life cycle" of GCs: how they arise, how prevalent they are, and whether they remain or they are removed as the systems evolve over time, through a number of versions. We show how to detect the degree of "godliness" of classes automatically. Then, we show that by identifying the evolution of "godliness", we can distinguish between those classes that are so by design (good code) from those that occurred by accident (bad code). This methodology can guide software quality teams in their efforts to implement prevention and correction mechanisms.

Langue originaleAnglais
titreProceedings - 16th Working Conference on Reverse Engineering, WCRE 2009
EditeurIEEE Computer Society
Pages145-154
Nombre de pages10
ISBN (imprimé)9780769538679
Les DOIs
ÉtatPublié - 2009
Modification externeOui
Evénement16th Working Conference on Reverse Engineering, WCRE 2009 - Lille, France
Durée: 13 oct. 2009 → 16 oct. 2009

Série de publications

NomProceedings - Working Conference on Reverse Engineering, WCRE
ISSN (imprimé)1095-1350
ISSN (Electronique)2375-5369

Conférence

Conférence16th Working Conference on Reverse Engineering, WCRE 2009
Pays/TerritoireFrance
La villeLille
Période13/10/09 → 16/10/09

Classification disciplinaire ASJC Scopus

  • Logiciel

Empreinte digitale

Voici les principaux termes ou expressions associés à « Tracking design smells: Lessons from a study of God classes ». Ces libellés thématiques sont générés à partir du titre et du résumé de la publication. Ensemble, ils forment une empreinte digitale unique.

Citer cette ressource