An ontology-based taxonomy of bad code smells

Yung Pin Cheng, Jiue Ren Liao

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

6 Scopus citations

Abstract

"Bad code smell" or "spaghetti code" is a jargon used among programmers to refer to source code that is diffi-cult to maintain, evolve, and change. We consider them as symptoms of poor software engineering practice. This paper presents an application of concept of ontology to develop a bad code smell taxonomy. We develop a taxonomy hierarchy which categorizes bad code smells from the viewpoints of refactoring. A more formal format is introduced to define the bad code smells more concretely. Besides, the relations among bad code smells, called semantic relations in ontology terms, are explored and established. The ontology can be used for reasoning in other applications.

Original languageEnglish
Title of host publicationProceedings of the 3rd IASTED International Conference on Advances in Computer Science and Technology, ACST 2007
Pages437-442
Number of pages6
StatePublished - 2007
Event3rd IASTED International Conference on Advances in Computer Science and Technology, ACST 2007 - Phuket, Thailand
Duration: 2 Apr 20074 Apr 2007

Publication series

NameProceedings of the 3rd IASTED International Conference on Advances in Computer Science and Technology, ACST 2007

Conference

Conference3rd IASTED International Conference on Advances in Computer Science and Technology, ACST 2007
Country/TerritoryThailand
CityPhuket
Period2/04/074/04/07

Keywords

  • Bad code smells
  • Ontology
  • Refactoring
  • Taxonomy

Fingerprint

Dive into the research topics of 'An ontology-based taxonomy of bad code smells'. Together they form a unique fingerprint.

Cite this