Back to search

University of Saskatchewan

Investigating Technical Debt in Serverless Computing: A Focus on Function-as-a-Service

Abstract

dc:description.abstract

Serverless computing enables developers to write and deploy applications in the cloud without worrying about managing infrastructure. In recent years, there has been a significant increase in the popularity of serverless architectures in software development. Serverless computing offers several advantages for software development, including scalability, faster deployment times, lower costs, and reduced infrastructure management burden. However, there are challenges associated with the nature of serverless architectures compared to their counterpart, "serverful" architectures. Some of the challenges include startup latency, security issues, integration testing, debugging, and monitoring. If not properly addressed during the early stages of development, they cause maintainability issues, eventually leading to Technical Debt (TD). Hence, it is crucial to explore how TD is manifested and can be mitigated in serverless applications, to help researchers and practitioners understand different aspects of TD in serverless environments and be aware of potential issues they may encounter when developing serverless applications. Therefore, in this thesis, we investigate TD in serverless computing and how it can be automatically detected. We conducted three interconnected studies to achieve our goal. First, we explored how TD manifests in serverless computing, using Stack Overflow (SO) as a knowledge source. We developed a binary text classifier to identify the presence of TD in serverless-related discussions on SO. We investigated the types and subtypes of TD in serverless environments, how SO users have addressed TD-related issues, and code smells (potential indicators of TD) present in shared code snippets. Next, we developed a tool, ServLessSense, for detecting serverless-specific smells, using a hybrid method that used pattern-matching with a custom ESLint plugin to identify five serverless smells. Finally, we conducted a survey involving developers who contributed to open-source, publicly available serverless projects on GitHub to evaluate our tool. We analyzed questions related to serverless on SO to identify the prevalence of TD, types and subtypes of TD, and their mitigation strategies. Our analysis shows that nearly 37% of the serverless SO questions are related to TD, with code debt being the most common type. We identified six issues specific to serverless applications. We also analyzed code snippets extracted from SO questions to identify whether they indicate the presence of TD using SonarQube, and we detected the presence of code smells. Our results indicated the need for smell detection tools that are specific to serverless systems. We developed a tool to detect five serverless-specific smells. Our tool features three primary components: smell detection, visualization, and refactoring suggestion generation. We evaluated our tool using five open-source serverless projects to calculate the precision and recall rates of our detection strategies. Additionally, we conducted a survey to assess users' perceptions of our tool. The results of the survey show that participants acknowledged the significance of the serverless smells identified by our tool and viewed it as useful. Most participants indicated that they intend to use ServLessSense in the future. In this thesis, we investigated how TD manifests in serverless computing and identified a lack of tool support for smell detection in serverless application development. We developed ServLessSense, a tool that detects five serverless smells to help developers write clean code. We evaluated the accuracy of the tool using five open-source serverless projects. To evaluate the user perception of our tool, we conducted a survey. Overall, our studies highlight the need for automated detection tools and emphasize the importance of writing and maintaining high-quality software in serverless application development.

Degree

thesis:*
Name thesis:degree_name
Master of Science (M.Sc.)
Level thesis:degree_level
Masters
Discipline thesis:degree_discipline
Computer Science
Department thesis:degree_department
Computer Science
Grantor
University of Saskatchewan
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Jasinghage Dona, Hasini Sumalee Perera
Advisor dc:contributor.advisor
  • Codabux, Zadia
Committee members dc:contributor.committeemember
  • Codabux, Zadia
  • Jamali, Nadeem
  • Deters, Ralph
ORCID person:identifier.orcid

Subjects

dc:subject × 4

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/10388/17345

Chain of custody

source
Harvested from
University of Saskatchewan
Base URL
harvest.usask.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Jasinghage Dona, Hasini Sumalee Perera. Investigating Technical Debt in Serverless Computing: A Focus on Function-as-a-Service. Masters thesis, University of Saskatchewan, 2025. https://hdl.handle.net/10388/17345