Using Attribute Slicing to Refactor Large Classes

Authors Douglas Kirk, Marc Roper, Neil Walkinshaw



PDF
Thumbnail PDF

File

DagSemProc.05451.10.pdf
  • Filesize: 293 kB
  • 12 pages

Document Identifiers

Author Details

Douglas Kirk
Marc Roper
Neil Walkinshaw

Cite As Get BibTex

Douglas Kirk, Marc Roper, and Neil Walkinshaw. Using Attribute Slicing to Refactor Large Classes. In Beyond Program Slicing. Dagstuhl Seminar Proceedings, Volume 5451, pp. 1-12, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2006) https://doi.org/10.4230/DagSemProc.05451.10

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.

Subject Classification

Keywords
  • Refactoring
  • cohesion
  • object-oriented slicing

Metrics

  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    0
    PDF Downloads
Questions / Remarks / Feedback
X

Feedback for Dagstuhl Publishing


Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail