License
when quoting this document, please refer to the following
URN: urn:nbn:de:0030-drops-4907
URL: http://drops.dagstuhl.de/opus/volltexte/2006/490/

Kirk, Douglas ; Roper, Marc ; Walkinshaw, Neil

Using Attribute Slicing to Refactor Large Classes

pdf-format:
Dokument 1.pdf (293 KB)


Abstract

It can often be the case in object-oriented programming that classes bloat, particularly if the represent an ill-formed abstraction. A poorly formed class tends to be formed from disjoint sets of methods and attributes. This can result in a loss of cohesion within the class. Slicing attributes can be used to identify and make explicit the relationships between attributes and the methods that refer to them. This can be a useful tool for identifying code smells and ultimately refactoring. Attribute slicing can also be used to examine the relationships between attributes, as is the case in decomposition slicing. This paper introduces attribute slicing in the context of refactoring bloated classes.

BibTeX - Entry

@InProceedings{kirk_et_al:DSP:2006:490,
  author =	{Douglas Kirk and Marc Roper and Neil Walkinshaw},
  title =	{Using Attribute Slicing to Refactor Large Classes},
  booktitle =	{Beyond Program Slicing},
  year =	{2006},
  editor =	{David W. Binkley and Mark Harman and Jens Krinke},
  number =	{05451},
  series =	{Dagstuhl Seminar Proceedings},
  ISSN =	{1862-4405},
  publisher =	{Internationales Begegnungs- und Forschungszentrum f{\"u}r Informatik (IBFI), Schloss Dagstuhl, Germany},
  address =	{Dagstuhl, Germany},
  URL =		{http://drops.dagstuhl.de/opus/volltexte/2006/490},
  annote =	{Keywords: Refactoring, cohesion, object-oriented slicing}
}

Keywords: Refactoring, cohesion, object-oriented slicing
Seminar: 05451 - Beyond Program Slicing
Issue date: 2006
Date of publication: 07.07.2006


DROPS-Home | Fulltext Search | Imprint Published by LZI