Back to search

University of Victoria (Canada)

Detecting and displaying code smells in java programs

Abstract

dc:description.abstract

Code inspection is an effective way to improve software quality. Unfortunately, the high cost in time and labour of code inspection is a deterrent to effective inspection. Providing support for automated code inspection can help maintain good code quality during devel­opment by reducing the cost of inspection. Code smells are a metaphor for describing the negative patterns in code. Although code smells are not errors or bugs in themselves, they indicate areas of the code that may be improved by refactoring. Although code smells originated as a way of determining where to apply refactoring, here we explore how their presence in code can be used as a quality metric. We present an approach for automated code inspection by detecting and visualizing code smells. This approach has been implemented in a prototype tool, jCosmo, that extracts and displays code smell information for Java programs. Finally we describe how this tool was applied in a case study.

Degree

thesis:*
Level thesis:degree_level
Master of Science M.Sc.
Department thesis:degree_department
Department of Computer Science
Year dc:date.issued
2003

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Van Emden, Eva Gertrudis

Rights

dc:rights
Statement dc:rights
  • Available to the World Wide Web

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/1828/19981

Chain of custody

source
Harvested from
University of Victoria (Canada)
Base URL
dspace.library.uvic.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Van Emden, Eva Gertrudis. Detecting and displaying code smells in java programs. Master of Science M.Sc. thesis, 2003. https://hdl.handle.net/1828/19981