UCL Discovery
UCL home » Library Services » Electronic resources » UCL Discovery

An Empirical Study of Cohesion and Coupling: Balancing Optimisation and Disruption

Paixao, M; Harman, M; Zhang, Y; Yu, Y; (2018) An Empirical Study of Cohesion and Coupling: Balancing Optimisation and Disruption. IEEE Transactions on Evolutionary Computation , 22 (3) pp. 394-414. 10.1109/TEVC.2017.2691281. Green open access

[thumbnail of Paixao_Empirical_study_cohesion.pdf]
Preview
Text
Paixao_Empirical_study_cohesion.pdf - Accepted Version

Download (1MB) | Preview

Abstract

Search based software engineering has been extensively applied to the problem of finding improved modular structures that maximise cohesion and minimise coupling. However, there has, hitherto, been no longitudinal study of developers’ implementations, over a series of sequential releases. Moreover, results validating whether developers respect the fitness functions are scarce, and the potentially disruptive effect of search-based re-modularisation is usually overlooked. We present an empirical study of 233 sequential releases of 10 different systems; the largest empirical study reported in the literature so far, and the first longitudinal study. Our results provide evidence that developers do, indeed, respect the fitness functions used to optimise cohesion/coupling (they are statistically significantly better than arbitrary choices with p << 0:01), yet they also leave considerable room for further improvement (cohesion/coupling can be improved by 25% on average). However, we also report that optimising the structure is highly disruptive (on average more than 57% of the structure must change), while our results reveal that developers tend to avoid such disruption. Therefore, we introduce and evaluate a multiobjective evolutionary approach that minimises disruption while maximising cohesion/coupling improvement. This allows developers to balance reticence to disrupt existing modular structure, against their competing need to improve cohesion and coupling. The multiobjective approach is able to find modular structures that improve the cohesion of developers’ implementations by 22.52%, while causing an acceptably low level of disruption (within that already tolerated by developers).

Type: Article
Title: An Empirical Study of Cohesion and Coupling: Balancing Optimisation and Disruption
Open access status: An open access version is available from UCL Discovery
DOI: 10.1109/TEVC.2017.2691281
Publisher version: https://doi.org/10.1109/TEVC.2017.2691281
Language: English
Additional information: This version is the author accepted manuscript. For information on re-use, please refer to the publisher’s terms and conditions.
Keywords: software modularisation, software evolution, multiobjective search, Couplings, Measurement, Software engineering, Software systems, Evolutionary computation, Optimization
UCL classification: UCL
UCL > Provost and Vice Provost Offices > UCL BEAMS
UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science
UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science > Dept of Computer Science
URI: https://discovery.ucl.ac.uk/id/eprint/1576532
Downloads since deposit
297Downloads
Download activity - last month
Download activity - last 12 months
Downloads by country - last 12 months

Archive Staff Only

View Item View Item