Search-based refactoring: metrics are not enough

Simons, C., Singer, J. and White, D. R. (2015) Search-based refactoring: metrics are not enough. Lecture Notes in Computer Science, 9275, pp. 47-61. (doi: 10.1007/978-3-319-22183-0_4)

[img]
Preview
Text
112970.pdf - Accepted Version

299kB

Abstract

Search-based Software Engineering (SBSE) techniques have been applied extensively to refactor software, often based on metrics that describe the object-oriented structure of an application. Recent work shows that in some cases applying popular SBSE tools to open-source software does not necessarily lead to an improved version of the software as assessed by some subjective criteria. Through a survey of professionals, we investigate the relationship between popular SBSE refactoring metrics and the subjective opinions of software engineers. We find little or no correlation between the two. Through qualitative analysis, we find that a simple static view of software is insufficient to assess software quality, and that software quality is dependent on factors that are not amenable to measurement via metrics. We recommend that future SBSE refactoring research should incorporate information about the dynamic behaviour of software, and conclude that a human-in-the-loop approach may be the only way to refactor software in a manner helpful to an engineer.

Item Type:Articles
Status:Published
Refereed:Yes
Glasgow Author(s) Enlighten ID:White, Dr David and Singer, Dr Jeremy
Authors: Simons, C., Singer, J., and White, D. R.
College/School:College of Science and Engineering > School of Computing Science
Journal Name:Lecture Notes in Computer Science
Publisher:Springer
ISSN:0302-9743
Copyright Holders:Copyright © 2015 Springer International Publishing Switzerland
First Published:First published in Lecture Notes in Computer Science 9275:47-61
Publisher Policy:Reproduced in accordance with the copyright policy of the publisher.

University Staff: Request a correction | Enlighten Editors: Update this record