When quoting this document, please refer to the following
DOI: 10.4230/DagSemProc.05451.10
URN: urn:nbn:de:0030-drops-4907
Go to the corresponding Portal

Kirk, Douglas ; Roper, Marc ; Walkinshaw, Neil

Using Attribute Slicing to Refactor Large Classes

05451.WalkinshawNeil.Paper.490.pdf (0.3 MB)


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

  author =	{Kirk, Douglas and Roper, Marc and Walkinshaw, Neil},
  title =	{{Using Attribute Slicing to Refactor Large Classes}},
  booktitle =	{Beyond Program Slicing},
  pages =	{1--12},
  series =	{Dagstuhl Seminar Proceedings (DagSemProc)},
  ISSN =	{1862-4405},
  year =	{2006},
  volume =	{5451},
  editor =	{David W. Binkley and Mark Harman and Jens Krinke},
  publisher =	{Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
  address =	{Dagstuhl, Germany},
  URL =		{},
  URN =		{urn:nbn:de:0030-drops-4907},
  doi =		{10.4230/DagSemProc.05451.10},
  annote =	{Keywords: Refactoring, cohesion, object-oriented slicing}

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

DROPS-Home | Fulltext Search | Imprint | Privacy Published by LZI