Skip to main content
eScholarship
Open Access Publications from the University of California

UC Santa Cruz

UC Santa Cruz Electronic Theses and Dissertations bannerUC Santa Cruz

Understanding and Simulating Software Evolution

Creative Commons 'BY' version 4.0 license
Abstract

The important roles of software in modern life have prompted people to study software evolution.

This dissertation takes a scientific perspective to model the dynamics of software evolution, and verify the model by simulation.

Empirical studies of software evolution have discovered many emergent phenomena, such as the power law distributions in different metrics of software systems and the complex network of relationships among software components.

By reviewing the literature, we found similar phenomena in other fields too, as well as generative mechanisms proposed to account for the phenomena.

A model of software evolution that incorporates preferential attachment and self-organized criticality (SOC) is proposed in this thesis research and the simulation runs using this model reproduce several emergent phenomena in software evolution.

To further explore how individual developers' local changes accumulate to produce high-level phenomena, and to explore the possible causes of log-normal behavior at the body of the commit size distribution, we propose another model based on agents to simulate the interaction between developers and a manager.

This simulation shows that power law distributions can emerge from low-level changes without explicit preferential attachment process, and the lower-end of commit size distribution may be shaped by log-normal task size.

This dissertation research reveals that large software changes are inevitable in software evolution, and the change size follows a heavy-tailed distribution, making it very difficult to estimate.

The simulations also show that large changes are not necessarily caused by significant external factors; the power law structure of software systems can also lead to large changes, as part of the power law change size.

Main Content
For improved accessibility of PDF content, download the file to your device.
Current View