skip to main content
10.1145/2460999.2461007acmotherconferencesArticle/Chapter ViewAbstractPublication PageseaseConference Proceedingsconference-collections
research-article

An exploratory study to investigate the impact of conceptualization in god class detection

Published: 14 April 2013 Publication History

Abstract

Context: The concept of code smells is widespread in Software Engineering. However, in spite of the many discussions and claims about them, there are few empirical studies to support or contest these ideas. In particular, the study of the human perception of what is a code smell and how to deal with it has been mostly neglected. Objective: To build empirical support to understand the effect of god classes, one of the most known code smells. In particular, this paper focuses on how conceptualization affects identification of god classes, i.e., how different people perceive the god class concept. Method: A controlled experiment that extends and builds upon another empirical study about how humans detect god classes [19]. Our study: i) deepens and details some of the research questions of the previous study, ii) introduces a new research question and, iii) when possible, compares the results of both studies. Result: Our findings show that participants have different personal criteria and preferences in choosing drivers to identify god classes. The agreement between participants is not high, which is in accordance with previous studies. Conclusion: This study contributes to expand the empirical data about the human perception of code smells. It also presents a new way to evaluate effort and distraction in experiments through the use of automatic logging of participant actions.

References

[1]
Experimental package:. wiki.dcc.ufba.br/LES/FindingGdoClassExperiment2012.
[2]
A. Conger. Integration and generalisation of Kappas for multiple raters. Psychological Bulletin, 88(88):322--328, 1980.
[3]
C. D. Feinstein A. R. High agreement but low kappa: I. the problems of two paradoxes. Journal of Clinical Epidemiology, 43(6):543--549, 1990.
[4]
R. H. Finn. A note on estimating the reliability of categorical data. Educational and Psychological Measurement, 30:71--76, 1970.
[5]
J. Fleiss et al. Measuring nominal scale agreement among many raters. Psychological Bulletin, 76(5):378--382, 1971.
[6]
M. Fowler. Refactoring: improving the design of existing code. Addison-Wesley Longman Publishing Co., Inc., Boston, MA, USA, 1999.
[7]
K. Gwet. Kappa statistic is not satisfactory for assessing the extent of agreement between raters. Statistical Methods for Inter-rater Reliability..., (1):1--5
[8]
J. R. Landis and G. G. Koch. The measurement of observer agreement for categorical data. Biometrics, 33(1):pp. 159--174, 1977.
[9]
M. Lanza, R. Marinescu, and S. Ducasse. Object-Oriented Metrics in Practice. Springer-Verlag New York, Inc., Secaucus, NJ, USA, 2005.
[10]
W. Li and R. Shatnawi. An empirical study of the bad smells and class error probability in the post-release object-oriented system evolution. J. Syst. Softw., 80(7):1120--1128, July 2007.
[11]
M. Mäntylä. An experiment on subjective evolvability evaluation of object-oriented software: explaining factors and interrater agreement. In ISESE, pages 287--296. IEEE, 2005.
[12]
M. Mäntylä and C. Lassenius. Subjective evaluation of software evolvability using code smells: An empirical study. Empirical Software Engineering, 11(3):395--431, 2006.
[13]
M. Mäntylä, J. Vanhanen, and C. Lassenius. Bad smells - humans as code critics. In ICSM, pages 399--408. IEEE Computer Society, 2004.
[14]
M. V. Mäntylä and C. Lassenius. Drivers for software refactoring decisions. In ISESE, ISESE '06, pages 297--306, New York, NY, USA, 2006. ACM.
[15]
S. Olbrich, D. S. Cruzes, V. Basili, and N. Zazworka. The evolution and impact of code smells: A case study of two open source systems. In ESEM, ESEM '09, pages 390--400, Washington, DC, USA, 2009. IEEE Computer Society.
[16]
S. M. Olbrich, D. S. Cruzes, and D. I. K. Sjoberg. Are all code smells harmful? a study of god classes and brain classes in the evolution of three open source systems. In ICSM, ICSM '10, pages 1--10, Washington, DC, USA, 2010. IEEE Computer Society.
[17]
D. Powers. The Problem with Kappa. EACL 2012, pages 345--355, 2012.
[18]
A. J. Riel. Object-Oriented Design Heuristics. Addison-Wesley Longman Publishing Co., Inc., Boston, MA, USA, 1st edition, 1996.
[19]
J. Schumacher, N. Zazworka, F. Shull, C. Seaman, and M. Shaw. Building empirical support for automated code smell detection. In ESEM, ESEM '10, pages 8:1--8:10, New York, NY, USA, 2010. ACM.
[20]
G. J. Whitehurst. Interrater agreement for journal manuscript review. American Psychologist, 39(1):22--28, 1984.

