Skip to search boxSkip to navigationSkip to main content

Controlling the Attack Surface of Object-Oriented Refactorings

  • Sebastian Ruland
    ,
  • Géza Kulcsár
    ,
  • Erhan Leblebici
    ,
  • ,
  • Malte Lochau
  • Darmstadt University of Technology
    ,
  • University of Koblenz
Research Output:
Conference Article in Proceeding or Book/Report chapter
Book chapter
Peer-review

Open access

Publication Information

Output type

Research Output:
Conference Article in Proceeding or Book/Report chapter
Book chapter
Peer-review

Host publication Subtitle

Lecture Notes in Computer Science

Original language

English

Pages from-to (Number of pages)

Pages 38–55

Publication milestones

  • Published - 2018

Publication status

Published - 2018

Place of publication

Cham, Switzerland

Publisher

Springer Nature Switzerland
978-3-319-89362-4

ISBN (Electronic)

978-3-319-89363-1

Publication IDs

  • ORCID: /0000-0002-2604-0487/work/46023259
  • Scopus: 85045653169

Host publication title

International Conference on Fundamental Approaches to Software Engineering (FASE)

Abstract

Refactorings constitute an effective means to improve quality and maintainability of evolving object-oriented programs. Search-based techniques have shown promising results in finding optimal sequences of behavior-preserving program transformations that (1) maximize code-quality metrics and (2) minimize the number of changes. However, the impact of refactorings on extra-functional properties like security has received little attention so far. To this end, we propose as a further objective to minimize the attack surface of programs (i.e., to maximize strictness of declared accessibility of class members). Minimizing the attack surface naturally competes with applicability of established MoveMethod refactorings for improving coupling/cohesion metrics. Our tool implementation is based on an EMF meta-model for Java-like programs and utilizes MOMoT, a search-based model-transformation framework. Our experimental results gained from a collection of real-world Java programs show the impact of attack surface minimization on design-improving refactorings by using different accessibility-control strategies. We further compare the results to those of existing refactoring tools.

Publication metrics

PlumX, opens in new tab

Captures
3
Citations
10