Back to search

Nanyang Technological University

A fact-based approach to software evolution

Abstract

dc:description.abstract

With the proliferation of software systems in everyday life and critical infrastructures, managing their evolution and compatibility is imperative. These software systems comprise various components, often created by different entities, that evolve independently. This evolutionary trajectory introduces complexities and potential incompatibilities, especially in an environment influenced by third-party libraries and decentralized appli- cations like smart contracts. This thesis hope to shed light on techniques and tools to address the challenges of software evolution and study unanswered research questions such as client-specific incompatibilities. We firstly introduce the concept of a differential factbase, an analysis platform centered on differential facts. This platform serves as a uniform,exchangeable representation for efficient querying, manipulation, and tracking of software evolution, viewing program changes as primary objects. It forms the foundation for managing software evolution by capturing both intra-version and inter-version facts. We implement a series of differential fact extractors supporting different programming languages and platforms, and demonstrate with usage scenarios the benefits of adopting differential facts in supporting software evolution management. Having verified the usability and efficiency of differential factbase,we then show the development of EvoMe. Harnessing the power of the differential factbase, EvoMe provides a query language for prototyping tools that assist in software evolution management tasks like regression test selection. After the successful implementation of the fact-driven approach in certain applications, we shift our focus to the growing significance of smart contracts. Recognizing the importance of API documentation in the development of smart contracts, this work introduces DocCon, a technique adept at identifying inconsistencies between documentation and corresponding Solidity smart contract library code. By utilizing the fact-based approach, this technique proficiently detects errors in API documentations, helping developers comprehend correct API usages and maintaining high-quality documentations. Finally, we dive deep into the repercussions of third-party library upgrades on client systems. By understanding failures instigated by these upgrades, this research illuminates how diverse clients react distinctively to the same library upgrade. It underscores the significance of client- specific usage in determining upgrade outcomes and the challenges posed by upgrade failures.

Degree

thesis:*
College dc:contributor.school
School of Computer Science and Engineering
Grantor dc:publisher
Nanyang Technological University
Year dc:date.issued
2024

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Wu, Xiuheng
Advisor dc:contributor.supervisor
  • Li Yi (SCSE)

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).
Language dc:language.iso
en

Identifiers

dc:identifier.*
Dc Identifier Citation
Wu, X. (2024). A fact-based approach to software evolution. Doctoral thesis, Nanyang Technological University, Singapore. https://hdl.handle.net/10356/173902

Chain of custody

source
Harvested from
Nanyang Technological University
Base URL
dr.ntu.edu.sg/oai/request
Last updated
2026-11-29
Source record
OAI-PMH GetRecord
citation

Wu, Xiuheng. A fact-based approach to software evolution. Nanyang Technological University, 2024. https://doi.org/10.32657/10356/173902