Cited By

View all
  • (2023)Selection of human evaluators for design smell detection using dragonfly optimization algorithm: An empirical studyInformation and Software Technology10.1016/j.infsof.2022.107120155(107120)Online publication date: Mar-2023
  • (2022)Developers’ perception matters: machine learning to detect developer-sensitive smellsEmpirical Software Engineering10.1007/s10664-022-10234-227:7Online publication date: 12-Oct-2022
  • (2022)Building empirical knowledge on the relationship between code smells and design patterns: An exploratory studyJournal of Software: Evolution and Process10.1002/smr.248734:9Online publication date: 21-Jul-2022
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Other conferences
EASE '13: Proceedings of the 17th International Conference on Evaluation and Assessment in Software Engineering
April 2013
268 pages
ISBN:9781450318488
DOI:10.1145/2460999
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

  • Centro de Informatica - UFPE: Centro de Informatica - UFPE
  • SBC: Brazilian Computer Society
  • CNPq: Conselho Nacional de Desenvolvimento Cientifico e Tecn
  • CAPES: Brazilian Higher Education Funding Council

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 14 April 2013

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. code smell
  2. controlled experiment
  3. god class

Qualifiers

  • Research-article

Conference

EASE '13
Sponsor:
  • Centro de Informatica - UFPE
  • SBC
  • CNPq
  • CAPES

Acceptance Rates

EASE '13 Paper Acceptance Rate 31 of 94 submissions, 33%;
Overall Acceptance Rate 71 of 232 submissions, 31%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)5
  • Downloads (Last 6 weeks)1
Reflects downloads up to 08 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2023)Selection of human evaluators for design smell detection using dragonfly optimization algorithm: An empirical studyInformation and Software Technology10.1016/j.infsof.2022.107120155(107120)Online publication date: Mar-2023
  • (2022)Developers’ perception matters: machine learning to detect developer-sensitive smellsEmpirical Software Engineering10.1007/s10664-022-10234-227:7Online publication date: 12-Oct-2022
  • (2022)Building empirical knowledge on the relationship between code smells and design patterns: An exploratory studyJournal of Software: Evolution and Process10.1002/smr.248734:9Online publication date: 21-Jul-2022
  • (2021)Exploratory study of the impact of project domain and size category on the detection of the God class design smellSoftware Quality Journal10.1007/s11219-021-09550-5Online publication date: 31-Mar-2021
  • (2020)Applying coupling and cohesion concepts in object-oriented software: a controlled experimentProceedings of the XIX Brazilian Symposium on Software Quality10.1145/3439961.3439969(1-10)Online publication date: 1-Dec-2020
  • (2018)CodexComputer Standards & Interfaces10.1016/j.csi.2018.02.00359:C(35-44)Online publication date: 1-Aug-2018
  • (2017)Investigating factors that affect the human perception on god class detection: an analysis based on a family of four controlled experimentsJournal of Software Engineering Research and Development10.1186/s40411-017-0042-05:1Online publication date: 28-Nov-2017
  • (2017)A Comparative Study of Model-Driven Approaches For Scoping and Planning ExperimentsProceedings of the 21st International Conference on Evaluation and Assessment in Software Engineering10.1145/3084226.3084258(78-87)Online publication date: 15-Jun-2017
  • (2017)Smells are sensitive to developers!Proceedings of the 25th International Conference on Program Comprehension10.1109/ICPC.2017.32(110-120)Online publication date: 20-May-2017
  • (2017)A Systematic Literature Review: Code Bad Smells in Java Source CodeComputational Science and Its Applications – ICCSA 201710.1007/978-3-319-62404-4_49(665-682)Online publication date: 15-Jul-2017
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media