Work

Dependency cycles in software systems : quality issues and opportunities for refactoring

Year: 2015
Type: dissertation
Abstract: Society, systems and related businesses are increasingly dependent on software applications,\nwhich are integrated and interoperate with other systems. This dependency has implications for\nthe dependability of both the systems and the businesses. There have been reported cases over\nthe years of both systems and business failures due to software defects. However, the work and\neffort needed to correct defects is not trivial. This involves changing existing applications,\nwhich may be overly complex in their structure. Software undergoes constant evolution due to\nchanges in the business environment such as introduction of new technology or new\nrequirements. It is therefore not surprising that the cost of software maintenance is normally\nestimated to be the highest in the overall software budget. As the software evolves, so does its\nsize and complexity.\nOne aspect of software complexity is dependency cycles that are formed among software classes\nand packages. Many design guidelines advocate to avoid dependency cycles and argue that they\ninhibit software quality. Despite this conventional wisdom, empirical evidence shows that\nmodern software indeed is riddled with this anti-pattern. The question remains that if cyclic\nproperty is known to be complex and is pervasive in software applications, how does it relate to\ndefects and change in general, and what can be done to improve efforts to mitigate it?\nThis thesis investigates dependency cycles among software components; an aspect of software\nstructural complexity, to find how such properties correlate with defect measures and change\nrates, and how this knowledge can motivate to refactor and improve these possible defects\nhotspots in affected systems. The two main research questions to achieve these objectives are\nstated as follows:\nRQ1. What is the effect of dependency cycles on external quality measures of software\nsystems?\nRQ2. How to refactor dependency cycle to impact the structural quality and reduce\nrefactoring efforts?\nThis work contributes mainly to improvement in software quality (maintainability and\nindirectly, reliability) and software metrics. The following are the three major contributions of\nthis thesis:\nC1. Better understanding of how to utilize different defect metrics to improve software quality\nC2. Identification of the impact of dependency cycles on software quality\nC2-1: Identification of dependency cycles and neighbourhood as defect hotspots in software\nsystems\nC2-2: Better understanding of the change impact of dependency cycles\nC3. Tool and metrics to refactor defect- and change-prone hotspots in dependency cycles\nC3-1: Added metrics to understand the complexity of components and improve the\nrefactoring of cyclically dependent components\nC3-2: A cycle breaking decision support system to refactor cyclically connected\ncomponents
Language: English
Open Access status: green
OpenAlex ID: W2487602688
Cites: 179
Cited by: 1
Related to: 10