Controlling the Attack Surface of Object-Oriented Refactorings

  • Sebastian Ruland
  • , Géza Kulcsár
  • , Erhan Leblebici
  • , Sven Peldszus
  • , Malte Lochau

Publikation: Konference artikel i Proceeding eller bog/rapport kapitelBidrag til bog/antologiForskningpeer review

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.
OriginalsprogEngelsk
TitelInternational Conference on Fundamental Approaches to Software Engineering (FASE) : Lecture Notes in Computer Science
UdgivelsesstedCham, Switzerland
ForlagSpringer Nature Switzerland
Publikationsdato2018
Sider38–55
ISBN (Trykt)978-3-319-89362-4
ISBN (Elektronisk)978-3-319-89363-1
DOI
StatusUdgivet - 2018
Udgivet eksterntJa

Fingeraftryk

Dyk ned i forskningsemnerne om 'Controlling the Attack Surface of Object-Oriented Refactorings'. Sammen danner de et unikt fingeraftryk.

Citationsformater